diff options
Diffstat (limited to 'keyboards/toad/config.h')
| -rw-r--r-- | keyboards/toad/config.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/toad/config.h b/keyboards/toad/config.h new file mode 100644 index 000000000..f1d32c15b --- /dev/null +++ b/keyboards/toad/config.h | |||
| @@ -0,0 +1,54 @@ | |||
| 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 0x6776 | ||
| 9 | #define DEVICE_VER 0x0001 | ||
| 10 | #define MANUFACTURER farmakon | ||
| 11 | #define PRODUCT "TOAD" | ||
| 12 | #define DESCRIPTION "TOAD" | ||
| 13 | |||
| 14 | /* key matrix size */ | ||
| 15 | #define MATRIX_ROWS 6 | ||
| 16 | #define MATRIX_COLS 14 | ||
| 17 | |||
| 18 | /* key matrix pins */ | ||
| 19 | #define MATRIX_ROW_PINS { B0, F6, F5, F4, F1, F0 } | ||
| 20 | #define MATRIX_COL_PINS { B3, B2, B1, E6, B7, C7, C6, D4, D6, D7, B4, D0, D1, F7 } | ||
| 21 | #define UNUSED_PINS | ||
| 22 | |||
| 23 | /* COL2ROW or ROW2COL */ | ||
| 24 | #define DIODE_DIRECTION COL2ROW | ||
| 25 | |||
| 26 | /* number of backlight levels */ | ||
| 27 | |||
| 28 | #ifdef BACKLIGHT_PIN | ||
| 29 | #define BACKLIGHT_LEVELS 0 | ||
| 30 | #endif | ||
| 31 | |||
| 32 | /* Set 0 if debouncing isn't needed */ | ||
| 33 | #define DEBOUNCING_DELAY 5 | ||
| 34 | |||
| 35 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 36 | #define LOCKING_SUPPORT_ENABLE | ||
| 37 | |||
| 38 | /* Locking resynchronize hack */ | ||
| 39 | #define LOCKING_RESYNC_ENABLE | ||
| 40 | |||
| 41 | /* key combination for command */ | ||
| 42 | #define IS_COMMAND() ( \ | ||
| 43 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||
| 44 | ) | ||
| 45 | |||
| 46 | #ifdef RGB_DI_PIN | ||
| 47 | #define RGBLIGHT_ANIMATIONS | ||
| 48 | #define RGBLED_NUM 0 | ||
| 49 | #define RGBLIGHT_HUE_STEP 8 | ||
| 50 | #define RGBLIGHT_SAT_STEP 8 | ||
| 51 | #define RGBLIGHT_VAL_STEP 8 | ||
| 52 | #endif | ||
| 53 | |||
| 54 | #endif | ||
