Fix keymap of hhkb for new actions
This commit is contained in:
parent
ba5ccc7b79
commit
bc44e39ffb
@ -25,18 +25,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include "action_macro.h"
|
#include "action_macro.h"
|
||||||
|
|
||||||
|
|
||||||
/* Key event container for recording */
|
/* tapping count and state */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
keyevent_t event;
|
|
||||||
#ifndef NO_ACTION_TAPPING
|
|
||||||
/* tapping count and state */
|
|
||||||
struct {
|
|
||||||
bool interrupted :1;
|
bool interrupted :1;
|
||||||
bool reserved2 :1;
|
bool reserved2 :1;
|
||||||
bool reserved1 :1;
|
bool reserved1 :1;
|
||||||
bool reserved0 :1;
|
bool reserved0 :1;
|
||||||
uint8_t count :4;
|
uint8_t count :4;
|
||||||
} tap;
|
} tap_t;
|
||||||
|
|
||||||
|
/* Key event container for recording */
|
||||||
|
typedef struct {
|
||||||
|
keyevent_t event;
|
||||||
|
#ifndef NO_ACTION_TAPPING
|
||||||
|
tap_t tap;
|
||||||
#endif
|
#endif
|
||||||
} keyrecord_t;
|
} keyrecord_t;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user