(Input) Get rid of unused devices_size

This commit is contained in:
twinaphex 2014-08-14 00:56:40 +02:00
parent fab7792058
commit 12c0311f04
14 changed files with 0 additions and 25 deletions

View File

@ -268,7 +268,6 @@ typedef struct input_driver
bool (*set_sensor_state)(void *data, unsigned port, enum retro_sensor_action action, unsigned rate);
float (*get_sensor_input)(void *data, unsigned port, unsigned id);
uint64_t (*get_capabilities)(void *data);
unsigned (*devices_size)(void *data);
const char *ident;
void (*grab_mouse)(void *data, bool state);

View File

@ -808,7 +808,6 @@ const input_driver_t input_android = {
android_input_set_sensor_state,
android_input_get_sensor_input,
android_input_get_capabilities,
NULL,
"android_input",
NULL,

View File

@ -618,13 +618,6 @@ static uint64_t apple_input_get_capabilities(void *data)
return caps;
}
#ifdef IOS
static unsigned apple_devices_size(void *data)
{
return DEVICE_LAST;
}
#endif
const rarch_joypad_driver_t *apple_get_joypad_driver(void *data)
{
return joypad;
@ -639,11 +632,6 @@ const input_driver_t input_apple = {
NULL,
NULL,
apple_input_get_capabilities,
#ifdef IOS
apple_devices_size,
#else
NULL,
#endif
"apple_input",
NULL,
apple_input_set_rumble,

View File

@ -566,7 +566,6 @@ const input_driver_t input_dinput = {
NULL,
NULL,
dinput_get_capabilities,
NULL,
"dinput",
dinput_grab_mouse,

View File

@ -538,7 +538,6 @@ const input_driver_t input_gx = {
NULL,
NULL,
gx_input_get_capabilities,
NULL,
"gx",
NULL,

View File

@ -246,7 +246,6 @@ const input_driver_t input_linuxraw = {
NULL,
NULL,
linuxraw_get_capabilities,
NULL,
"linuxraw",
NULL,
linuxraw_set_rumble,

View File

@ -361,7 +361,6 @@ const input_driver_t input_ps3 = {
ps3_input_set_sensor_state,
NULL,
ps3_input_get_capabilities,
NULL,
"ps3",
NULL,

View File

@ -174,7 +174,6 @@ const input_driver_t input_psp = {
NULL,
NULL,
psp_input_get_capabilities,
NULL,
"psp",
NULL,

View File

@ -834,7 +834,6 @@ const input_driver_t input_qnx = {
NULL,
NULL,
qnx_input_get_capabilities,
NULL,
"qnx_input",
NULL,
NULL,

View File

@ -189,7 +189,6 @@ const input_driver_t input_rwebinput = {
NULL,
NULL,
rwebinput_get_capabilities,
NULL,
"rwebinput",
rwebinput_grab_mouse,
};

View File

@ -336,7 +336,6 @@ const input_driver_t input_sdl = {
NULL,
NULL,
sdl_get_capabilities,
NULL,
#ifdef HAVE_SDL2
"sdl2",
sdl_grab_mouse,

View File

@ -828,7 +828,6 @@ const input_driver_t input_udev = {
NULL,
NULL,
udev_input_get_capabilities,
NULL,
"udev",
udev_input_grab_mouse,
udev_input_set_rumble,

View File

@ -329,7 +329,6 @@ const input_driver_t input_x = {
NULL,
NULL,
x_input_get_capabilities,
NULL,
"x",
x_grab_mouse,
x_set_rumble,

View File

@ -277,7 +277,6 @@ const input_driver_t input_xinput =
NULL,
NULL,
xdk_input_get_capabilities,
NULL,
"xinput",
NULL,