action_pseudo_lut.h 402 B

123456789101112131415
  1. #ifndef ACTION_PSEUDO_LUT_H
  2. #define ACTION_PSEUDO_LUT_H
  3. #define SHIFT_BIT_SIZE (0xE7 / 8 + 1) // 1bit per 1key
  4. #define IS_LSFT(kc) ((QK_LSFT & (kc)) == QK_LSFT)
  5. void action_pseudo_lut(keyrecord_t *, uint8_t, const uint16_t (*)[2]);
  6. uint16_t convert_keycode(const uint16_t (*)[2], uint16_t, bool);
  7. uint8_t get_shift_bit(uint16_t);
  8. void add_shift_bit(uint16_t);
  9. void del_shift_bit(uint16_t);
  10. #endif