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 YMDK
11 #define PRODUCT Melody96
12 #define DESCRIPTION Melody96
15 #define MATRIX_ROWS 12
19 #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 }
20 #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
23 /* COL2ROW or ROW2COL */
24 #define DIODE_DIRECTION ROW2COL
26 /* number of backlight levels */
27 #define BACKLIGHT_PIN B6
29 #define BACKLIGHT_LEVELS 5
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)) \
48 #define RGBLIGHT_ANIMATIONS
50 #define RGBLIGHT_HUE_STEP 8
51 #define RGBLIGHT_SAT_STEP 8
52 #define RGBLIGHT_VAL_STEP 8