config.h 1.1 KB

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