config.h 985 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x4F42
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER OsciX
  8. #define PRODUCT Shambles TKL
  9. /* key matrix size */
  10. #define MATRIX_ROWS 4
  11. #define MATRIX_COLS 13
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { F5, B3, B1, F7 }
  14. #define MATRIX_COL_PINS { D3, D1, D0, D4, C6, D7, E6, B4, B5, B6, B2, F4, F6 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. /* Set 0 if debouncing isn't needed */
  19. #define DEBOUNCE 5
  20. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  21. #define LOCKING_SUPPORT_ENABLE
  22. /* Locking resynchronize hack */
  23. #define LOCKING_RESYNC_ENABLE
  24. /* key combination for command */
  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