diff options
Diffstat (limited to 'tmk_core/common/action_code.h')
-rw-r--r-- | tmk_core/common/action_code.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tmk_core/common/action_code.h b/tmk_core/common/action_code.h index 05bc84573..fe2735b97 100644 --- a/tmk_core/common/action_code.h +++ b/tmk_core/common/action_code.h | |||
@@ -186,7 +186,7 @@ typedef union { | |||
186 | } func; | 186 | } func; |
187 | struct action_swap { | 187 | struct action_swap { |
188 | uint8_t code :8; | 188 | uint8_t code :8; |
189 | uint8_t opt :4; | 189 | uint8_t opt :4; |
190 | uint8_t kind :4; | 190 | uint8_t kind :4; |
191 | } swap; | 191 | } swap; |
192 | } action_t; | 192 | } action_t; |
@@ -243,7 +243,7 @@ enum usage_pages { | |||
243 | 243 | ||
244 | 244 | ||
245 | 245 | ||
246 | /* | 246 | /* |
247 | * Layer Actions | 247 | * Layer Actions |
248 | */ | 248 | */ |
249 | enum layer_param_on { | 249 | enum layer_param_on { |
@@ -257,7 +257,7 @@ enum layer_param_bit_op { | |||
257 | OP_BIT_XOR = 2, | 257 | OP_BIT_XOR = 2, |
258 | OP_BIT_SET = 3, | 258 | OP_BIT_SET = 3, |
259 | }; | 259 | }; |
260 | enum layer_pram_tap_op { | 260 | enum layer_param_tap_op { |
261 | OP_TAP_TOGGLE = 0xF0, | 261 | OP_TAP_TOGGLE = 0xF0, |
262 | OP_ON_OFF, | 262 | OP_ON_OFF, |
263 | OP_OFF_ON, | 263 | OP_OFF_ON, |
@@ -329,7 +329,7 @@ enum function_opts { | |||
329 | #define ACTION_FUNCTION_TAP(id) ACTION(ACT_FUNCTION, FUNC_TAP<<8 | (id)) | 329 | #define ACTION_FUNCTION_TAP(id) ACTION(ACT_FUNCTION, FUNC_TAP<<8 | (id)) |
330 | #define ACTION_FUNCTION_OPT(id, opt) ACTION(ACT_FUNCTION, (opt)<<8 | (id)) | 330 | #define ACTION_FUNCTION_OPT(id, opt) ACTION(ACT_FUNCTION, (opt)<<8 | (id)) |
331 | /* OneHand Support */ | 331 | /* OneHand Support */ |
332 | enum swap_hands_pram_tap_op { | 332 | enum swap_hands_param_tap_op { |
333 | OP_SH_TOGGLE = 0xF0, | 333 | OP_SH_TOGGLE = 0xF0, |
334 | OP_SH_TAP_TOGGLE, | 334 | OP_SH_TAP_TOGGLE, |
335 | OP_SH_ON_OFF, | 335 | OP_SH_ON_OFF, |