mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
(input_autodetect.c) Move enum to top
This commit is contained in:
parent
494a190c5b
commit
7fc95a1726
@ -23,6 +23,16 @@
|
|||||||
|
|
||||||
#include "../general.h"
|
#include "../general.h"
|
||||||
|
|
||||||
|
enum
|
||||||
|
{
|
||||||
|
AUTODETECT_MATCH_NONE = 0,
|
||||||
|
AUTODETECT_MATCH_VID,
|
||||||
|
AUTODETECT_MATCH_PID,
|
||||||
|
AUTODETECT_MATCH_IDENT,
|
||||||
|
AUTODETECT_MATCH_DRIVER,
|
||||||
|
AUTODETECT_MATCH_NAME,
|
||||||
|
};
|
||||||
|
|
||||||
static void input_autoconfigure_joypad_conf(config_file_t *conf,
|
static void input_autoconfigure_joypad_conf(config_file_t *conf,
|
||||||
struct retro_keybind *binds)
|
struct retro_keybind *binds)
|
||||||
{
|
{
|
||||||
@ -37,16 +47,6 @@ static void input_autoconfigure_joypad_conf(config_file_t *conf,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enum
|
|
||||||
{
|
|
||||||
AUTODETECT_MATCH_NONE = 0,
|
|
||||||
AUTODETECT_MATCH_VID,
|
|
||||||
AUTODETECT_MATCH_PID,
|
|
||||||
AUTODETECT_MATCH_IDENT,
|
|
||||||
AUTODETECT_MATCH_DRIVER,
|
|
||||||
AUTODETECT_MATCH_NAME,
|
|
||||||
};
|
|
||||||
|
|
||||||
static bool input_try_autoconfigure_joypad_from_conf(config_file_t *conf,
|
static bool input_try_autoconfigure_joypad_from_conf(config_file_t *conf,
|
||||||
autoconfig_params_t *params, unsigned *match)
|
autoconfig_params_t *params, unsigned *match)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user