You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
958 B

  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. /* key matrix size */
  10. #define MATRIX_ROWS 1
  11. #define MATRIX_COLS 3
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { E6 }
  14. #define MATRIX_COL_PINS { D1, D0, D4 }
  15. /*Rotary Encoder Pins*/
  16. #define ENCODERS_PAD_A { C6 }
  17. #define ENCODERS_PAD_B { D7 }
  18. /*Sets the number of pulses per increment*/
  19. #define ENCODER_RESOLUTION 2
  20. #define UNUSED_PINS
  21. /* COL2ROW or ROW2COL */
  22. #define DIODE_DIRECTION COL2ROW
  23. /* number of backlight levels */
  24. #ifdef BACKLIGHT_PIN
  25. #define BACKLIGHT_LEVELS 3
  26. #endif
  27. /* Set 0 if debouncing isn't needed */
  28. #define DEBOUNCE 5
  29. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  30. #define LOCKING_SUPPORT_ENABLE
  31. /* Locking resynchronize hack */
  32. #define LOCKING_RESYNC_ENABLE