config.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 0x6060
  7. #define DEVICE_VER 0x0001
  8. #define MANUFACTURER James Taylor
  9. #define PRODUCT Space Odyssey
  10. #define DESCRIPTION Keyboard
  11. #define CATERINA_BOOTLOADER
  12. #define MOUSEKEY_INTERVAL 16
  13. #define MOUSEKEY_DELAY 0
  14. #define MOUSEKEY_TIME_TO_MAX 60
  15. #define MOUSEKEY_MAX_SPEED 7
  16. #define MOUSEKEY_WHEEL_DELAY 0
  17. /* key matrix size */
  18. #define MATRIX_ROWS 6
  19. #define MATRIX_COLS 12
  20. /* key matrix pins */
  21. #define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3 }
  22. #define MATRIX_COL_PINS { B2, B6, B5, B4, E6, D7, C6, D4, D0, D1, D2, D3 }
  23. #define UNUSED_PINS
  24. /* COL2ROW or ROW2COL */
  25. #define DIODE_DIRECTION COL2ROW
  26. /* number of backlight levels */
  27. #ifdef BACKLIGHT_PIN
  28. #define BACKLIGHT_LEVELS 0
  29. #endif
  30. /* Set 0 if debouncing isn't needed */
  31. #define DEBOUNCING_DELAY 5
  32. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  33. #define LOCKING_SUPPORT_ENABLE
  34. /* Locking resynchronize hack */
  35. #define LOCKING_RESYNC_ENABLE
  36. /* key combination for command */
  37. #define IS_COMMAND() ( \
  38. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  39. )
  40. /* prevent stuck modifiers */
  41. #define PREVENT_STUCK_MODIFIERS
  42. #ifdef RGB_DI_PIN
  43. #define RGBLIGHT_ANIMATIONS
  44. #define RGBLED_NUM 0
  45. #define RGBLIGHT_HUE_STEP 8
  46. #define RGBLIGHT_SAT_STEP 8
  47. #define RGBLIGHT_VAL_STEP 8
  48. #endif
  49. #endif