Batch axis events all the way into ControlMapper

This commit is contained in:
Henrik Rydgård committed 2023-09-29 11:14:19 +02:00
1 parent b3a2b7a35c
commit ee93e4a2ca
9 files changed
+37 -33

No files matched your search

+2 -2
View File
@@ -865,9 +865,9 @@ bool EmuScreen::key(const KeyInput &key) {
return retval;
}
void EmuScreen::UnsyncAxis(const AxisInput &axis) {
void EmuScreen::UnsyncAxis(const AxisInput *axes, size_t count) {
System_Notify(SystemNotification::ACTIVITY);
return controlMapper_.Axis(axis);
return controlMapper_.Axis(axes, count);
}
class GameInfoBGView : public UI::InertView {