diff --git a/android/native/jni/input_android.c b/android/native/jni/input_android.c index a0e4925ce0..1959dab902 100644 --- a/android/native/jni/input_android.c +++ b/android/native/jni/input_android.c @@ -2006,7 +2006,6 @@ static uint64_t android_input_get_capabilities(void *data) caps |= (1 << RETRO_DEVICE_JOYPAD); caps |= (1 << RETRO_DEVICE_POINTER); caps |= (1 << RETRO_DEVICE_ANALOG); - caps |= (1 << RETRO_DEVICE_SENSOR_ACCELEROMETER); return caps; } diff --git a/ps3/ps3_input.c b/ps3/ps3_input.c index 22abadd411..fe2bdd2f09 100644 --- a/ps3/ps3_input.c +++ b/ps3/ps3_input.c @@ -378,6 +378,7 @@ static int16_t ps3_input_state(void *data, const struct retro_keybind **binds, return input_joypad_pressed(&ps3_joypad, port, binds[port], id); case RETRO_DEVICE_ANALOG: return input_joypad_analog(&ps3_joypad, port, index, id, binds[port]); +#if 0 case RETRO_DEVICE_SENSOR_ACCELEROMETER: switch (id) { @@ -395,6 +396,7 @@ static int16_t ps3_input_state(void *data, const struct retro_keybind **binds, retval = 0; } break; +#endif #ifdef HAVE_MOUSE case RETRO_DEVICE_MOUSE: retval = ps3_mouse_device_state(data, port, id); @@ -450,7 +452,6 @@ static uint64_t ps3_input_get_capabilities(void *data) caps |= (1 << RETRO_DEVICE_MOUSE); #endif caps |= (1 << RETRO_DEVICE_ANALOG); - caps |= (1 << RETRO_DEVICE_SENSOR_ACCELEROMETER); return caps; }