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
Unknown W. Brackets
92d0454133
UI: Make chatButton_ a member of EmuScreen.
...
No need for a global here. This should prevent any confusion if the
screen is deleted (i.e. playing a second game.)
2021-02-15 20:37:24 -08:00
Unknown W. Brackets
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08:00
Unknown W. Brackets
97b9518929
UI: Prevent self-powerdown check on load new game.
...
Sometimes, when loading a new game or dump while an existing one is
running, we'd detect the "powerdown" and force back to the menu.
This was a race condition.
2021-01-07 23:16:17 -08:00
Henrik Rydgård
dee953af89
Fix layout problem on crash screen. Fixes #13808
2020-12-25 10:40:54 +01:00
Henrik Rydgård
6c8ee35826
Crash screen: Add a very dangerous and inaccurate "Resume" function.
...
Not sure if there's much point really but maybe..
2020-12-19 20:27:39 +01:00
Henrik Rydgård
a550aacf96
Further improvements to crash screen
2020-12-19 20:08:48 +01:00
Henrik Rydgård
bc3ee5a60d
Fix bluescreen layout on notched phones
2020-12-19 19:53:53 +01:00
Henrik Rydgård
ac6715baa9
Improvements to crash screen.
...
Part of #13299
Use the new tests/cpu/crash tests in pspautotest to test this code
(manually).
2020-12-19 19:48:24 +01:00
Henrik Rydgård
1640a39de8
Add developer setting "Show on screen messages". Uncheck to hide them.
...
Fixes #13682 .
Might move to system settings or something next release, don't want to
cause a mess in translations.
2020-11-22 19:08:14 +01:00