config.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. #include "config_common.h"
  4. /* USB Device descriptor parameter */
  5. #define VENDOR_ID 0xFEED
  6. #define PRODUCT_ID 0x6060
  7. #define DEVICE_VER 0x0003
  8. #define MANUFACTURER SATAN
  9. #define PRODUCT GH60
  10. /* key matrix size */
  11. #define MATRIX_ROWS 5
  12. #define MATRIX_COLS 14
  13. // ROWS: Top to bottom, COLS: Left to right
  14. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
  15. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3 }
  16. #define UNUSED_PINS
  17. #define BACKLIGHT_PIN B6
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION COL2ROW
  20. /* define if matrix has ghost */
  21. //#define MATRIX_HAS_GHOST
  22. /* Set 0 if debouncing isn't needed */
  23. #define DEBOUNCE 5
  24. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  25. //#define LOCKING_SUPPORT_ENABLE
  26. /* Locking resynchronize hack */
  27. //#define LOCKING_RESYNC_ENABLE
  28. /* Backlight configuration
  29. */
  30. #define BACKLIGHT_LEVELS 8
  31. /* Underlight configuration
  32. */
  33. #define RGB_DI_PIN E2
  34. #define RGBLIGHT_ANIMATIONS
  35. #define RGBLED_NUM 8 // Number of LEDs
  36. #define RGBLIGHT_HUE_STEP 10
  37. #define RGBLIGHT_SAT_STEP 17
  38. #define RGBLIGHT_VAL_STEP 17
  39. /*
  40. * Feature disable options
  41. * These options are also useful to firmware size reduction.
  42. */
  43. /* disable debug print */
  44. //#define NO_DEBUG
  45. /* disable print */
  46. //#define NO_PRINT
  47. /* disable action features */
  48. //#define NO_ACTION_LAYER
  49. //#define NO_ACTION_TAPPING
  50. #define NO_ACTION_ONESHOT
  51. #define NO_ACTION_MACRO
  52. #define NO_ACTION_FUNCTION
  53. #endif
  54. #ifndef CONFIG_USER_H
  55. #define CONFIG_USER_H
  56. #define MOUSEKEY_DELAY 0
  57. #define MOUSEKEY_INTERVAL 1
  58. #define MOUSEKEY_MAX_SPEED 4
  59. #define MOUSEKEY_TIME_TO_MAX 77
  60. #define MOUSEKEY_WHEEL_MAX_SPEED 1
  61. #define MOUSEKEY_WHEEL_TIME_TO_MAX 255
  62. // only change
  63. #undef RGB_DI_PIN
  64. #define RGB_DI_PIN B2
  65. #endif