mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-27 20:15:32 +00:00
Also disable some weird axis events we get on Ouya from mapping.
This commit is contained in:
parent
5f2954bc69
commit
a387f6dd8b
@ -264,12 +264,20 @@ void KeyMappingNewKeyDialog::key(const KeyInput &key) {
|
||||
}
|
||||
|
||||
void KeyMappingNewKeyDialog::axis(const AxisInput &axis) {
|
||||
// Ignore the accelerometer for mapping for now.
|
||||
switch (axis.axisId) {
|
||||
// Ignore the accelerometer for mapping for now.
|
||||
case JOYSTICK_AXIS_ACCELEROMETER_X:
|
||||
case JOYSTICK_AXIS_ACCELEROMETER_Y:
|
||||
case JOYSTICK_AXIS_ACCELEROMETER_Z:
|
||||
return;
|
||||
|
||||
// Also ignore some weird axis events we get on Ouya.
|
||||
case JOYSTICK_AXIS_OUYA_UNKNOWN1:
|
||||
case JOYSTICK_AXIS_OUYA_UNKNOWN2:
|
||||
case JOYSTICK_AXIS_OUYA_UNKNOWN3:
|
||||
case JOYSTICK_AXIS_OUYA_UNKNOWN4:
|
||||
return;
|
||||
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user