config.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /* Copyright 2018 Jack Humbert
  2. *
  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. *
  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. *
  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 0x544B //TK
  20. #define PRODUCT_ID 0x0006 //GodSpeed75
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER The Key Company
  23. #define PRODUCT GodSpeed75
  24. /* key matrix size */
  25. #define MATRIX_ROWS 12
  26. #define MATRIX_COLS 8
  27. #define DIODE_DIRECTION COL2ROW
  28. #define MATRIX_ROW_PINS { A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, A9, A10 }
  29. #define MATRIX_COL_PINS { A0, A1, A2, B12, B13, B14, B15, A8 }
  30. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  31. #define DEBOUNCE 5
  32. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  33. //#define LOCKING_SUPPORT_ENABLE
  34. /* Locking resynchronize hack */
  35. //#define LOCKING_RESYNC_ENABLE
  36. /*
  37. * Force NKRO
  38. *
  39. * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
  40. * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
  41. * makefile for this to work.)
  42. *
  43. * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
  44. * until the next keyboard reset.
  45. *
  46. * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
  47. * fully operational during normal computer usage.
  48. *
  49. * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
  50. * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
  51. * bootmagic, NKRO mode will always be enabled until it is toggled again during a
  52. * power-up.
  53. *
  54. */
  55. //#define FORCE_NKRO
  56. /*
  57. * Feature disable options
  58. * These options are also useful to firmware size reduction.
  59. */
  60. /* disable debug print */
  61. //#define NO_DEBUG
  62. /* disable print */
  63. //#define NO_PRINT
  64. /* disable action features */
  65. //#define NO_ACTION_LAYER
  66. //#define NO_ACTION_TAPPING
  67. //#define NO_ACTION_ONESHOT
  68. //#define NO_ACTION_MACRO
  69. //#define NO_ACTION_FUNCTION
  70. /*
  71. * MIDI options
  72. */
  73. /* enable basic MIDI features:
  74. - MIDI notes can be sent when in Music mode is on
  75. */
  76. //#define MIDI_BASIC
  77. /* enable advanced MIDI features:
  78. - MIDI notes can be added to the keymap
  79. - Octave shift and transpose
  80. - Virtual sustain, portamento, and modulation wheel
  81. - etc.
  82. */
  83. //#define MIDI_ADVANCED
  84. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  85. //#define MIDI_TONE_KEYCODE_OCTAVES 1
  86. #define RGB_DI_PIN A13
  87. #define RGBLED_NUM 14
  88. #define RGBLIGHT_ANIMATIONS