You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
468 B

  1. #pragma once
  2. #include "kageurufu.h"
  3. #define FN_ESC LT(_FN, KC_ESC)
  4. #define FN MO(_FN)
  5. #define ADJ MO(_ADJ)
  6. enum layer_number {
  7. _QWERTY = 0,
  8. _COLEMAK,
  9. _COLEMAK_DH,
  10. _FN,
  11. _ADJ,
  12. ADDITIONAL_LAYER
  13. };
  14. enum custom_keycodes {
  15. QWERTY = SAFE_RANGE,
  16. COLEMAK,
  17. CMAK_DH,
  18. RGBRST,
  19. KAGEURUFU_SAFE_RANGE
  20. };
  21. bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
  22. bool process_record_rgb(uint16_t keycode, keyrecord_t *record);