4 #include "config_common.h"
6 /* USB Device descriptor parameter */
7 #define VENDOR_ID 0xFEED
8 #define PRODUCT_ID 0x2004
9 #define DEVICE_VER 0x0001
10 #define MANUFACTURER 1up Keyboards
11 #define PRODUCT Four Banger
12 #define DESCRIPTION 2x2 grid
19 #define MATRIX_ROW_PINS { B2, B6 }
20 #define MATRIX_COL_PINS { B5, B4 }
23 /* COL2ROW or ROW2COL */
24 #define DIODE_DIRECTION COL2ROW
26 /* number of backlight levels */
29 #define BACKLIGHT_LEVELS 0
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