diff options
Diffstat (limited to 'common/action.h')
| -rw-r--r-- | common/action.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/common/action.h b/common/action.h index b657aa540..b1e958a26 100644 --- a/common/action.h +++ b/common/action.h | |||
| @@ -49,27 +49,27 @@ typedef union { | |||
| 49 | uint16_t code; | 49 | uint16_t code; |
| 50 | struct action_kind { | 50 | struct action_kind { |
| 51 | uint16_t param :12; | 51 | uint16_t param :12; |
| 52 | uint16_t id :4; | 52 | uint8_t id :4; |
| 53 | } kind; | 53 | } kind; |
| 54 | struct action_key { | 54 | struct action_key { |
| 55 | uint16_t code :8; | 55 | uint8_t code :8; |
| 56 | uint16_t mods :4; | 56 | uint8_t mods :4; |
| 57 | uint16_t kind :4; | 57 | uint8_t kind :4; |
| 58 | } key; | 58 | } key; |
| 59 | struct action_layer { | 59 | struct action_layer { |
| 60 | uint16_t code :8; | 60 | uint8_t code :8; |
| 61 | uint16_t val :4; | 61 | uint8_t val :4; |
| 62 | uint16_t kind :4; | 62 | uint8_t kind :4; |
| 63 | } layer; | 63 | } layer; |
| 64 | struct action_usage { | 64 | struct action_usage { |
| 65 | uint16_t code :10; | 65 | uint16_t code :10; |
| 66 | uint16_t page :2; | 66 | uint8_t page :2; |
| 67 | uint16_t kind :4; | 67 | uint8_t kind :4; |
| 68 | } usage; | 68 | } usage; |
| 69 | struct action_command { | 69 | struct action_command { |
| 70 | uint16_t id :8; | 70 | uint8_t id :8; |
| 71 | uint16_t opt :4; | 71 | uint8_t opt :4; |
| 72 | uint16_t kind :4; | 72 | uint8_t kind :4; |
| 73 | } command; | 73 | } command; |
| 74 | struct action_function { | 74 | struct action_function { |
| 75 | uint8_t id :8; | 75 | uint8_t id :8; |
