7 #include "config_common.h"
9 /* USB Device descriptor parameter */
10 #define VENDOR_ID 0x60BE
11 #define PRODUCT_ID 0x00BE
12 #define DEVICE_VER 0x0001
13 #define MANUFACTURER astro
14 #define PRODUCT Dumplings
15 #define DESCRIPTION 60% rgb keyboard with ble extension
16 #define LANDING_PAGE yulei.github.io/qmk_webusb_tool/60_wkl.json
20 #define MATRIX_COLS 14
22 #define DIODE_DIRECTION COL2ROW
24 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
28 * Feature disable options
29 * These options are also useful to firmware size reduction.
32 /* disable debug print */
38 /* disable action features */
39 //#define NO_ACTION_LAYER
40 //#define NO_ACTION_TAPPING
41 //#define NO_ACTION_ONESHOT
42 //#define NO_ACTION_MACRO
43 //#define NO_ACTION_FUNCTION
48 #define RGBLIGHT_ANIMATIONS
49 #define RGBLIGHT_HUE_STEP 8
50 #define RGBLIGHT_SAT_STEP 8
51 #define RGBLIGHT_VAL_STEP 8
54 #define DRIVER_ADDR_1 0b1110100
55 #define DRIVER_ADDR_2 0b1110111
56 #define DRIVER_COUNT 2
57 #define DRIVER_1_LED_TOTAL 36
58 #define DRIVER_2_LED_TOTAL 36
59 #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL
62 //#define TAPPING_TERM 200
63 //#define RETRO_TAPPING
64 //#define PERMISSIVE_HOLD
66 #if defined(WEBUSB_ENABLE) || defined(RAW_ENABLE)
67 #define WEBUSB_KEYCOUNT 61
68 #define WEBUSB_LAYERCOUNT 2
70 #define DYNAMIC_KEYMAP_LAYER_COUNT 2
73 // TODO: refactor with new user EEPROM code (coming soon)
74 #define EEPROM_MAGIC 0x451F
75 #define EEPROM_MAGIC_ADDR 34
76 // Bump this every time we change what we store
77 // This will automatically reset the EEPROM with defaults
78 // and avoid loading invalid data from the EEPROM
79 #define EEPROM_VERSION 0x08
80 #define EEPROM_VERSION_ADDR 36
82 // Dynamic keymap starts after EEPROM version
83 #define DYNAMIC_KEYMAP_EEPROM_ADDR 37
84 // Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
85 #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637
86 #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 391 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
87 #define DYNAMIC_KEYMAP_MACRO_COUNT 16