Преглед на файлове

Fix keymap of hhkb for new actions

core
tmk преди 11 години
родител
ревизия
bc44e39ffb
променени са 1 файла, в които са добавени 10 реда и са изтрити 8 реда
  1. 10
    8
      common/action.h

+ 10
- 8
common/action.h Целия файл

@@ -25,18 +25,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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;