]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/hhkb/keymaps/shela/action_pseudo_lut.h
add my keymap
[qmk_firmware.git] / keyboards / hhkb / keymaps / shela / action_pseudo_lut.h
1 #ifndef ACTION_PSEUDO_LUT_H
2 #define ACTION_PSEUDO_LUT_H
3
4 #define SHIFT_BIT_SIZE (0xE7 / 8 + 1) // 1bit per 1key
5
6 #define IS_LSFT(kc) ((QK_LSFT & (kc)) == QK_LSFT)
7
8 void action_pseudo_lut(keyrecord_t *, uint8_t, const uint16_t (*)[2]);
9 uint16_t convert_keycode(const uint16_t (*)[2], uint16_t, bool);
10
11 uint8_t get_shift_bit(uint16_t);
12 void add_shift_bit(uint16_t);
13 void del_shift_bit(uint16_t);
14
15 #endif