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.

43 lines
1.0 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x0A0C
  6. #define DEVICE_VER 0x1001
  7. #define MANUFACTURER di0ib
  8. #define PRODUCT Luddite
  9. #define DESCRIPTION Luddite Keyboard
  10. /* key matrix size */
  11. #define MATRIX_ROWS 8
  12. #define MATRIX_COLS 8
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { D3, D2, D1, D0, D4, C6, D7, E6 }
  15. #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
  16. #define UNUSED_PINS
  17. /* number of backlight levels */
  18. #define BACKLIGHT_PIN B5
  19. #ifdef BACKLIGHT_PIN
  20. #define BACKLIGHT_LEVELS 4
  21. #endif
  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. /* ws2812 RGB LED */
  29. #define RGB_DI_PIN B4
  30. #define RGBLIGHT_ANIMATIONS
  31. #define RGBLED_NUM 8 // Number of LEDs
  32. // #define RGBLIGHT_HUE_STEP 10
  33. // #define RGBLIGHT_SAT_STEP 17
  34. // #define RGBLIGHT_VAL_STEP 17