]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/hexon38/config.h
DO NOT USE Merge branch 'master' into debounce_refactor
[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 DEBOUNCING_DELAY 5
35
36
37 /* key combination for command */
38 #define IS_COMMAND() ( \
39     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
40 )
41
42 #ifdef RGB_DI_PIN
43 #define RGBLIGHT_ANIMATIONS
44 #define RGBLED_NUM 0
45 #define RGBLIGHT_HUE_STEP 8
46 #define RGBLIGHT_SAT_STEP 8
47 #define RGBLIGHT_VAL_STEP 8
48 #endif
49
50
51 // Disabled features:
52
53 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
54 //#define LOCKING_SUPPORT_ENABLE
55
56 /* Locking resynchronize hack */
57 //#define LOCKING_RESYNC_ENABLE
58
59 /* prevent stuck modifiers */
60 //#define PREVENT_STUCK_MODIFIERS