Commit graph

507 commits

Author SHA1 Message Date
Unknown W. Brackets
c15c4a6967 UI: Add analog speed limit mapping.
Only shows up as a setting if mapped, to avoid cluttering settings.
2022-07-04 19:14:05 -07:00
Unknown W. Brackets
1b2b443a03 UI: Abandon focus movement on returning from pause.
See #15530.
2022-05-29 11:20:41 -07:00
iota97
e93cccf607 Add key bind to hotswap internal screen rotation 2022-04-23 08:52:51 +02:00
Unknown W. Brackets
b71f17586e Switch: Avoid loading Vulkan. 2022-04-02 16:34:13 -07:00
iota97
5cf6621191 Show game crashed 2022-02-24 12:25:04 +01:00
Unknown W. Brackets
48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
ad2e380987 Display: Move listeners to separate HW file.
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Henrik Rydgård
e10b53def3 Fix an ordering issue causing us to hit some asserts 2021-12-10 21:00:45 +01:00
iota97
c9deeae6f1 Prevent chat menu touch to fall throght 2021-11-19 16:12:26 +01:00
Unknown W. Brackets
a871550d32 UI: Switch to font texture for debug stats. 2021-11-15 07:04:17 -08:00
Henrik Rydgård
4161b500ab
Merge pull request #15021 from unknownbrackets/ui-font-atlas
UI: Support a second texture for just fonts
2021-11-09 22:51:09 +01:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
Unknown W. Brackets
eb81d5b30b UI: Support a second texture for just fonts.
Will still allow using fonts between both.
2021-10-19 10:01:17 -07:00
Unknown W. Brackets
5884a2201d UI: Disable focus movement on game start.
Otherwise, dev tools or chat remain usable while trying to play the game.
This was an unintentional bug from chat UI refactoring.
2021-10-08 09:23:22 -07:00
Unknown W. Brackets
fd58172417 UI: Allow cancel mapped to a letter in chat. 2021-09-27 10:42:24 -07:00
Unknown W. Brackets
2a4f8c57bc UI: Grow chat button based on text width. 2021-09-24 08:21:33 -07:00
Henrik Rydgård
f8ab243167
Merge pull request #14860 from unknownbrackets/ui-chat-enable
Disable auto-enable chat on ctrl-c, fix enabling
2021-09-15 18:36:10 +02:00
Unknown W. Brackets
433daf1ee8 UI: Oops, remove silly mistake.
Of course, I meant to keep showing the new messages.
2021-09-15 00:24:06 -07:00
Unknown W. Brackets
75f5c75045 Windows: Disable auto-enable chat on Ctrl-C.
It's annoying when this triggers unexpectedly.  Sometimes it happens when
using debug windows.
2021-09-15 00:15:27 -07:00
Unknown W. Brackets
cf045dfbbc UI: When enabling chat, recreate views.
Otherwise, the chat button doesn't show right away.
Fixes #13090.
2021-09-14 23:56:45 -07:00
Unknown W. Brackets
9403947b67 UI: Decouple new chat display and tracking logic. 2021-09-14 18:08:16 -07:00
Unknown W. Brackets
40c233fa77 UI: Update flags more correctly in chat.
Not the ideal interface here, though...
2021-09-12 20:20:17 -07:00
Unknown W. Brackets
6b107a884b UI: Cleanup input box for chat. 2021-09-12 20:16:05 -07:00
Unknown W. Brackets
f45c5186ca UI: Move the chat message box to just a view.
Instead of being a popup.  This should make it easier to make sure things
work normally, and avoids some of the strange overrides of PopupScreen it
previously had.
2021-09-12 19:44:44 -07:00
Unknown W. Brackets
96fd29c86f UI: Allow UI keys on emuscreen of focused.
This is only if you already focus something.
2021-09-12 19:41:47 -07:00
Henrik Rydgård
58e7b6bec2 Tweak defaults some more (no L2 on xbox pads..). Minor code cleanup. 2021-08-28 20:06:05 +02:00
iota97
c302ebdd83 Allow no chat button and make quickchat settings disabled when chat is not enabled 2021-08-20 00:03:42 +02:00
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Henrik Rydgård
aa3daca293 If it's a TV and VIRTKEY_PAUSE is not mapped to a pad control, pause on app switch. 2021-08-12 00:02:19 +02:00
Henrik Rydgård
81b4c3b376 Auto-pause on app switch. Will be made conditional in the next commit. 2021-08-11 23:31:51 +02:00
Unknown W. Brackets
75eeb55617 UI: Use a UIState for exceptions.
This makes it so we can enable Stop/Reset/etc. during them in the menus.
2021-08-08 23:40:41 -07:00
Unknown W. Brackets
eb8a239616 UI: Show a reset button on the crash screen. 2021-08-08 23:03:19 -07:00
iota97
498878267a Customizable touch control (rebased with label) 2021-07-11 09:55:25 +02:00
Henrik Rydgård
ef51097f06 Move auto-rotation code to ControlMapper so it can be checked using the new screen 2021-07-09 16:14:51 +02:00
Henrik Rydgård
42f7ab7341 Hide the calls to ConvertAnalogStick inside ControlMapper. 2021-07-09 11:01:56 +02:00
Henrik Rydgård
fac4c2a90b Move the internal screen rotation compensation to after value mapping. 2021-07-09 10:52:48 +02:00
Henrik Rydgård
cd8cfcfcd7 Merge __CtrlSetAnalogX/Y into one function. Always called together. 2021-07-09 10:41:26 +02:00
Henrik Rydgård
7eaa687140 Move the joystick deadzone processing until after all the mapping. 2021-07-09 00:07:55 +02:00
Henrik Rydgård
98372c465f Break out EmuScreen's key/axis inputs to ControlMapper.cpp/h
Additionally, break out the analog stick mapping to the same file.

This will make more sense soon when I change where the analog mapping
is called from, but want this refactor in separately for testing.
2021-07-08 22:24:00 +02:00
Unknown W. Brackets
b74ecd5fa0 SaveState: Use Path instead of strings. 2021-05-14 23:00:22 -07:00
Henrik Rydgård
47039b4bcd Address all the easy feedback. Some is left. 2021-05-13 10:39:17 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
a40bb2eaa1 headless: Avoid empty string compares for mountIso. 2021-05-09 17:24:04 -07:00
Unknown W. Brackets
63edd037d7 Ctrl: Apply analog limiter to real sticks too.
Previously only applied to virtual analog by button, but there's no
particular good reason for that.
2021-05-08 13:34:07 -07:00
Henrik Rydgård
e2e1c677cb GameInfoCache: Don't expose the workqueue.
Was unused anyway.
2021-04-30 23:04:24 -07:00
Unknown W. Brackets
5102d3e621 UI: Change background when dangerous settings on.
This way it's more obvious when a setting is likely involved.
2021-04-24 19:09:08 -07:00
Unknown W. Brackets
08461ef0bc UI: Show cheats and plugins on exceptions. 2021-04-24 19:08:39 -07:00
Henrik Rydgård
5dc36abbf7 Couple warning fixes. 2021-03-09 00:09:36 +01:00
Unknown W. Brackets
3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Unknown W. Brackets
237c8dec50 UI: Consider chat for visible UI.
Otherwise we might fail to bind a framebuf and crash.
2021-02-15 20:38:11 -08:00