]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/hexon38/config.h
Usbasploader bootloader option addition (#6304)
[qmk_firmware.git] / keyboards / handwired / hexon38 / config.h
1 // see https://github.com/pepaslabs/hexon38
2
3 #pragma once
4
5 #include "config_common.h"
6
7 /* USB Device descriptor parameter */
8 #define VENDOR_ID       0xFEED
9 #define PRODUCT_ID      0x6060
10 #define DEVICE_VER      0x0001
11 #define MANUFACTURER    pepaslabs
12 #define PRODUCT         hexon38
13 #define DESCRIPTION     "A handmade non-split ergonomic 38-key keyboard, inspired by the lil38.  See https://github.com/pepaslabs/hexon38."
14
15 /* key matrix size */
16 #define MATRIX_ROWS 4
17 #define MATRIX_COLS 12
18
19 /* key matrix pins */
20 #define MATRIX_ROW_PINS { B0, F0, B2, F4 }
21 #define MATRIX_COL_PINS { C6, D3, D2, D1, D0, B7, F6, F7, B6, B5, B4, D7 }
22 #define UNUSED_PINS
23
24 /* COL2ROW or ROW2COL */
25 #define DIODE_DIRECTION ROW2COL
26
27 /* number of backlight levels */
28
29 #ifdef BACKLIGHT_PIN
30 #define BACKLIGHT_LEVELS 0
31 #endif
32
33 /* Set 0 if debouncing isn't needed */
34 #define DEBOUNCE 5
35
36 #ifdef RGB_DI_PIN
37 #define RGBLIGHT_ANIMATIONS
38 #define RGBLED_NUM 0
39 #define RGBLIGHT_HUE_STEP 8
40 #define RGBLIGHT_SAT_STEP 8
41 #define RGBLIGHT_VAL_STEP 8
42 #endif
43
44
45 // Disabled features:
46
47 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
48 //#define LOCKING_SUPPORT_ENABLE
49
50 /* Locking resynchronize hack */
51 //#define LOCKING_RESYNC_ENABLE
52
53 /* prevent stuck modifiers */
54 //#define PREVENT_STUCK_MODIFIERS