From fbea2a3aae5d66ecb00fcd3473f76337d34688fa Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 5 Apr 2013 03:27:10 +0900 Subject: Fix keymap of hhkb for new actions --- common/action.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'common/action.h') diff --git a/common/action.h b/common/action.h index 5f659337f..98c4ef81a 100644 --- a/common/action.h +++ b/common/action.h @@ -25,18 +25,20 @@ along with this program. If not, see . #include "action_macro.h" +/* tapping count and state */ +typedef struct { + bool interrupted :1; + bool reserved2 :1; + bool reserved1 :1; + bool reserved0 :1; + uint8_t count :4; +} tap_t; + /* Key event container for recording */ typedef struct { keyevent_t event; #ifndef NO_ACTION_TAPPING - /* tapping count and state */ - struct { - bool interrupted :1; - bool reserved2 :1; - bool reserved1 :1; - bool reserved0 :1; - uint8_t count :4; - } tap; + tap_t tap; #endif } keyrecord_t; -- cgit v1.2.3-24-g4f1b