mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
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
This commit is contained in:
1 parent
d65afcc7f0
commit
26bf40c497
8 files changed
+171
-182
No files matched your search
@@ -449,8 +449,8 @@ void KeyMappingNewMouseKeyDialog::axis(const AxisInput &axis) {
|
||||
|
||||
AnalogSetupScreen::AnalogSetupScreen(const Path &gamePath) : UIDialogScreenWithGameBackground(gamePath) {
|
||||
mapper_.SetCallbacks(
|
||||
[](int vkey) {},
|
||||
[](int vkey) {},
|
||||
[](int vkey, bool down) {},
|
||||
[&](uint32_t bitsToSet, uint32_t bitsToClear) {},
|
||||
[&](int button, bool down) {},
|
||||
[&](int stick, float x, float y) {
|
||||
analogX_[stick] = x;
|
||||
|
||||
Reference in new issue
Block a user