upload
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

template.h 713B

123456789101112131415161718192021222324252627282930
  1. #ifndef %KEYBOARD_UPPERCASE%_H
  2. #define %KEYBOARD_UPPERCASE%_H
  3. #include "matrix.h"
  4. #include "keymap_common.h"
  5. #ifdef BACKLIGHT_ENABLE
  6. #include "backlight.h"
  7. #endif
  8. #include <avr/io.h>
  9. #include <stddef.h>
  10. // This a shortcut to help you visually see your layout.
  11. // The following is an example using the Planck MIT layout
  12. // The first section contains all of the arguements
  13. // The second converts the arguments into a two-dimensional array
  14. #define KEYMAP( \
  15. k00, k01, k02, \
  16. k10, k11 \
  17. ) \
  18. { \
  19. { k00, k01, k02 }, \
  20. { k10, KC_NO, k11 }, \
  21. }
  22. void matrix_init_user(void);
  23. void matrix_scan_user(void);
  24. bool process_action_user(keyrecord_t *record);
  25. void led_set_user(uint8_t usb_led);
  26. #endif