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.

110 lines
2.6 KiB

  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. #include "config_common.h"
  18. /* USB Device descriptor parameter */
  19. #define VENDOR_ID 0x4A53
  20. #define PRODUCT_ID 0x0001
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER klackygears
  23. #define PRODUCT Brain
  24. #define SPLIT_USB_DETECT
  25. /* key matrix size */
  26. // Rows are doubled-up
  27. #define MATRIX_ROWS 10
  28. #define MATRIX_COLS 7
  29. // wiring of each half
  30. #define MATRIX_COL_PINS \
  31. { D1, D4, C6, D7, E6, B4, B5 }
  32. #define MATRIX_ROW_PINS \
  33. { F4, F5, F6, F7, B1 }
  34. #define MATRIX_COL_PINS_RIGHT \
  35. { B5, B4, E6, D7, C6, D4, D1 }
  36. #define DIODE_DIRECTION COL2ROW
  37. /* mouse config */
  38. #define MOUSEKEY_INTERVAL 20
  39. #define MOUSEKEY_DELAY 0
  40. #define MOUSEKEY_TIME_TO_MAX 60
  41. #define MOUSEKEY_MAX_SPEED 7
  42. #define MOUSEKEY_WHEEL_DELAY 0
  43. /* Set 0 if debouncing isn't needed */
  44. /* serial.c configuration for split keyboard */
  45. #define SOFT_SERIAL_PIN D0
  46. #define EE_HANDS
  47. //#define SPLIT_HAND_PIN B7
  48. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  49. #define LOCKING_SUPPORT_ENABLE
  50. /* Locking resynchronize hack */
  51. #define LOCKING_RESYNC_ENABLE
  52. /* Enables This makes it easier for fast typists to use dual-function keys */
  53. #define PERMISSIVE_HOLD
  54. /* ws2812 RGB LED */
  55. #define RGB_DI_PIN D3
  56. #define RGBLED_NUM 28 // Number of LEDs
  57. #define RGBLIGHT_LIMIT_VAL 120
  58. #define RGBLIGHT_SPLIT
  59. /*
  60. * Feature disable options
  61. * These options are also useful to firmware size reduction.
  62. */
  63. /* disable debug print */
  64. // #define NO_DEBUG
  65. /* disable print */
  66. // #define NO_PRINT
  67. /* disable action features */
  68. //#define NO_ACTION_LAYER
  69. //#define NO_ACTION_TAPPING
  70. //#define NO_ACTION_ONESHOT
  71. //#define NO_ACTION_MACRO
  72. //#define NO_ACTION_FUNCTION
  73. //#define PREVENT_STUCK_MODIFIERS
  74. //#define TAPPING_TERM 150
  75. //#define IGNORE_MOD_TAP_INTERRUPT
  76. //#define TAPPING_FORCE_HOLD
  77. #define BOOTMAGIC_LITE_ROW 0
  78. #define BOOTMAGIC_LITE_COLUMN 6
  79. #define BOOTMAGIC_LITE_ROW_RIGHT 5
  80. #define BOOTMAGIC_LITE_COLUMN_RIGHT 0