From c67e30459390982f4f1b47f46c62322f1fe9ba87 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Tue, 31 Mar 2020 16:26:43 -0700 Subject: [Keymap] Drashna's Cleanup and RGB Divide (#8506) * Enable External EEPROM on Planck Rev6 * Update KC_MAKE macro to use qmk cli util * Disable additional gradients for rgb matrix * Update analog code for newer methods * Update ergodox layout * Disable Grave Escape * Cleanup OLED code a bit * Remove old unicode code * Seperate RGB Matrix code from RGB Light code in userspace * Massive overhaul an generalization of personal OLED code Now lets hope I NEVER get a keyboard using a 128x32 in a normal orientation. * Super tiny cleanup * Enable Diablo layer on kyria * clang format pass * Additional OLED cleanup --- layouts/community/ergodox/drashna/config.h | 2 +- layouts/community/ergodox/drashna/rules.mk | 7 +++---- layouts/community/ortho_4x12/drashna/config.h | 2 ++ layouts/community/ortho_4x12/drashna/rules.mk | 2 ++ 4 files changed, 8 insertions(+), 5 deletions(-) (limited to 'layouts') diff --git a/layouts/community/ergodox/drashna/config.h b/layouts/community/ergodox/drashna/config.h index ce25b0646..8f1c9f6a2 100644 --- a/layouts/community/ergodox/drashna/config.h +++ b/layouts/community/ergodox/drashna/config.h @@ -15,7 +15,7 @@ #define PRODUCT DrashnaDox - Hacked ErgoDox EZ Hybrid Monstrosity #undef DEBOUNCE -#define DEBOUNCE 30 +#define DEBOUNCE 60 #define TAPPING_TERM_PER_KEY diff --git a/layouts/community/ergodox/drashna/rules.mk b/layouts/community/ergodox/drashna/rules.mk index 78a3d1584..387bd20f6 100644 --- a/layouts/community/ergodox/drashna/rules.mk +++ b/layouts/community/ergodox/drashna/rules.mk @@ -1,8 +1,7 @@ BOOTMAGIC_ENABLE = lite -TAP_DANCE_ENABLE = no -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +TAP_DANCE_ENABLE = yes COMMAND_ENABLE = no # Commands for debug and configuration -CONSOLE_ENABLE = no +CONSOLE_ENABLE = SPACE_CADET_ENABLE = no ifeq ($(strip $(KEYBOARD)), ergodox_ez) @@ -10,7 +9,7 @@ ifeq ($(strip $(KEYBOARD)), ergodox_ez) RGB_MATRIX_ENABLE = yes RGBLIGHT_TWINKLE = no INDICATOR_LIGHTS = no - RGBLIGHT_STARTUP_ANIMATION = no + RGBLIGHT_STARTUP_ANIMATION = yes endif UNICODE_ENABLE = yes diff --git a/layouts/community/ortho_4x12/drashna/config.h b/layouts/community/ortho_4x12/drashna/config.h index 663708afa..5342549e5 100644 --- a/layouts/community/ortho_4x12/drashna/config.h +++ b/layouts/community/ortho_4x12/drashna/config.h @@ -62,6 +62,8 @@ # endif #endif +#define EEPROM_I2C_RM24C512C + #define ENCODER_DIRECTION_FLIP /* * MIDI options diff --git a/layouts/community/ortho_4x12/drashna/rules.mk b/layouts/community/ortho_4x12/drashna/rules.mk index e4fe90534..3383cfd35 100644 --- a/layouts/community/ortho_4x12/drashna/rules.mk +++ b/layouts/community/ortho_4x12/drashna/rules.mk @@ -18,8 +18,10 @@ else CONSOLE_ENABLE = yes COMMAND_ENABLE = yes RGBLIGHT_ENABLE = yes + RGBLIGHT_STARTUP_ANIMATION = yes RGB_MATRIX_ENABLE = no AUDIO_ENABLE = yes + EEPROM_DRIVER = i2c endif ifeq ($(strip $(KEYBOARD)), planck/light) RGB_MATRIX_ENABLE = yes -- cgit v1.2.3