diff options
Diffstat (limited to 'keyboards/omnikey_bh/config.h')
| -rw-r--r-- | keyboards/omnikey_bh/config.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/keyboards/omnikey_bh/config.h b/keyboards/omnikey_bh/config.h new file mode 100644 index 000000000..6c9be77b6 --- /dev/null +++ b/keyboards/omnikey_bh/config.h | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | #ifndef CONFIG_H | ||
| 2 | #define CONFIG_H | ||
| 3 | |||
| 4 | #include "config_common.h" | ||
| 5 | |||
| 6 | /* USB Device descriptor parameter */ | ||
| 7 | #define VENDOR_ID 0xFEED | ||
| 8 | #define PRODUCT_ID 0x6060 | ||
| 9 | #define DEVICE_VER 0x0001 | ||
| 10 | #define MANUFACTURER blindassassin111 | ||
| 11 | #define PRODUCT Omnikey Blackheart PCB | ||
| 12 | #define DESCRIPTION Teensy++ Board for Omnikey keyboards | ||
| 13 | |||
| 14 | /* key matrix size */ | ||
| 15 | #define MATRIX_ROWS 6 | ||
| 16 | #define MATRIX_COLS 23 | ||
| 17 | |||
| 18 | /* key matrix pins */ | ||
| 19 | #define MATRIX_ROW_PINS { B7, D0, D1, D2, D3, D4 } | ||
| 20 | #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 } | ||
| 21 | #define UNUSED_PINS | ||
| 22 | |||
| 23 | /* COL2ROW or ROW2COL */ | ||
| 24 | #define DIODE_DIRECTION COL2ROW | ||
| 25 | |||
| 26 | /* number of backlight levels */ | ||
| 27 | #ifdef BACKLIGHT_PIN | ||
| 28 | #define BACKLIGHT_LEVELS 0 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | /* Set 0 if debouncing isn't needed */ | ||
| 32 | #define DEBOUNCE 5 | ||
| 33 | |||
| 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 35 | #define LOCKING_SUPPORT_ENABLE | ||
| 36 | |||
| 37 | /* Locking resynchronize hack */ | ||
| 38 | #define LOCKING_RESYNC_ENABLE | ||
| 39 | |||
| 40 | /* force n-key rollover*/ | ||
| 41 | #define FORCE_NKRO | ||
| 42 | |||
| 43 | #ifdef RGB_DI_PIN | ||
| 44 | #define RGBLIGHT_ANIMATIONS | ||
| 45 | #define RGBLED_NUM 0 | ||
| 46 | #define RGBLIGHT_HUE_STEP 8 | ||
| 47 | #define RGBLIGHT_SAT_STEP 8 | ||
| 48 | #define RGBLIGHT_VAL_STEP 8 | ||
| 49 | #endif | ||
| 50 | |||
| 51 | #endif | ||
