mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 19:14:56 +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"
|
||||
|
||||
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,
|
||||
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,
|
||||
autoconfig_params_t *params, unsigned *match)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user