(input_autodetect.c) Move enum to top

This commit is contained in:
twinaphex 2015-04-03 01:22:55 +02:00
parent 494a190c5b
commit 7fc95a1726

View File

@ -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)
{