diff options
Diffstat (limited to 'keyboards/wsk/kodachi50/config.h')
| -rw-r--r-- | keyboards/wsk/kodachi50/config.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/keyboards/wsk/kodachi50/config.h b/keyboards/wsk/kodachi50/config.h new file mode 100644 index 000000000..fca7a5b99 --- /dev/null +++ b/keyboards/wsk/kodachi50/config.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "config_common.h" | ||
| 4 | |||
| 5 | /* USB Device descriptor parameter */ | ||
| 6 | #define VENDOR_ID 0xFEED | ||
| 7 | #define PRODUCT_ID 0x72D4 | ||
| 8 | #define DEVICE_VER 0x0001 | ||
| 9 | #define MANUFACTURER Worldspawn00 | ||
| 10 | #define PRODUCT Kodachi50 | ||
| 11 | #define DESCRIPTION Mirror stagger 50% keyboard | ||
| 12 | |||
| 13 | /* key matrix size */ | ||
| 14 | #define MATRIX_ROWS 8 | ||
| 15 | #define MATRIX_COLS 7 | ||
| 16 | |||
| 17 | /* key matrix pins */ | ||
| 18 | #define MATRIX_ROW_PINS { D2, B5, B6, B2, B3, B1, F7, F6 } | ||
| 19 | #define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6, B4 } | ||
| 20 | #define UNUSED_PINS | ||
| 21 | |||
| 22 | /* COL2ROW or ROW2COL */ | ||
| 23 | #define DIODE_DIRECTION COL2ROW | ||
| 24 | |||
| 25 | /* number of backlight levels */ | ||
| 26 | |||
| 27 | #ifdef BACKLIGHT_PIN | ||
| 28 | #define BACKLIGHT_LEVELS 7 | ||
| 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 | #define RGB_DI_PIN D3 | ||
| 41 | #ifdef RGB_DI_PIN | ||
| 42 | #define RGBLIGHT_ANIMATIONS | ||
| 43 | #define RGBLED_NUM 10 | ||
| 44 | #define RGBLIGHT_HUE_STEP 8 | ||
| 45 | #define RGBLIGHT_SAT_STEP 8 | ||
| 46 | #define RGBLIGHT_VAL_STEP 8 | ||
| 47 | #endif | ||
| 48 | |||
