mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-20 01:43:37 +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
|
||||
#elif defined(EMSCRIPTEN)
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_RWEBINPUT
|
||||
#elif defined(HAVE_SDL)
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_SDL
|
||||
#elif defined(__CELLOS_LV2__)
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_PS3
|
||||
#elif defined(SN_TARGET_PSP2) || defined(PSP)
|
||||
@ -185,7 +183,7 @@ enum
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_WII
|
||||
#elif defined(HAVE_UDEV)
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_UDEV
|
||||
#elif defined(PANDORA) || defined(HAVE_VIDEOCORE)
|
||||
#elif defined(__linux__) && !defined(ANDROID)
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_LINUXRAW
|
||||
#elif defined(HAVE_X11)
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_X
|
||||
@ -193,6 +191,8 @@ enum
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_APPLE
|
||||
#elif defined(__BLACKBERRY_QNX__)
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_QNX
|
||||
#elif defined(HAVE_SDL)
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_SDL
|
||||
#else
|
||||
#define INPUT_DEFAULT_DRIVER INPUT_NULL
|
||||
#endif
|
||||
|
@ -135,6 +135,8 @@ const char *config_get_default_input(void)
|
||||
return "gx";
|
||||
case INPUT_LINUXRAW:
|
||||
return "linuxraw";
|
||||
case INPUT_UDEV:
|
||||
return "udev";
|
||||
case INPUT_APPLE:
|
||||
return "apple_input";
|
||||
case INPUT_QNX:
|
||||
|
Loading…
x
Reference in New Issue
Block a user