Reduce size of input driver ids to uint16_t - should be enough

This commit is contained in:
twinaphex 2017-08-30 14:02:18 +02:00
parent e215341d05
commit d8f27886ad
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ enum rarch_input_keyboard_ctl_state
struct retro_keybind struct retro_keybind
{ {
bool valid; bool valid;
unsigned id; uint16_t id;
enum msg_hash_enums enum_idx; enum msg_hash_enums enum_idx;
enum retro_key key; enum retro_key key;
@ -120,7 +120,7 @@ struct retro_keybind
typedef struct rarch_joypad_info typedef struct rarch_joypad_info
{ {
unsigned joy_idx; uint16_t joy_idx;
const struct retro_keybind *auto_binds; const struct retro_keybind *auto_binds;
float axis_threshold; float axis_threshold;
} rarch_joypad_info_t; } rarch_joypad_info_t;