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
19 #define MATRIX_COLS 14
21 #define DIODE_DIRECTION COL2ROW
23 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
27 * Feature disable options
28 * These options are also useful to firmware size reduction.
31 /* disable debug print */
40 #define RGBLIGHT_ANIMATIONS
41 #define RGBLIGHT_HUE_STEP 8
42 #define RGBLIGHT_SAT_STEP 8
43 #define RGBLIGHT_VAL_STEP 8
46 #define DRIVER_ADDR_1 0b1110100
47 #define DRIVER_ADDR_2 0b1110111
48 #define DRIVER_COUNT 2
49 #define DRIVER_1_LED_TOTAL 36
50 #define DRIVER_2_LED_TOTAL 36
51 #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
53 #if defined(RAW_ENABLE)
55 #define DYNAMIC_KEYMAP_LAYER_COUNT 2
58 // TODO: refactor with new user EEPROM code (coming soon)
59 #define EEPROM_MAGIC 0x451F
60 #define EEPROM_MAGIC_ADDR 34
61 // Bump this every time we change what we store
62 // This will automatically reset the EEPROM with defaults
63 // and avoid loading invalid data from the EEPROM
64 #define EEPROM_VERSION 0x08
65 #define EEPROM_VERSION_ADDR 36
67 // Dynamic keymap starts after EEPROM version
68 #define DYNAMIC_KEYMAP_EEPROM_ADDR 37
69 // Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
70 #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637
71 #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 391 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
72 #define DYNAMIC_KEYMAP_MACRO_COUNT 16