mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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);
|
||||
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);
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -566,7 +566,6 @@ const input_driver_t input_dinput = {
|
||||
NULL,
|
||||
NULL,
|
||||
dinput_get_capabilities,
|
||||
NULL,
|
||||
"dinput",
|
||||
|
||||
dinput_grab_mouse,
|
||||
|
@ -538,7 +538,6 @@ const input_driver_t input_gx = {
|
||||
NULL,
|
||||
NULL,
|
||||
gx_input_get_capabilities,
|
||||
NULL,
|
||||
"gx",
|
||||
|
||||
NULL,
|
||||
|
@ -246,7 +246,6 @@ const input_driver_t input_linuxraw = {
|
||||
NULL,
|
||||
NULL,
|
||||
linuxraw_get_capabilities,
|
||||
NULL,
|
||||
"linuxraw",
|
||||
NULL,
|
||||
linuxraw_set_rumble,
|
||||
|
@ -361,7 +361,6 @@ const input_driver_t input_ps3 = {
|
||||
ps3_input_set_sensor_state,
|
||||
NULL,
|
||||
ps3_input_get_capabilities,
|
||||
NULL,
|
||||
"ps3",
|
||||
|
||||
NULL,
|
||||
|
@ -174,7 +174,6 @@ const input_driver_t input_psp = {
|
||||
NULL,
|
||||
NULL,
|
||||
psp_input_get_capabilities,
|
||||
NULL,
|
||||
"psp",
|
||||
|
||||
NULL,
|
||||
|
@ -834,7 +834,6 @@ const input_driver_t input_qnx = {
|
||||
NULL,
|
||||
NULL,
|
||||
qnx_input_get_capabilities,
|
||||
NULL,
|
||||
"qnx_input",
|
||||
NULL,
|
||||
NULL,
|
||||
|
@ -189,7 +189,6 @@ const input_driver_t input_rwebinput = {
|
||||
NULL,
|
||||
NULL,
|
||||
rwebinput_get_capabilities,
|
||||
NULL,
|
||||
"rwebinput",
|
||||
rwebinput_grab_mouse,
|
||||
};
|
||||
|
@ -336,7 +336,6 @@ const input_driver_t input_sdl = {
|
||||
NULL,
|
||||
NULL,
|
||||
sdl_get_capabilities,
|
||||
NULL,
|
||||
#ifdef HAVE_SDL2
|
||||
"sdl2",
|
||||
sdl_grab_mouse,
|
||||
|
@ -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,
|
||||
|
@ -329,7 +329,6 @@ const input_driver_t input_x = {
|
||||
NULL,
|
||||
NULL,
|
||||
x_input_get_capabilities,
|
||||
NULL,
|
||||
"x",
|
||||
x_grab_mouse,
|
||||
x_set_rumble,
|
||||
|
@ -277,7 +277,6 @@ const input_driver_t input_xinput =
|
||||
NULL,
|
||||
NULL,
|
||||
xdk_input_get_capabilities,
|
||||
NULL,
|
||||
"xinput",
|
||||
|
||||
NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user