keycode_config.h 520 B

123456789101112131415161718192021
  1. #include "eeconfig.h"
  2. #include "keycode.h"
  3. uint16_t keycode_config(uint16_t keycode);
  4. /* NOTE: Not portable. Bit field order depends on implementation */
  5. typedef union {
  6. uint16_t raw;
  7. struct {
  8. bool swap_control_capslock:1;
  9. bool capslock_to_control:1;
  10. bool swap_lalt_lgui:1;
  11. bool swap_ralt_rgui:1;
  12. bool no_gui:1;
  13. bool swap_grave_esc:1;
  14. bool swap_backslash_backspace:1;
  15. bool nkro:1;
  16. };
  17. } keymap_config_t;
  18. extern keymap_config_t keymap_config;