layer_number.h 643 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. // Each layer gets a name for readability, which is then used in the keymap matrix below.
  3. // The underscores don't mean anything - you can have a layer called STUFF or any other name.
  4. // Layer names don't all need to be of the same length, obviously, and you can also skip them
  5. // entirely and just use numbers.
  6. enum layer_number {
  7. _QWERTY = 0,
  8. _COLEMAK,
  9. _DVORAK,
  10. _EUCALYN,
  11. _KEYPAD,
  12. _AUX,
  13. _KAUX,
  14. _LOWER,
  15. _RAISE,
  16. _PADFUNC,
  17. _ADJUST,
  18. };
  19. #if defined(SSD1306OLED)
  20. extern void init_helix_oled(void);
  21. # define INIT_HELIX_OLED() init_helix_oled();
  22. #else
  23. # define INIT_HELIX_OLED()
  24. #endif