config.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x4DAE
  5. #define PRODUCT_ID 0x1000
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER joelproko
  8. #define PRODUCT jopr-106-Nl2SR-Cl2nL
  9. #define DESCRIPTION jopr-106 Mechanical Keyboard
  10. /* key matrix size */
  11. #define MATRIX_ROWS 10
  12. #define MATRIX_COLS 11
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { D0, D6, D2, D4, D3, D5, D7, C6, B6, F5 }
  15. #define MATRIX_COL_PINS { B3, B2, B1, B0, F7, E6, F6, B5, C7, B4, D1 }
  16. #define UNUSED_PINS { B7 }
  17. /* COL2ROW or ROW2COL */
  18. #define DIODE_DIRECTION COL2ROW
  19. /* number of backlight levels */
  20. #ifdef BACKLIGHT_PIN
  21. #define BACKLIGHT_LEVELS 0
  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 IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) */
  30. #define NO_ACTION_ONESHOT
  31. #define TAPPING_TOGGLE 3
  32. /*#define RGB_DI_PIN F4*/
  33. #ifdef RGB_DI_PIN
  34. /*#define RGBLIGHT_ANIMATIONS*/
  35. #define RGBLED_NUM 1
  36. #define RGBLIGHT_HUE_STEP 1
  37. #define RGBLIGHT_SAT_STEP 1
  38. #define RGBLIGHT_VAL_STEP 1
  39. #endif