4 #include "config_common.h"
6 /* USB Device descriptor parameter */
7 #define VENDOR_ID 0xFEED
8 #define PRODUCT_ID 0x6060
9 #define DEVICE_VER 0x0001
10 #define MANUFACTURER 40 Percent Club
11 #define PRODUCT Gherkin
12 #define DESCRIPTION A 30 key ortholinear keyboard
19 #define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
20 #define MATRIX_COL_PINS { B4, E6, D7, C6, D4, D0 }
23 /* COL2ROW or ROW2COL */
24 #define DIODE_DIRECTION COL2ROW
26 /* number of backlight levels */
27 #define BACKLIGHT_PIN B5
29 #define BACKLIGHT_LEVELS 3
32 /* Set 0 if debouncing isn't needed */
33 #define DEBOUNCING_DELAY 5
35 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
36 #define LOCKING_SUPPORT_ENABLE
38 /* Locking resynchronize hack */
39 #define LOCKING_RESYNC_ENABLE
41 /* key combination for command */
42 #define IS_COMMAND() ( \
43 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
46 /* prevent stuck modifiers */
47 #define PREVENT_STUCK_MODIFIERS
51 #define RGBLIGHT_ANIMATIONS
53 #define RGBLIGHT_HUE_STEP 8
54 #define RGBLIGHT_SAT_STEP 8
55 #define RGBLIGHT_VAL_STEP 8