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.

51 lines
1.2 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 blindassassin111
  9. #define PRODUCT Omnikey Blackheart PCB
  10. #define DESCRIPTION Teensy++ Board for Omnikey keyboards
  11. /* key matrix size */
  12. #define MATRIX_ROWS 6
  13. #define MATRIX_COLS 23
  14. /* key matrix pins */
  15. #define MATRIX_ROW_PINS { B7, D0, D1, D2, D3, D4 }
  16. #define MATRIX_COL_PINS { C2, C3, C4, C7, C1, C0, E1, E0, D7, F7, F6, F5, F4, F3, F2, F1, F0, E6, E7, B0, B1, B2, B3 }
  17. #define UNUSED_PINS
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION COL2ROW
  20. /* number of backlight levels */
  21. #ifdef BACKLIGHT_PIN
  22. #define BACKLIGHT_LEVELS 0
  23. #endif
  24. /* Set 0 if debouncing isn't needed */
  25. #define DEBOUNCE 5
  26. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  27. #define LOCKING_SUPPORT_ENABLE
  28. /* Locking resynchronize hack */
  29. #define LOCKING_RESYNC_ENABLE
  30. /* force n-key rollover*/
  31. #define FORCE_NKRO
  32. #ifdef RGB_DI_PIN
  33. #define RGBLIGHT_ANIMATIONS
  34. #define RGBLED_NUM 0
  35. #define RGBLIGHT_HUE_STEP 8
  36. #define RGBLIGHT_SAT_STEP 8
  37. #define RGBLIGHT_VAL_STEP 8
  38. #endif
  39. #endif