diff options
Diffstat (limited to 'layouts/community/ortho_4x12')
-rw-r--r-- | layouts/community/ortho_4x12/drashna/config.h | 4 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/drashna/keymap.c | 13 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/drashna/rules.mk | 11 |
3 files changed, 13 insertions, 15 deletions
diff --git a/layouts/community/ortho_4x12/drashna/config.h b/layouts/community/ortho_4x12/drashna/config.h index e2154cbe2f..85112d8ce4 100644 --- a/layouts/community/ortho_4x12/drashna/config.h +++ b/layouts/community/ortho_4x12/drashna/config.h @@ -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 diff --git a/layouts/community/ortho_4x12/drashna/keymap.c b/layouts/community/ortho_4x12/drashna/keymap.c index b7a132db12..b22401a77e 100644 --- a/layouts/community/ortho_4x12/drashna/keymap.c +++ b/layouts/community/ortho_4x12/drashna/keymap.c @@ -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 diff --git a/layouts/community/ortho_4x12/drashna/rules.mk b/layouts/community/ortho_4x12/drashna/rules.mk index e5c25d6fd5..a2278e931d 100644 --- a/layouts/community/ortho_4x12/drashna/rules.mk +++ b/layouts/community/ortho_4x12/drashna/rules.mk @@ -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 |