config.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2015 Jack Humbert
  4. Copyright 2020 James Smith <bronzegears@gmail.com> @klackygears
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. #define SPLIT_USB_DETECT
  18. // wiring of each half
  19. #define MATRIX_COL_PINS \
  20. { D1, D4, C6, D7, E6, B4, B5 }
  21. #define MATRIX_ROW_PINS \
  22. { F4, F5, F6, F7, B1 }
  23. #define MATRIX_COL_PINS_RIGHT \
  24. { B5, B4, E6, D7, C6, D4, D1 }
  25. #define DIODE_DIRECTION COL2ROW
  26. /* mouse config */
  27. #define MOUSEKEY_INTERVAL 20
  28. #define MOUSEKEY_DELAY 0
  29. #define MOUSEKEY_TIME_TO_MAX 60
  30. #define MOUSEKEY_MAX_SPEED 7
  31. #define MOUSEKEY_WHEEL_DELAY 0
  32. #define EE_HANDS
  33. //#define SPLIT_HAND_PIN B7
  34. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  35. #define LOCKING_SUPPORT_ENABLE
  36. /* Locking resynchronize hack */
  37. #define LOCKING_RESYNC_ENABLE
  38. /* Enables This makes it easier for fast typists to use dual-function keys */
  39. #define PERMISSIVE_HOLD
  40. /* ws2812 RGB LED */
  41. #define RGB_DI_PIN D3
  42. #define RGBLED_NUM 28 // Number of LEDs
  43. #define RGBLIGHT_LIMIT_VAL 120
  44. #define RGBLIGHT_SPLIT
  45. /*
  46. * Feature disable options
  47. * These options are also useful to firmware size reduction.
  48. */
  49. /* disable debug print */
  50. // #define NO_DEBUG
  51. /* disable print */
  52. // #define NO_PRINT
  53. /* disable action features */
  54. //#define NO_ACTION_LAYER
  55. //#define NO_ACTION_TAPPING
  56. //#define NO_ACTION_ONESHOT
  57. //#define TAPPING_TERM 150
  58. //#define IGNORE_MOD_TAP_INTERRUPT
  59. //#define QUICK_TAP_TERM 0