]> git.donarmstrong.com Git - qmk_firmware.git/blob - layouts/community/ortho_4x12/wanleg/config.h
f7650ddd3a67e566d6086214e8a26ae8859eb4a2
[qmk_firmware.git] / layouts / community / ortho_4x12 / wanleg / config.h
1 #pragma once
2
3 #if defined(KEYBOARD_jj40)
4 #undef BACKLIGHT_BREATHING
5 #undef BACKLIGHT_LEVELS
6 #undef BREATHING_PERIOD
7 #define BACKLIGHT_BREATHING
8 #define BACKLIGHT_LEVELS 3
9 #define BREATHING_PERIOD 15
10 #endif
11
12 //QMK DFU settings (ProMicro boards with QMK bootloader)
13 // set top left key as bootloader mode escape key on Lets Split rev2
14 #if defined(KEYBOARD_lets_split_rev2)
15 #define QMK_LED B0
16 #define QMK_ESC_OUTPUT F6 // usually COL
17 #define QMK_ESC_INPUT D7 // usually ROW
18 #define USE_SERIAL
19 #undef USE_I2C
20 #define EE_HANDS
21 #endif
22
23 // set top left key as bootloader mode escape key on 4x4 48key layout
24 #if defined(KEYBOARD_40percentclub_4x4) && !defined(PRO_MICRO)
25 #define QMK_LED B0
26 #define QMK_ESC_OUTPUT C6 // usually COL
27 #define QMK_ESC_INPUT B2 // usually ROW
28 #endif
29
30 // use alternate settings for 4x4 board using ProMicro instead of Micro
31 // usage: make 4x4:wanleg PM=yes
32 #if defined(KEYBOARD_40percentclub_4x4) && defined(PRO_MICRO) 
33 #define QMK_ESC_OUTPUT F4 // usually COL
34 #define QMK_ESC_INPUT D1 // usually ROW
35 #define QMK_LED B0
36
37 //need to undefine standard 4x4 array before defining alternate ProMicro array
38 #undef MATRIX_ROW_PINS
39 #undef MATRIX_COL_PINS
40 #define MATRIX_ROW_PINS { D1, D0, D4, C6 }
41 //last 4 elements of the column array are not broken out on a ProMicro (included only to preserve array structure)
42 #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, B5, B4, E6, D7, F0, B7, D6, F1 }
43 #endif