3 #include "config_common.h"
5 /* USB Device descriptor parameter */
6 #define VENDOR_ID 0xFEED
7 #define PRODUCT_ID 0x2020
8 #define DEVICE_VER 0x0001
9 #define MANUFACTURER Jonathan Cameron
10 #define PRODUCT 2x5keypad
11 #define DESCRIPTION 2x5 Keypad
18 #define MATRIX_ROW_PINS { B3, B2 }
19 #define MATRIX_COL_PINS { D4, C6, D7, E6, B4 }
22 /* COL2ROW or ROW2COL */
23 #define DIODE_DIRECTION COL2ROW
25 /* number of backlight levels */
28 #define BACKLIGHT_LEVELS 0
31 /* Set 0 if debouncing isn't needed */
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 /* Tap dancing params */
41 #define TAPPING_TERM 250
43 /* key combination for command */
45 #define IS_COMMAND() ( \
46 get_mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
51 #define RGBLIGHT_ANIMATIONS
53 #define RGBLIGHT_HUE_STEP 8
54 #define RGBLIGHT_SAT_STEP 8
55 #define RGBLIGHT_VAL_STEP 8