upload
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

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