Bladeren bron

Fix keymap of hhkb for new actions

core
tmk 11 jaren geleden
bovenliggende
commit
bc44e39ffb
1 gewijzigde bestanden met toevoegingen van 10 en 8 verwijderingen
  1. 10
    8
      common/action.h

+ 10
- 8
common/action.h Bestand weergeven

#include "action_macro.h" #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 */ /* Key event container for recording */
typedef struct { typedef struct {
keyevent_t event; keyevent_t event;
#ifndef NO_ACTION_TAPPING #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 #endif
} keyrecord_t; } keyrecord_t;