Reorder retro_keybind, alignment

This commit is contained in:
twinaphex 2020-08-15 22:36:56 +02:00
parent 5119b71377
commit 89b441787a
2 changed files with 1895 additions and 306 deletions

File diff suppressed because it is too large Load Diff

View File

@ -114,20 +114,8 @@ enum rarch_input_keyboard_ctl_state
struct retro_keybind
{
bool valid;
uint16_t id;
enum msg_hash_enums enum_idx;
enum retro_key key;
uint16_t mbutton;
/* Joypad key. Joypad POV (hats)
* are embedded into this key as well. */
uint16_t joykey;
/* Default key binding value -
* for resetting bind to default */
uint16_t def_joykey;
char *joykey_label;
char *joyaxis_label;
/* Joypad axis. Negative and positive axes
* are embedded into this variable. */
@ -140,8 +128,22 @@ struct retro_keybind
/* Used by input_{push,pop}_analog_dpad(). */
uint32_t orig_joyaxis;
char *joykey_label;
char *joyaxis_label;
enum msg_hash_enums enum_idx;
enum retro_key key;
uint16_t id;
uint16_t mbutton;
/* Joypad key. Joypad POV (hats)
* are embedded into this key as well. */
uint16_t joykey;
/* Default key binding value -
* for resetting bind to default */
uint16_t def_joykey;
bool valid;
};
struct rarch_joypad_info