diff options
author | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
commit | dc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch) | |
tree | 4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/comet46/keymaps/satt/action_pseudo_lut.h |
Diffstat (limited to 'keyboards/comet46/keymaps/satt/action_pseudo_lut.h')
-rw-r--r-- | keyboards/comet46/keymaps/satt/action_pseudo_lut.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/comet46/keymaps/satt/action_pseudo_lut.h b/keyboards/comet46/keymaps/satt/action_pseudo_lut.h new file mode 100644 index 000000000..681252440 --- /dev/null +++ b/keyboards/comet46/keymaps/satt/action_pseudo_lut.h | |||
@@ -0,0 +1,15 @@ | |||
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 | ||