config.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #define USE_SERIAL
  15. #define TAPPING_TERM 150
  16. #undef RGBLED_NUM
  17. #define RGBLIGHT_ANIMATIONS
  18. #define RGBLED_NUM 8
  19. #define RGBLIGHT_HUE_STEP 8
  20. #define RGBLIGHT_SAT_STEP 8
  21. #define RGBLIGHT_VAL_STEP 8
  22. #ifdef SUBPROJECT_rev1
  23. #include "../../rev1/config.h"
  24. #define COMPACT_KEYMAP( \
  25. k00, k01, k02, k03, k04, k05, k40, k41, k42, k43, k44, k45, \
  26. k10, k11, k12, k13, k14, k15, k50, k51, k52, k53, k54, k55, \
  27. k20, k21, k22, k23, k24, k25, k60, k61, k62, k63, k64, k65, \
  28. k30, k31, k32, k33, k34, k35, k70, k71, k72, k73, k74, k75 \
  29. ) \
  30. { \
  31. { KC_##k00, KC_##k01, KC_##k02, KC_##k03, KC_##k04, KC_##k05 }, \
  32. { KC_##k10, KC_##k11, KC_##k12, KC_##k13, KC_##k14, KC_##k15 }, \
  33. { KC_##k20, KC_##k21, KC_##k22, KC_##k23, KC_##k24, KC_##k25 }, \
  34. { KC_##k30, KC_##k31, KC_##k32, KC_##k33, KC_##k34, KC_##k35 }, \
  35. { KC_##k40, KC_##k41, KC_##k42, KC_##k43, KC_##k44, KC_##k45 }, \
  36. { KC_##k50, KC_##k51, KC_##k52, KC_##k53, KC_##k54, KC_##k55 }, \
  37. { KC_##k60, KC_##k61, KC_##k62, KC_##k63, KC_##k64, KC_##k65 }, \
  38. { KC_##k70, KC_##k71, KC_##k72, KC_##k73, KC_##k74, KC_##k75 } \
  39. }
  40. #endif
  41. #ifdef SUBPROJECT_rev2
  42. #include "../../rev2/config.h"
  43. #define COMPACT_KEYMAP( \
  44. k00, k01, k02, k03, k04, k05, k45, k44, k43, k42, k41, k40, \
  45. k10, k11, k12, k13, k14, k15, k55, k54, k53, k52, k51, k50, \
  46. k20, k21, k22, k23, k24, k25, k65, k64, k63, k62, k61, k60, \
  47. k30, k31, k32, k33, k34, k35, k75, k74, k73, k72, k71, k70 \
  48. ) \
  49. { \
  50. { KC_##k00, KC_##k01, KC_##k02, KC_##k03, KC_##k04, KC_##k05 }, \
  51. { KC_##k10, KC_##k11, KC_##k12, KC_##k13, KC_##k14, KC_##k15 }, \
  52. { KC_##k20, KC_##k21, KC_##k22, KC_##k23, KC_##k24, KC_##k25 }, \
  53. { KC_##k30, KC_##k31, KC_##k32, KC_##k33, KC_##k34, KC_##k35 }, \
  54. { KC_##k40, KC_##k41, KC_##k42, KC_##k43, KC_##k44, KC_##k45 }, \
  55. { KC_##k50, KC_##k51, KC_##k52, KC_##k53, KC_##k54, KC_##k55 }, \
  56. { KC_##k60, KC_##k61, KC_##k62, KC_##k63, KC_##k64, KC_##k65 }, \
  57. { KC_##k70, KC_##k71, KC_##k72, KC_##k73, KC_##k74, KC_##k75 } \
  58. }
  59. #endif
  60. #ifdef SUBPROJECT_rev2fliphalf
  61. #include "../../rev2fliphalf/config.h"
  62. #endif