config.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6060
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER hineybush
  8. #define PRODUCT hineyG80
  9. /* key matrix size */
  10. #define MATRIX_ROWS 12
  11. #define MATRIX_COLS 9
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { B2, B3, D0, B1, D2, D1, D5, D3, D6, D4, B4, D7 }
  14. #define MATRIX_COL_PINS { C7, F7, F6, F5, F4, F1, F0, B7, B0 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. #define LED_NUM_LOCK_PIN C6
  19. #define LED_CAPS_LOCK_PIN B6
  20. #define LED_SCROLL_LOCK_PIN B5
  21. /* number of backlight levels */
  22. #ifdef BACKLIGHT_PIN
  23. #define BACKLIGHT_LEVELS 3
  24. #endif
  25. /* Set 0 if debouncing isn't needed */
  26. #define DEBOUNCE 5
  27. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  28. #define LOCKING_SUPPORT_ENABLE
  29. /* Locking resynchronize hack */
  30. #define LOCKING_RESYNC_ENABLE
  31. #ifdef RGB_DI_PIN
  32. #define RGBLIGHT_ANIMATIONS
  33. #define RGBLED_NUM 0
  34. #define RGBLIGHT_HUE_STEP 8
  35. #define RGBLIGHT_SAT_STEP 8
  36. #define RGBLIGHT_VAL_STEP 8
  37. #endif