Rename a couple of members of key_action_t to be more intuitive.

This commit is contained in:
László Monda
2017-03-03 21:59:28 +01:00
parent b6cc59125d
commit cc2c06f497
4 changed files with 146 additions and 146 deletions

View File

@@ -54,10 +54,10 @@ typedef struct {
uint8_t type;
union {
struct {
uint8_t longPress;
uint8_t mods;
uint8_t key;
} __attribute__ ((packed)) keystroke;
uint8_t longPressAction;
uint8_t modifiers;
uint8_t scancode;
} __attribute__ ((packed)) basicKeystroke;
struct {
uint8_t buttonActions;
uint8_t scrollActions;
@@ -68,10 +68,10 @@ typedef struct {
uint8_t layer;
} __attribute__ ((packed)) switchLayer;
struct {
uint8_t keymap;
uint8_t keymapId;
} __attribute__ ((packed)) switchKeymap;
struct {
uint16_t index;
uint16_t macroId;
} __attribute__ ((packed)) playMacro;
};
} __attribute__ ((packed)) key_action_t;