config.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2015 Jack Humbert
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #pragma once
  16. /* key matrix size */
  17. // Rows are doubled-up
  18. #define MATRIX_ROWS 12
  19. #define MATRIX_COLS 8
  20. // wiring of each half
  21. #define MATRIX_ROW_PINS { F4, D4, D7, E6, B4, C6 }
  22. #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6, B5 }
  23. #define MATRIX_ROW_PINS_RIGHT { F4, D4, D7, E6, B4, B5 }
  24. #define MATRIX_COL_PINS_RIGHT { F5, F6, F7, B1, B3, B2, B6, C6 }
  25. #define SPLIT_HAND_PIN D2
  26. #define DIODE_DIRECTION COL2ROW
  27. /* Set 0 if debouncing isn't needed */
  28. #define DEBOUNCE 5
  29. /* serial.c configuration for split keyboard */
  30. #define SOFT_SERIAL_PIN D0
  31. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  32. #define LOCKING_SUPPORT_ENABLE
  33. /* Locking resynchronize hack */
  34. #define LOCKING_RESYNC_ENABLE
  35. /* ws2812 RGB LED */
  36. #define RGB_DI_PIN D3
  37. #define RGBLIGHT_EFFECT_BREATHING
  38. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  39. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  40. #define RGBLIGHT_EFFECT_SNAKE
  41. #define RGBLIGHT_EFFECT_KNIGHT
  42. #define RGBLIGHT_EFFECT_CHRISTMAS
  43. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  44. #define RGBLIGHT_EFFECT_RGB_TEST
  45. #define RGBLIGHT_EFFECT_ALTERNATING
  46. #define RGBLIGHT_EFFECT_TWINKLE
  47. #define RGBLED_NUM 16 // Number of LEDs
  48. #define RGBLED_SPLIT { 8, 8 }
  49. // Set 65% column (option 1) and Macro (option 2) on by default
  50. #define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x60