mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
Remove some references to accelerometer stuff.
This commit is contained in:
parent
689aecfec4
commit
87818e0326
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user