mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Change joypad_map to unsigned and change default value
This commit is contained in:
parent
829060886d
commit
b28b530874
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user