mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 21:46:23 +02:00
Disable accelerometer as axis, fix some omissions in KeyMap (doesn't actually autoload all those maps yet)
This commit is contained in:
1 parent
8028ff7f12
commit
47ac6c02fc
3 files changed
+36
-1
No files matched your search
@@ -598,6 +598,10 @@ void NativeKey(const KeyInput &key) {
|
||||
}
|
||||
|
||||
void NativeAxis(const AxisInput &key) {
|
||||
if (key.axisId >= JOYSTICK_AXIS_ACCELEROMETER_X && key.axisId <= JOYSTICK_AXIS_ACCELEROMETER_Z) {
|
||||
// Disable accelerometer as an axis for now.
|
||||
return;
|
||||
}
|
||||
if (screenManager)
|
||||
screenManager->axis(key);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user