config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0xCA60
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER MECHKEYS
  8. #define PRODUCT ACR60
  9. #define DESCRIPTION 60% customizable keyboard
  10. /* key matrix size */
  11. #define MATRIX_ROWS 5
  12. #define MATRIX_COLS 15
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
  15. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4 }
  16. #define UNUSED_PINS
  17. /* COL2ROW or ROW2COL */
  18. #define DIODE_DIRECTION COL2ROW
  19. /* number of backlight levels */
  20. #define BACKLIGHT_PIN B6
  21. #define BACKLIGHT_LEVELS 5
  22. /* Set 0 if debouncing isn't needed */
  23. #define DEBOUNCING_DELAY 5
  24. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  25. #define LOCKING_SUPPORT_ENABLE
  26. /* Locking resynchronize hack */
  27. #define LOCKING_RESYNC_ENABLE
  28. /* key combination for command */
  29. #define IS_COMMAND() ( \
  30. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  31. )
  32. /* prevent stuck modifiers */
  33. #define PREVENT_STUCK_MODIFIERS
  34. #define RGB_DI_PIN E2
  35. #define RGBLIGHT_ANIMATIONS
  36. #define RGBLED_NUM 20
  37. #define RGBLIGHT_HUE_STEP 8
  38. #define RGBLIGHT_SAT_STEP 8
  39. #define RGBLIGHT_VAL_STEP 8