Keyboard firmwares for Atmel AVR and Cortex-M
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.

actionmap_common.h 1.0KB

12345678910111213141516171819202122232425
  1. #ifndef ACTIONMAP_COMMON_H
  2. #define ACTIONMAP_COMMON_H
  3. #define ACTIONMAP( \
  4. K00, K01, K02, K03, K04, K05, K06, \
  5. K10, K11, K12, K13, K14, K15, K16, \
  6. K20, K21, K22, K23, K24, K25, K26, \
  7. K34, \
  8. \
  9. K50, K51, K52, K53, K54, K55, K56, \
  10. K60, K61, K62, K63, K64, K65, K66, \
  11. K70, K71, K72, K73, K74, K75, K76, \
  12. K82 \
  13. ) { \
  14. { AC_##K00, AC_##K01, AC_##K02, AC_##K03, AC_##K04, AC_##K05, AC_##K06 }, \
  15. { AC_##K10, AC_##K11, AC_##K12, AC_##K13, AC_##K14, AC_##K15, AC_##K16 }, \
  16. { AC_##K20, AC_##K21, AC_##K22, AC_##K23, AC_##K24, AC_##K25, AC_##K26 }, \
  17. { KC_NO, KC_NO, KC_NO, KC_NO, AC_##K34, KC_NO, KC_NO }, \
  18. \
  19. { AC_##K56, AC_##K55, AC_##K54, AC_##K53, AC_##K52, AC_##K51, AC_##K50 }, \
  20. { AC_##K66, AC_##K65, AC_##K64, AC_##K63, AC_##K62, AC_##K61, AC_##K60 }, \
  21. { AC_##K76, AC_##K75, AC_##K74, AC_##K73, AC_##K72, AC_##K71, AC_##K70 }, \
  22. { KC_NO, KC_NO, KC_NO, KC_NO, AC_##K82, KC_NO, KC_NO } \
  23. }
  24. #endif