[Keymap] Drashna updates for 0.19 (#19175)
* Fix up bastardkb boards since blackpill support is officially added. * Check for blackpill version, not elite c. * Add checks in chibiOS config since multiple ARM controllers supported. * Rework rules.mk for keymaps to better handle arm vs avr support * Start moving away from `matrix_*_*` functions. * `housekeeping_task_*` instead of `matrix_scan_*` * `keyboard_(pre|post)_init_*` instead of `matrix_init_*` * Add ℂℴmⅈℂ unicode input method. * Clean up unicode code to be more compact and flexible. * Remove/move Pro Micro LED commands to userspace and better filter them * Fixup OLED code * Use newer quantum keycode functions/preprocessors rather than manual bit manipulation * Make unicode mode render much more compact/simple. * Make qmk secrets more self contained * Remove custom implementation of split watchdog
This commit is contained in:
parent
8a8000b4ec
commit
4a87af0e9a
49 changed files with 622 additions and 560 deletions
|
@ -66,12 +66,14 @@
|
|||
#endif // KEYBOARD_planck_light
|
||||
|
||||
#if defined(KEYBOARD_planck)
|
||||
# undef PRODUCT
|
||||
# if defined(KEYBOARD_planck_light)
|
||||
# undef PRODUCT
|
||||
# define PRODUCT "Drashna Hacked RGB Beacon(Planck Light)"
|
||||
# elif defined(KEYBOARD_planck_rev6)
|
||||
# undef PRODUCT
|
||||
# define PRODUCT "Drashna Hacked Planck Rev6"
|
||||
# elif defined(KEYBOARD_planck_ez)
|
||||
# undef PRODUCT
|
||||
# define PRODUCT "Drashna Hacked Planck EZ"
|
||||
# define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 4095
|
||||
# endif
|
||||
|
|
|
@ -249,23 +249,12 @@ bool rgb_matrix_indicators_advanced_keymap(uint8_t led_min, uint8_t led_max) {
|
|||
return true;
|
||||
}
|
||||
|
||||
void matrix_init_keymap(void) {
|
||||
void keyboard_post_init_keymap(void) {
|
||||
# ifdef KEYBOARD_planck_light
|
||||
writePinLow(D6);
|
||||
# endif
|
||||
// rgblight_mode(RGB_MATRIX_MULTISPLASH);
|
||||
}
|
||||
#else // RGB_MATRIX_INIT
|
||||
|
||||
void matrix_init_keymap(void) {
|
||||
# if !defined(CONVERT_TO_PROTON_C) && !defined(KEYBOARD_planck)
|
||||
setPinOutput(D5);
|
||||
writePinHigh(D5);
|
||||
|
||||
setPinOutput(B0);
|
||||
writePinHigh(B0);
|
||||
# endif
|
||||
}
|
||||
#endif // RGB_MATRIX_INIT
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
|
|
|
@ -20,7 +20,7 @@ ifeq ($(strip $(KEYBOARD)), planck/rev6)
|
|||
AUDIO_ENABLE = yes
|
||||
EEPROM_DRIVER = i2c
|
||||
ENCODER_MAP_ENABLE = yes
|
||||
AUTOCORRECTION_ENABLE = yes
|
||||
AUTOCORRECT_ENABLE = yes
|
||||
CAPS_WORD_ENABLE = yes
|
||||
endif
|
||||
ifeq ($(strip $(KEYBOARD)), planck/light)
|
||||
|
@ -39,6 +39,13 @@ ifeq ($(strip $(KEYBOARD)), planck/ez)
|
|||
CONSOLE_ENABLE = yes
|
||||
COMMAND_ENABLE = yes
|
||||
AUDIO_ENABLE = yes
|
||||
AUTOCORRECTION_ENABLE = yes
|
||||
AUTOCORRECT_ENABLE = yes
|
||||
CAPS_WORD_ENABLE = yes
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(MCU)), atmega32u4)
|
||||
BOOTLOADER = qmk-hid
|
||||
BOOTLOADER_SIZE = 512
|
||||
LTO_ENABLE = yes
|
||||
CUSTOM_UNICODE_ENABLE = no
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue