config.h 1.9 KB

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