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.

53 lines
1.2 KiB

  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. #include "config_common.h"
  4. /* USB Device descriptor parameter */
  5. #define VENDOR_ID 0xFEED
  6. #define PRODUCT_ID 0x6776
  7. #define DEVICE_VER 0x0001
  8. #define MANUFACTURER farmakon
  9. #define PRODUCT "XMMX"
  10. #define DESCRIPTION "XMMX"
  11. /* key matrix size */
  12. #define MATRIX_ROWS 6
  13. #define MATRIX_COLS 17
  14. /* key matrix pins */
  15. #define MATRIX_ROW_PINS { B0, F6, F5, F4, F1, F0 }
  16. #define MATRIX_COL_PINS { B3, B2, B1, E6, B7, C7, C6, D4, D6, D7, B4, D0, D1, F7, D2, D3, D5 }
  17. #define UNUSED_PINS
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION COL2ROW
  20. #define LED_CAPS_LOCK_PIN B6
  21. #define LED_SCROLL_LOCK_PIN B5
  22. #define LED_PIN_ON_STATE 0
  23. /* number of backlight levels */
  24. #ifdef BACKLIGHT_PIN
  25. #define BACKLIGHT_LEVELS 0
  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
  33. #ifdef RGB_DI_PIN
  34. #define RGBLIGHT_ANIMATIONS
  35. #define RGBLED_NUM 0
  36. #define RGBLIGHT_HUE_STEP 8
  37. #define RGBLIGHT_SAT_STEP 8
  38. #define RGBLIGHT_VAL_STEP 8
  39. #endif
  40. #endif