diff options
Diffstat (limited to 'keyboards/kingly_keys/romac_plus/config.h')
| -rw-r--r-- | keyboards/kingly_keys/romac_plus/config.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/keyboards/kingly_keys/romac_plus/config.h b/keyboards/kingly_keys/romac_plus/config.h new file mode 100644 index 000000000..503a463f5 --- /dev/null +++ b/keyboards/kingly_keys/romac_plus/config.h | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "config_common.h" | ||
| 4 | |||
| 5 | /* USB Device descriptor parameter */ | ||
| 6 | #define VENDOR_ID 0xFEED | ||
| 7 | #define PRODUCT_ID 0x6060 | ||
| 8 | #define DEVICE_VER 0x0001 | ||
| 9 | #define MANUFACTURER TheRoyalSweatshirt | ||
| 10 | #define PRODUCT RoMac+ | ||
| 11 | #define DESCRIPTION A *Plaid inspired twelve-key macropad with upgraded features | ||
| 12 | /* key matrix size */ | ||
| 13 | #define MATRIX_ROWS 4 | ||
| 14 | #define MATRIX_COLS 3 | ||
| 15 | |||
| 16 | /* key matrix pins */ | ||
| 17 | #define MATRIX_ROW_PINS { C6, D4, D2, D3 } | ||
| 18 | #define MATRIX_COL_PINS { F6, F5, F4 } | ||
| 19 | #define UNUSED_PINS | ||
| 20 | |||
| 21 | #define ENCODERS_PAD_A { B3 } | ||
| 22 | #define ENCODERS_PAD_B { B2 } | ||
| 23 | |||
| 24 | /* COL2ROW or ROW2COL */ | ||
| 25 | #define DIODE_DIRECTION COL2ROW | ||
| 26 | |||
| 27 | /* number of backlight levels */ | ||
| 28 | #define BACKLIGHT_LEVELS 0 | ||
| 29 | |||
| 30 | /* Set 0 if debouncing isn't needed */ | ||
| 31 | #define DEBOUNCE 5 | ||
| 32 | |||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 34 | #define LOCKING_SUPPORT_ENABLE | ||
| 35 | |||
| 36 | /* Locking resynchronize hack */ | ||
| 37 | #define LOCKING_RESYNC_ENABLE | ||
| 38 | |||
| 39 | /* ws2812 RGB LED */ | ||
| 40 | #define RGB_DI_PIN F7 | ||
| 41 | #define RGBLED_NUM 4 // Number of LEDs | ||
| 42 | |||
| 43 | #define RGBLIGHT_ANIMATIONS | ||
| 44 | #define RGBLIGHT_HUE_STEP 6 | ||
| 45 | #define RGBLIGHT_SAT_STEP 4 | ||
| 46 | #define RGBLIGHT_VAL_STEP 8 | ||
