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.

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