mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 06:40:48 +00:00
Reorder retro_keybind, alignment
This commit is contained in:
parent
5119b71377
commit
89b441787a
File diff suppressed because it is too large
Load Diff
@ -114,20 +114,8 @@ enum rarch_input_keyboard_ctl_state
|
|||||||
|
|
||||||
struct retro_keybind
|
struct retro_keybind
|
||||||
{
|
{
|
||||||
bool valid;
|
char *joykey_label;
|
||||||
uint16_t id;
|
char *joyaxis_label;
|
||||||
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;
|
|
||||||
|
|
||||||
/* Joypad axis. Negative and positive axes
|
/* Joypad axis. Negative and positive axes
|
||||||
* are embedded into this variable. */
|
* are embedded into this variable. */
|
||||||
@ -140,8 +128,22 @@ struct retro_keybind
|
|||||||
/* Used by input_{push,pop}_analog_dpad(). */
|
/* Used by input_{push,pop}_analog_dpad(). */
|
||||||
uint32_t orig_joyaxis;
|
uint32_t orig_joyaxis;
|
||||||
|
|
||||||
char *joykey_label;
|
enum msg_hash_enums enum_idx;
|
||||||
char *joyaxis_label;
|
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
|
struct rarch_joypad_info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user