Remove some references to accelerometer stuff.

This commit is contained in:
Themaister 2014-01-20 17:09:31 +01:00
parent 689aecfec4
commit 87818e0326
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}