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.

90 lines
2.3 KiB

  1. /*
  2. Copyright 2017 Danny Nguyen <danny@keeb.io>
  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. #pragma once
  15. #include "config_common.h"
  16. /* USB Device descriptor parameter */
  17. #define VENDOR_ID 0xCB10
  18. #define PRODUCT_ID 0x1156
  19. #define DEVICE_VER 0x0100
  20. #define MANUFACTURER Pekaso
  21. #define PRODUCT The Fortitude60 Keyboard
  22. /* key matrix size */
  23. // Rows are doubled-up
  24. #define MATRIX_ROWS 10
  25. #define MATRIX_COLS 6
  26. // wiring of each half
  27. #define MATRIX_ROW_PINS { D1, D0, D3, B7, B6 }
  28. #define MATRIX_COL_PINS { F7, F6, F5, B3, B2, B1 }
  29. /* COL2ROW or ROW2COL */
  30. #define DIODE_DIRECTION COL2ROW
  31. /*
  32. * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
  33. */
  34. #define SOFT_SERIAL_PIN D2
  35. #define EE_HANDS
  36. #define SPLIT_USB_DETECT
  37. #define SPLIT_USB_TIMEOUT 1000
  38. /* define if matrix has ghost */
  39. //#define MATRIX_HAS_GHOST
  40. /* number of backlight levels */
  41. #ifdef BACKLIGHT_ENABLE
  42. #define BACKLIGHT_PIN B5
  43. #define BACKLIGHT_LEVELS 9
  44. // #define BACKLIGHT_BREATHING
  45. #endif
  46. /* Set 0 if debouncing isn't needed */
  47. #define DEBOUNCE 5
  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. /* ws2812 RGB LED */
  53. #ifdef RGBLIGHT_ENABLE
  54. #define RGB_DI_PIN B5
  55. #define RGBLED_NUM 18 // Number of LEDs */
  56. #endif
  57. /*
  58. * Feature disable options
  59. * These options are also useful to firmware size reduction.
  60. */
  61. /* disable debug print */
  62. // #define NO_DEBUG
  63. /* disable print */
  64. // #define NO_PRINT
  65. /* disable action features */
  66. //#define NO_ACTION_LAYER
  67. //#define NO_ACTION_TAPPING
  68. //#define NO_ACTION_ONESHOT
  69. //#define NO_ACTION_MACRO
  70. //#define NO_ACTION_FUNCTION