config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 Sentraq
  8. #define PRODUCT S60-X
  9. #define DESCRIPTION QMK keyboard firmware for S60-X
  10. /* key matrix size */
  11. #define MATRIX_ROWS 5
  12. #define MATRIX_COLS 15
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 }
  15. #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 }
  16. #define UNUSED_PINS { F0 }
  17. /* number of backlight levels */
  18. #define BACKLIGHT_PIN B7
  19. #ifdef BACKLIGHT_PIN
  20. #define BACKLIGHT_BREATHING
  21. #define BACKLIGHT_LEVELS 3
  22. #endif
  23. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  24. #define LOCKING_SUPPORT_ENABLE
  25. /* Locking resynchronize hack */
  26. #define LOCKING_RESYNC_ENABLE
  27. /* COL2ROW or ROW2COL */
  28. #define DIODE_DIRECTION COL2ROW
  29. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  30. #define DEBOUNCING_DELAY 5
  31. #define LOCKING_SUPPORT_ENABLE
  32. #define LOCKING_RESYNC_ENABLE
  33. #define NO_ACTION_ONESHOT
  34. #define NO_ACTION_MACRO
  35. #define NO_ACTION_FUNCTION