config.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. #ifndef CONFIG_H
  16. #define CONFIG_H
  17. #include "config_common.h"
  18. /* USB Device descriptor parameter */
  19. #define VENDOR_ID 0xCEEB
  20. #define PRODUCT_ID 0x1169
  21. #define DEVICE_VER 0x0100
  22. #define MANUFACTURER Keebio
  23. #define PRODUCT BFO-9000
  24. #define DESCRIPTION Really big split ortholinear keyboard
  25. /* key matrix size */
  26. // Rows are doubled-up
  27. #define MATRIX_ROWS 12
  28. #define MATRIX_COLS 9
  29. // wiring of each half
  30. #define MATRIX_ROW_PINS { D3, D2, D4, C6, D7, E6 }
  31. #define MATRIX_COL_PINS { B5, B6, B2, B3, B1, F7, F6, F5, F4 }
  32. /* Set 0 if debouncing isn't needed */
  33. #define DEBOUNCING_DELAY 5
  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. /* key combination for command */
  39. #define IS_COMMAND() ( \
  40. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  41. )
  42. /* ws2812 RGB LED */
  43. #define RGB_DI_PIN B4
  44. #define RGBLED_NUM 20 // Number of LEDs
  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 NO_ACTION_MACRO
  58. //#define NO_ACTION_FUNCTION
  59. #endif