Change joypad_map to unsigned and change default value

This commit is contained in:
twinaphex 2014-10-19 16:22:51 +02:00
parent 829060886d
commit b28b530874
2 changed files with 3 additions and 3 deletions

View File

@ -352,7 +352,7 @@ struct settings
unsigned analog_dpad_mode[MAX_PLAYERS];
float axis_threshold;
int joypad_map[MAX_PLAYERS];
unsigned joypad_map[MAX_PLAYERS];
unsigned device[MAX_PLAYERS];
char device_names[MAX_PLAYERS][64];
bool autodetect_enable;

View File

@ -4296,11 +4296,11 @@ static bool setting_data_append_list_input_options(
"input_player%d_joypad_index", player + 1);
snprintf(label[player], sizeof(label[player]),
"Player %d Pad Index", player + 1);
CONFIG_INT(
CONFIG_UINT(
g_settings.input.joypad_map[player],
key[player],
label[player],
0,
player,
group_info.name,
subgroup_info.name,
general_write_handler,