diff --git a/input/input_autodetect.c b/input/input_autodetect.c index 7835752903..876dc3c9cd 100644 --- a/input/input_autodetect.c +++ b/input/input_autodetect.c @@ -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) {