mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(Input) Get rid of unused devices_size
This commit is contained in:
parent
fab7792058
commit
12c0311f04
1
driver.h
1
driver.h
@ -268,7 +268,6 @@ typedef struct input_driver
|
|||||||
bool (*set_sensor_state)(void *data, unsigned port, enum retro_sensor_action action, unsigned rate);
|
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);
|
float (*get_sensor_input)(void *data, unsigned port, unsigned id);
|
||||||
uint64_t (*get_capabilities)(void *data);
|
uint64_t (*get_capabilities)(void *data);
|
||||||
unsigned (*devices_size)(void *data);
|
|
||||||
const char *ident;
|
const char *ident;
|
||||||
|
|
||||||
void (*grab_mouse)(void *data, bool state);
|
void (*grab_mouse)(void *data, bool state);
|
||||||
|
@ -808,7 +808,6 @@ const input_driver_t input_android = {
|
|||||||
android_input_set_sensor_state,
|
android_input_set_sensor_state,
|
||||||
android_input_get_sensor_input,
|
android_input_get_sensor_input,
|
||||||
android_input_get_capabilities,
|
android_input_get_capabilities,
|
||||||
NULL,
|
|
||||||
"android_input",
|
"android_input",
|
||||||
|
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -618,13 +618,6 @@ static uint64_t apple_input_get_capabilities(void *data)
|
|||||||
return caps;
|
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)
|
const rarch_joypad_driver_t *apple_get_joypad_driver(void *data)
|
||||||
{
|
{
|
||||||
return joypad;
|
return joypad;
|
||||||
@ -639,11 +632,6 @@ const input_driver_t input_apple = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
apple_input_get_capabilities,
|
apple_input_get_capabilities,
|
||||||
#ifdef IOS
|
|
||||||
apple_devices_size,
|
|
||||||
#else
|
|
||||||
NULL,
|
|
||||||
#endif
|
|
||||||
"apple_input",
|
"apple_input",
|
||||||
NULL,
|
NULL,
|
||||||
apple_input_set_rumble,
|
apple_input_set_rumble,
|
||||||
|
@ -566,7 +566,6 @@ const input_driver_t input_dinput = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
dinput_get_capabilities,
|
dinput_get_capabilities,
|
||||||
NULL,
|
|
||||||
"dinput",
|
"dinput",
|
||||||
|
|
||||||
dinput_grab_mouse,
|
dinput_grab_mouse,
|
||||||
|
@ -538,7 +538,6 @@ const input_driver_t input_gx = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
gx_input_get_capabilities,
|
gx_input_get_capabilities,
|
||||||
NULL,
|
|
||||||
"gx",
|
"gx",
|
||||||
|
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -246,7 +246,6 @@ const input_driver_t input_linuxraw = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
linuxraw_get_capabilities,
|
linuxraw_get_capabilities,
|
||||||
NULL,
|
|
||||||
"linuxraw",
|
"linuxraw",
|
||||||
NULL,
|
NULL,
|
||||||
linuxraw_set_rumble,
|
linuxraw_set_rumble,
|
||||||
|
@ -361,7 +361,6 @@ const input_driver_t input_ps3 = {
|
|||||||
ps3_input_set_sensor_state,
|
ps3_input_set_sensor_state,
|
||||||
NULL,
|
NULL,
|
||||||
ps3_input_get_capabilities,
|
ps3_input_get_capabilities,
|
||||||
NULL,
|
|
||||||
"ps3",
|
"ps3",
|
||||||
|
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -174,7 +174,6 @@ const input_driver_t input_psp = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
psp_input_get_capabilities,
|
psp_input_get_capabilities,
|
||||||
NULL,
|
|
||||||
"psp",
|
"psp",
|
||||||
|
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -834,7 +834,6 @@ const input_driver_t input_qnx = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
qnx_input_get_capabilities,
|
qnx_input_get_capabilities,
|
||||||
NULL,
|
|
||||||
"qnx_input",
|
"qnx_input",
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -189,7 +189,6 @@ const input_driver_t input_rwebinput = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
rwebinput_get_capabilities,
|
rwebinput_get_capabilities,
|
||||||
NULL,
|
|
||||||
"rwebinput",
|
"rwebinput",
|
||||||
rwebinput_grab_mouse,
|
rwebinput_grab_mouse,
|
||||||
};
|
};
|
||||||
|
@ -336,7 +336,6 @@ const input_driver_t input_sdl = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
sdl_get_capabilities,
|
sdl_get_capabilities,
|
||||||
NULL,
|
|
||||||
#ifdef HAVE_SDL2
|
#ifdef HAVE_SDL2
|
||||||
"sdl2",
|
"sdl2",
|
||||||
sdl_grab_mouse,
|
sdl_grab_mouse,
|
||||||
|
@ -828,7 +828,6 @@ const input_driver_t input_udev = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
udev_input_get_capabilities,
|
udev_input_get_capabilities,
|
||||||
NULL,
|
|
||||||
"udev",
|
"udev",
|
||||||
udev_input_grab_mouse,
|
udev_input_grab_mouse,
|
||||||
udev_input_set_rumble,
|
udev_input_set_rumble,
|
||||||
|
@ -329,7 +329,6 @@ const input_driver_t input_x = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
x_input_get_capabilities,
|
x_input_get_capabilities,
|
||||||
NULL,
|
|
||||||
"x",
|
"x",
|
||||||
x_grab_mouse,
|
x_grab_mouse,
|
||||||
x_set_rumble,
|
x_set_rumble,
|
||||||
|
@ -277,7 +277,6 @@ const input_driver_t input_xinput =
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
xdk_input_get_capabilities,
|
xdk_input_get_capabilities,
|
||||||
NULL,
|
|
||||||
"xinput",
|
"xinput",
|
||||||
|
|
||||||
NULL,
|
NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user