config.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x5742 // WB
  5. #define PRODUCT_ID 0x6E75 // NU
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER Walletburner
  8. #define PRODUCT Neuron
  9. /* key matrix size */
  10. #define MATRIX_ROWS 4
  11. #define MATRIX_COLS 12
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { D0, D1, D3, F5 }
  14. #define MATRIX_COL_PINS { F0, F7, F6, F4, F1, E6, D6, D2, B4, D7, B6, D5 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. /* number of backlight levels */
  19. #define BACKLIGHT_PIN B5
  20. #ifdef BACKLIGHT_PIN
  21. #define BACKLIGHT_LEVELS 3
  22. #endif
  23. /* Set 0 if debouncing isn't needed */
  24. #define DEBOUNCE 5
  25. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  26. #define LOCKING_SUPPORT_ENABLE
  27. /* Locking resynchronize hack */
  28. #define LOCKING_RESYNC_ENABLE
  29. #define RGB_DI_PIN B1
  30. #ifdef RGB_DI_PIN
  31. #define RGBLIGHT_ANIMATIONS
  32. #define RGBLED_NUM 1
  33. #define RGBLIGHT_HUE_STEP 8
  34. #define RGBLIGHT_SAT_STEP 8
  35. #define RGBLIGHT_VAL_STEP 8
  36. #endif