Henrik Rydgård
d523005c2b
Cleanup
2023-04-01 19:02:20 +02:00
Henrik Rydgård
0e1c42ce70
Plumb multimappings all the way through.
2023-04-01 13:50:57 +02:00
Henrik Rydgård
f3012f6914
Break out the signed->unsigned axis mapping
2023-04-01 09:07:29 +02:00
Henrik Rydgård
0b574613b9
Address assorted feedback
2023-04-01 09:01:27 +02:00
Henrik Rydgård
04321284c0
Remove redundant callback
2023-04-01 08:57:42 +02:00
Henrik Rydgård
9804a905c8
More tweaks (work around the old problem where lingering analog values biased the digital input)
2023-03-31 20:27:30 +02:00
Henrik Rydgård
48993f4f4b
Control: Add debug display, do assorted fixes.
2023-03-31 20:12:48 +02:00
Henrik Rydgård
025ec248e4
Don't need two SetCallback functions.
2023-03-31 11:11:46 +02:00
Henrik Rydgård
778d9ac5ca
Handle mapping signed axis to our only unsigned input, VIRTKEY_SPEED_ANALOG.
2023-03-31 11:05:33 +02:00
Henrik Rydgård
ea60ff2235
Add missing locking to control mapper
2023-03-31 11:05:33 +02:00
Henrik Rydgård
88e89653b1
Bring back zeroing of the opposite direction.
2023-03-31 11:05:33 +02:00
Henrik Rydgård
fa0fb6eee6
Rework and simplify VIRTKEY_SPEED_ANALOG
2023-03-31 11:05:33 +02:00
Henrik Rydgård
ca300a4dfd
More callback fixes
2023-03-31 11:05:33 +02:00
Henrik Rydgård
7dfa587fe2
Remove in/out function arguments
2023-03-31 11:05:33 +02:00
Henrik Rydgård
526b4f782d
Fixes, add callback for analog virtual keys
...
Some fixes
2023-03-31 11:05:33 +02:00
Henrik Rydgård
8dabcaea7d
Enable virtual key mappings in UpdatePSPState
2023-03-31 11:05:32 +02:00
Henrik Rydgård
38f4cc4cc9
Make reverse mapping lookup work for the simple PSP buttons.
2023-03-31 11:05:29 +02:00
Henrik Rydgård
2814668cf5
Show a MIPS stack trace on crash screen ( #17211 )
...
* Print simple stack traces to log on crashes.
* Display stack traces on crash screen
* Show the in-function offset in the printed callstacks.
* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Henrik Rydgård
26bf40c497
ControlMapper: Change the callbacks to be more suitable for the upcoming refactor. ( #17209 )
...
* ControlMapper: Change the callbacks to be more suitable for the upcoming refactor.
* SetAllButtons: Separate bits to set and bits to clear.
* Oops, missed committing some files somehow
2023-03-30 10:47:28 +02:00
Henrik Rydgård
d00809ae53
Rename KeyDef to InputMapping and give it responsibility for Axis encoding
2023-03-29 11:59:31 +02:00
Henrik Rydgård
a4bfb83982
Some more renaming
2023-03-28 00:23:18 +02:00
Henrik Rydgård
534896d2ab
ControlMapper: Allow overriding PSP button event handling through a callback.
2023-03-28 00:23:18 +02:00
Henrik Rydgård
07114c6aaf
Remove return value from axis functions in API
2023-01-10 10:12:37 +01:00
Henrik Rydgård
75040f0cb1
Remove some logspam, oops
2022-11-24 12:47:13 +01:00
Henrik Rydgård
5230fc7c41
Joystick input: Ignore in-deadzone events from a different device than previous events
...
Fixes #15465
2022-11-23 12:22:59 +01:00