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.

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