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.

62 lines
1.5 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. #define KEYBOARD_PCB_REV 11
  4. /* USB Device descriptor parameter */
  5. #define VENDOR_ID 0xFEED
  6. #define PRODUCT_ID 0x0666
  7. #define DEVICE_VER 0x1337
  8. #define MANUFACTURER Henrik O. Sørensen
  9. #define PRODUCT Omnikey(-ish) Keyboard
  10. /* key matrix size */
  11. #define MATRIX_ROWS 6
  12. #define MATRIX_COLS 23
  13. /* key matrix pins */
  14. #if KEYBOARD_PCB_REV == 10
  15. #define MATRIX_ROW_PINS { D2, D3, D4, D5, D6, D7 }
  16. #else
  17. #define MATRIX_ROW_PINS { D2, D3, D4, D5, E6, D7 }
  18. #endif
  19. #define MATRIX_COL_PINS { F0, F1, F2, F3, F4, F5, F6, F7, C7, C6, C5, C4, C3, C2, C1, C0, B0, B1, B2, B3, B4, B5, B6 }
  20. #define LED_NUM_LOCK_PIN E0
  21. #define LED_CAPS_LOCK_PIN E1
  22. #define LED_SCROLL_LOCK_PIN B7
  23. /* COL2ROW or ROW2COL */
  24. #define DIODE_DIRECTION ROW2COL
  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 DEBOUNCE 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. /* force n-key rollover*/
  36. #define FORCE_NKRO
  37. #ifdef RGB_DI_PIN
  38. #define RGBLIGHT_ANIMATIONS
  39. #define RGBLED_NUM 0
  40. #define RGBLIGHT_HUE_STEP 8
  41. #define RGBLIGHT_SAT_STEP 8
  42. #define RGBLIGHT_VAL_STEP 8
  43. #endif
  44. #define DYNAMIC_MACRO_COUNT 12
  45. #define DYNAMIC_MACRO_SIZE 48
  46. #define DYNAMIC_MACRO_EEPROM_STORAGE
  47. #define DYNAMIC_MACRO_EEPROM_MAGIC_ADDR (uint16_t*)32
  48. #define DYNAMIC_MACRO_EEPROM_BLOCK0_ADDR (uint8_t*)34