config.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. /* key combination for command
  30. #define IS_COMMAND() ( \
  31. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  32. )
  33. */
  34. /* Backlight configuration
  35. */
  36. #define BACKLIGHT_LEVELS 8
  37. /* Underlight configuration
  38. */
  39. #define RGB_DI_PIN E2
  40. #define RGBLIGHT_ANIMATIONS
  41. #define RGBLED_NUM 8 // Number of LEDs
  42. #define RGBLIGHT_HUE_STEP 10
  43. #define RGBLIGHT_SAT_STEP 17
  44. #define RGBLIGHT_VAL_STEP 17
  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
  60. #ifndef CONFIG_USER_H
  61. #define CONFIG_USER_H
  62. #define MOUSEKEY_DELAY 0
  63. #define MOUSEKEY_INTERVAL 1
  64. #define MOUSEKEY_MAX_SPEED 4
  65. #define MOUSEKEY_TIME_TO_MAX 77
  66. #define MOUSEKEY_WHEEL_MAX_SPEED 1
  67. #define MOUSEKEY_WHEEL_TIME_TO_MAX 255
  68. // only change
  69. #undef RGB_DI_PIN
  70. #define RGB_DI_PIN B2
  71. #endif