mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Add INPUT_UDEV string to get_default_input_driver.
This commit is contained in:
parent
70c3de9e33
commit
76c7f13f8c
@ -175,8 +175,6 @@ enum
|
|||||||
#define INPUT_DEFAULT_DRIVER INPUT_DINPUT
|
#define INPUT_DEFAULT_DRIVER INPUT_DINPUT
|
||||||
#elif defined(EMSCRIPTEN)
|
#elif defined(EMSCRIPTEN)
|
||||||
#define INPUT_DEFAULT_DRIVER INPUT_RWEBINPUT
|
#define INPUT_DEFAULT_DRIVER INPUT_RWEBINPUT
|
||||||
#elif defined(HAVE_SDL)
|
|
||||||
#define INPUT_DEFAULT_DRIVER INPUT_SDL
|
|
||||||
#elif defined(__CELLOS_LV2__)
|
#elif defined(__CELLOS_LV2__)
|
||||||
#define INPUT_DEFAULT_DRIVER INPUT_PS3
|
#define INPUT_DEFAULT_DRIVER INPUT_PS3
|
||||||
#elif defined(SN_TARGET_PSP2) || defined(PSP)
|
#elif defined(SN_TARGET_PSP2) || defined(PSP)
|
||||||
@ -185,7 +183,7 @@ enum
|
|||||||
#define INPUT_DEFAULT_DRIVER INPUT_WII
|
#define INPUT_DEFAULT_DRIVER INPUT_WII
|
||||||
#elif defined(HAVE_UDEV)
|
#elif defined(HAVE_UDEV)
|
||||||
#define INPUT_DEFAULT_DRIVER INPUT_UDEV
|
#define INPUT_DEFAULT_DRIVER INPUT_UDEV
|
||||||
#elif defined(PANDORA) || defined(HAVE_VIDEOCORE)
|
#elif defined(__linux__) && !defined(ANDROID)
|
||||||
#define INPUT_DEFAULT_DRIVER INPUT_LINUXRAW
|
#define INPUT_DEFAULT_DRIVER INPUT_LINUXRAW
|
||||||
#elif defined(HAVE_X11)
|
#elif defined(HAVE_X11)
|
||||||
#define INPUT_DEFAULT_DRIVER INPUT_X
|
#define INPUT_DEFAULT_DRIVER INPUT_X
|
||||||
@ -193,6 +191,8 @@ enum
|
|||||||
#define INPUT_DEFAULT_DRIVER INPUT_APPLE
|
#define INPUT_DEFAULT_DRIVER INPUT_APPLE
|
||||||
#elif defined(__BLACKBERRY_QNX__)
|
#elif defined(__BLACKBERRY_QNX__)
|
||||||
#define INPUT_DEFAULT_DRIVER INPUT_QNX
|
#define INPUT_DEFAULT_DRIVER INPUT_QNX
|
||||||
|
#elif defined(HAVE_SDL)
|
||||||
|
#define INPUT_DEFAULT_DRIVER INPUT_SDL
|
||||||
#else
|
#else
|
||||||
#define INPUT_DEFAULT_DRIVER INPUT_NULL
|
#define INPUT_DEFAULT_DRIVER INPUT_NULL
|
||||||
#endif
|
#endif
|
||||||
|
@ -135,6 +135,8 @@ const char *config_get_default_input(void)
|
|||||||
return "gx";
|
return "gx";
|
||||||
case INPUT_LINUXRAW:
|
case INPUT_LINUXRAW:
|
||||||
return "linuxraw";
|
return "linuxraw";
|
||||||
|
case INPUT_UDEV:
|
||||||
|
return "udev";
|
||||||
case INPUT_APPLE:
|
case INPUT_APPLE:
|
||||||
return "apple_input";
|
return "apple_input";
|
||||||
case INPUT_QNX:
|
case INPUT_QNX:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user