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.

70 lines
2.1 KiB

  1. /* Copyright 2019 omkbd
  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. /* USB Device descriptor parameter */
  18. #define VENDOR_ID 0xFEED
  19. #define PRODUCT_ID 0x0000
  20. #define DEVICE_VER 0x0005
  21. #define MANUFACTURER Omkbd
  22. #define PRODUCT runner3680
  23. #define DESCRIPTION A split keyboard
  24. /* key matrix size */
  25. // Rows are doubled-up
  26. #define MATRIX_ROWS 8
  27. #define MATRIX_COLS 8
  28. // wiring of each half
  29. #define MATRIX_ROW_PINS { D4, C6, D7, E6 }
  30. #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 ,B6 }
  31. // #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4 } //uncomment this line and comment line above if you need to reverse left-to-right key order
  32. #define DIODE_DIRECTION COL2ROW
  33. /* define tapping term */
  34. #define TAPPING_TERM 120
  35. /* define if matrix has ghost */
  36. //#define MATRIX_HAS_GHOST
  37. /* Set 0 if debouncing isn't needed */
  38. #define DEBOUNCE 5
  39. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  40. #define LOCKING_SUPPORT_ENABLE
  41. /* Locking resynchronize hack */
  42. #define LOCKING_RESYNC_ENABLE
  43. /* ws2812 RGB LED */
  44. #define RGB_DI_PIN D3
  45. #define RGBLIGHT_ANIMATIONS
  46. #define RGBLED_NUM 64
  47. #define RGBLIGHT_SPLIT
  48. #define RGBLED_SPLIT { 32, 32 } // Number of LEDs
  49. #define RGBLIGHT_LIMIT_VAL 100
  50. #define SOFT_SERIAL_PIN D2
  51. #define SELECT_SOFT_SERIAL_SPEED 1
  52. /*Sets the protocol speed when using serial communication*/
  53. //Speeds:
  54. //0: about 189kbps (Experimental only)
  55. //1: about 137kbps (default)
  56. //2: about 75kbps
  57. //3: about 39kbps
  58. //4: about 26kbps
  59. //5: about 20kbps