Merge pull request #28 from algernon/f/key_action_t/updates

Minor key_action_t updates
This commit is contained in:
László Monda
2017-01-06 13:17:17 +01:00
committed by GitHub

View File

@@ -65,7 +65,7 @@ typedef struct {
uint8_t type;
union {
struct {
uint8_t __unused_bits;
uint8_t longPress;
uint8_t mods;
uint8_t key;
} __attribute__ ((packed)) keystroke;
@@ -75,12 +75,13 @@ typedef struct {
uint8_t moveActions; // bitfield
} __attribute__ ((packed)) mouse;
struct {
uint16_t __unused_bits;
uint16_t __unused_bits:15;
bool isToggle:1;
uint8_t layer;
} __attribute__ ((packed)) switchLayer;
struct {
uint16_t __unused_bits;
uint8_t layer;
uint8_t keymap;
} __attribute__ ((packed)) switchKeymap;
struct {
uint8_t __unused_bits;