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 Unikeyboard
12 #define DESCRIPTION 4x5 number/macropad.
19 #define MATRIX_ROW_PINS { B2, B3, B1, F7, F6 }
20 #define MATRIX_COL_PINS { B5, B4, E6, D7 }
23 /* COL2ROW or ROW2COL */
24 #define DIODE_DIRECTION ROW2COL
26 /* number of backlight levels */
27 /* Not sure what pin controls the backlighting, need help for this. */
29 #define BACKLIGHT_LEVELS 5
31 /* Set 0 if debouncing isn't needed */
32 #define DEBOUNCING_DELAY 5
34 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
35 #define LOCKING_SUPPORT_ENABLE
37 /* Locking resynchronize hack */
38 #define LOCKING_RESYNC_ENABLE
40 /* key combination for command */
41 #define IS_COMMAND() ( \
42 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
45 /* prevent stuck modifiers */
46 #define PREVENT_STUCK_MODIFIERS
48 /* there is no rgb underglow by default. */
50 #define RGBLIGHT_ANIMATIONS
52 #define RGBLIGHT_HUE_STEP 8
53 #define RGBLIGHT_SAT_STEP 8
54 #define RGBLIGHT_VAL_STEP 8