mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-11 14:40:06 +00:00
588b2329cb
* change split keyboard tapping term in userspace * fix 5x15 layout numpad movement * minor changes for Nori setup * edit based on 40percentclub refactor change * fix gherkin due to refactor * kbd6x wanleg keymap * kbd6x edits * kbd6x tweak * fn / backlight layer * fix jj40 rgb hex issue * wanleg gherkin lighting * 4x12 layout cleanup * move kbd6x to new kbdfans directory * minor edit related to new kbdfans directory * mac layout for kbd6x * gherkin flip option * tweak tapping term on lets_split * edit for keebio board coalescing * update user readme with git hints * wanleg miniaxe keymap * testing Permissive Hold instead of Mod Tap Interrupt * wiring names * kbd6x keymap * change default backlight behaviour on kbd6x * userspace underglow * userspace underglow * underglow tweaks * user readme update * more layer underglow tweaks * fix userspace for non-underglow-enabled boards * readme edits * readme edits * readme edits * readme edits * Update readme.md * Update readme.md * readme edits * readme edits * update keymap picture
50 lines
1.6 KiB
C
50 lines
1.6 KiB
C
#pragma once
|
|
|
|
#if defined(KEYBOARD_jj40)
|
|
#undef BACKLIGHT_BREATHING
|
|
#undef BACKLIGHT_LEVELS
|
|
#undef BREATHING_PERIOD
|
|
#define BACKLIGHT_BREATHING
|
|
#define BACKLIGHT_LEVELS 3
|
|
#define BREATHING_PERIOD 15
|
|
#endif
|
|
|
|
//QMK DFU settings (ProMicro boards with QMK bootloader)
|
|
// set top left key as bootloader mode escape key on Lets Split rev2
|
|
#if defined(KEYBOARD_lets_split_rev2)
|
|
#define QMK_LED B0
|
|
#define QMK_ESC_OUTPUT F6 // usually COL
|
|
#define QMK_ESC_INPUT D7 // usually ROW
|
|
#define USE_SERIAL
|
|
#undef USE_I2C
|
|
#define EE_HANDS
|
|
#endif
|
|
|
|
// set top left key as bootloader mode escape key on Nori
|
|
#if defined(KEYBOARD_40percentclub_nori)
|
|
#define QMK_LED B0
|
|
#define QMK_ESC_OUTPUT F4 // usually COL
|
|
#define QMK_ESC_INPUT D3 // usually ROW
|
|
#endif
|
|
|
|
// set top left key as bootloader mode escape key on 4x4 48key layout
|
|
#if defined(KEYBOARD_40percentclub_4x4) && !defined(PRO_MICRO)
|
|
#define QMK_LED B0
|
|
#define QMK_ESC_OUTPUT C6 // usually COL
|
|
#define QMK_ESC_INPUT B2 // usually ROW
|
|
#endif
|
|
|
|
// use alternate settings for 4x4 board using ProMicro instead of Micro
|
|
// usage: make 4x4:wanleg PM=yes
|
|
#if defined(KEYBOARD_40percentclub_4x4) && defined(PRO_MICRO)
|
|
#define QMK_ESC_OUTPUT F4 // usually COL
|
|
#define QMK_ESC_INPUT D1 // usually ROW
|
|
#define QMK_LED B0
|
|
|
|
//need to undefine standard 4x4 array before defining alternate ProMicro array
|
|
#undef MATRIX_ROW_PINS
|
|
#undef MATRIX_COL_PINS
|
|
#define MATRIX_ROW_PINS { D1, D0, D4, C6 }
|
|
//last 4 elements of the column array are not broken out on a ProMicro (included only to preserve array structure)
|
|
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, B5, B4, E6, D7, F0, B7, D6, F1 }
|
|
#endif
|