config.h 1005 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x726F
  5. #define PRODUCT_ID 0x0001
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER ROTR
  8. #define PRODUCT ROTR
  9. #define DESCRIPTION Macro Pad and Big Knob
  10. /* key matrix size */
  11. #define MATRIX_ROWS 1
  12. #define MATRIX_COLS 3
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { E6 }
  15. #define MATRIX_COL_PINS { D1, D0, D4 }
  16. /*Rotary Encoder Pins*/
  17. #define ENCODERS_PAD_A { C6 }
  18. #define ENCODERS_PAD_B { D7 }
  19. /*Sets the number of pulses per increment*/
  20. #define ENCODER_RESOLUTION 2
  21. #define UNUSED_PINS
  22. /* COL2ROW or ROW2COL */
  23. #define DIODE_DIRECTION COL2ROW
  24. /* number of backlight levels */
  25. #ifdef BACKLIGHT_PIN
  26. #define BACKLIGHT_LEVELS 3
  27. #endif
  28. /* Set 0 if debouncing isn't needed */
  29. #define DEBOUNCE 5
  30. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  31. #define LOCKING_SUPPORT_ENABLE
  32. /* Locking resynchronize hack */
  33. #define LOCKING_RESYNC_ENABLE