diff options
| author | Drashna Jaelre <drashna@live.com> | 2019-04-22 11:55:55 -0700 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-04-22 11:55:55 -0700 |
| commit | a2cec0594b15dc667adf7f1b0e35cb698dc1758d (patch) | |
| tree | fdfd6646aa6bdd9003125406e2dc5e2069f8ea17 /layouts/community/ergodox | |
| parent | 6d73fe12779d6e8527d404572810ea95e714dce7 (diff) | |
| download | qmk_firmware-a2cec0594b15dc667adf7f1b0e35cb698dc1758d.tar.gz qmk_firmware-a2cec0594b15dc667adf7f1b0e35cb698dc1758d.zip | |
[Keymap] Update to Drashna Keymaps (#5594)
* Start to standardize macro timer
* Update Fractal layout
Specifically, limit the RGB Lighting, since it's too many for the power, and only have the KITT annimation on the front
* Update Iris keymap to use I2C for transport
* Remove TAP_CODE_DELAY from keyboard in favor of global setting
* Remove Woodpad
Since it\'s no longer in my possession
* Only enable LTO on AVR boards
* Run matrix_scans while doing startup light
* Run matrix_scan to get split keyboard code synced properly
* Fix rgb mode
* Remove custom debouncing settings
* Make RGB Light Startup Animation optional
* Fix opt def
* Remove extra tap code delay value
* Fix references to keebio boards
* Add support for LP Iris keyboard
* Add backlight code
* Make startup animation optional
* Update gitlab ci script
* Remove port declaration
* Revert avrgcc changes to gitlab ci file
* Don't re-set mods
* Remove MACRO_TIMER define
* Add custom name for crkbd
* Add name for Prime M pad
* Add names for ortho 4x12 boards
* Add some additional handling for rgb init
* Change thumb clusters on ergodox
* Switch Orthodox to I2C
* Fix Space in ergodox keymap
* Use OSL for ergodox layout
* Ugh, can't find a good layout
* Fix typo
* Fix up animation startup
* Cries in AVR
* Fix makefiles for ergodox ez boards
* Add support for "secret songs" in my userspace
* Reset debounce to 5ms for Ergodox EZ
* Fix gitlab CI yaml file
* More crying in AVR
* Cannot use rgb light and rgb matrix at the same time due to the WS2812 rgb matrix PR until the "Coexistance" PR is merged
* Update ODox for split common and i2c
* Add split config
* Impement Split code
* Add support for xscorpion OLED code
* Add OLED display config
* Fix OLED screen font
* Get OLED set up in vertical mode
* Remove old OLED code
* add per key support for crkbd
* Fix split changes
* RGB Tweeaks
* More OLED tweaks
* Fix rotation stuff
* Fix more OLED stuff
* Remove custom Debounce from Ergodox layout since it's no longer needed
Diffstat (limited to 'layouts/community/ergodox')
| -rw-r--r-- | layouts/community/ergodox/drashna/config.h | 1 | ||||
| -rw-r--r-- | layouts/community/ergodox/drashna/keymap.c | 16 | ||||
| -rw-r--r-- | layouts/community/ergodox/drashna/rules.mk | 3 | ||||
| -rw-r--r-- | layouts/community/ergodox/drashna_glow/config.h | 8 | ||||
| -rw-r--r-- | layouts/community/ergodox/drashna_glow/rules.mk | 7 |
5 files changed, 17 insertions, 18 deletions
diff --git a/layouts/community/ergodox/drashna/config.h b/layouts/community/ergodox/drashna/config.h index 089441e52..7b2ad4fa1 100644 --- a/layouts/community/ergodox/drashna/config.h +++ b/layouts/community/ergodox/drashna/config.h | |||
| @@ -14,4 +14,3 @@ | |||
| 14 | #define PRODUCT DrashnaDox - Hacked ErgoDox EZ Shine | 14 | #define PRODUCT DrashnaDox - Hacked ErgoDox EZ Shine |
| 15 | 15 | ||
| 16 | #undef DEBOUNCE | 16 | #undef DEBOUNCE |
| 17 | #define DEBOUNCE 5 | ||
diff --git a/layouts/community/ergodox/drashna/keymap.c b/layouts/community/ergodox/drashna/keymap.c index 428706e2d..e7f43ad66 100644 --- a/layouts/community/ergodox/drashna/keymap.c +++ b/layouts/community/ergodox/drashna/keymap.c | |||
| @@ -44,10 +44,10 @@ bool skip_leds = false; | |||
| 44 | KC_TAB, K01, K02, K03, K04, K05, TG(_DIABLO), TG(_DIABLO), K06, K07, K08, K09, K0A, KC_BSLS, \ | 44 | KC_TAB, K01, K02, K03, K04, K05, TG(_DIABLO), TG(_DIABLO), K06, K07, K08, K09, K0A, KC_BSLS, \ |
| 45 | KC_C1R3, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_QUOT, \ | 45 | KC_C1R3, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_QUOT, \ |
| 46 | KC_MLSF, CTL_T(K21), K22, K23, K24, K25, TG(_GAMEPAD), TG(_GAMEPAD), K26, K27, K28, K29, CTL_T(K2A), KC_MRSF, \ | 46 | KC_MLSF, CTL_T(K21), K22, K23, K24, K25, TG(_GAMEPAD), TG(_GAMEPAD), K26, K27, K28, K29, CTL_T(K2A), KC_MRSF, \ |
| 47 | KC_GRV, OS_MEH, OS_HYPR, KC_LBRC, KC_RBRC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, UC(0x2E2E), \ | 47 | KC_GRV, OS_MEH, OS_HYPR, KC_LBRC, KC_RBRC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, UC(0x2E2E), \ |
| 48 | OS_LALT, OS_LGUI, OS_RGUI, CTL_T(KC_ESCAPE), \ | 48 | OS_LALT, OS_LGUI, OS_RGUI, CTL_T(KC_ESCAPE), \ |
| 49 | KC_HOME, KC_PGUP, \ | 49 | KC_APP, KC_MENU, \ |
| 50 | LT(_LOWER, KC_SPACE),KC_BSPC, KC_END, KC_PGDN, KC_DEL, LT(_RAISE, KC_ENTER) \ | 50 | KC_SPC, LT(_LOWER, KC_BSPC), OS_LWR, OS_RSE, LT(_RAISE, KC_DEL), KC_ENT \ |
| 51 | ) | 51 | ) |
| 52 | 52 | ||
| 53 | #define LAYOUT_ergodox_pretty_base_wrapper(...) LAYOUT_ergodox_pretty_base(__VA_ARGS__) | 53 | #define LAYOUT_ergodox_pretty_base_wrapper(...) LAYOUT_ergodox_pretty_base(__VA_ARGS__) |
| @@ -270,8 +270,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 270 | 270 | ||
| 271 | [_LOWER] = LAYOUT_ergodox_pretty_wrapper( | 271 | [_LOWER] = LAYOUT_ergodox_pretty_wrapper( |
| 272 | KC_F12, _________________FUNC_LEFT_________________, _______, _______, _________________FUNC_RIGHT________________, KC_F11, | 272 | KC_F12, _________________FUNC_LEFT_________________, _______, _______, _________________FUNC_RIGHT________________, KC_F11, |
| 273 | KC_TILD, _________________LOWER_L1__________________, _______, _______, _________________LOWER_R1__________________, _______, | 273 | KC_TILD, _________________LOWER_L1__________________, _______, _______, _________________LOWER_R1__________________, KC_PIPE, |
| 274 | _______, ___________________BLANK___________________, _________________LOWER_R2__________________, KC_PIPE, | 274 | _______, ___________________BLANK___________________, _________________LOWER_R2__________________, KC_DQUO, |
| 275 | _______, ___________________BLANK___________________, _______, _______, _________________LOWER_R3__________________, KC_PSCR, | 275 | _______, ___________________BLANK___________________, _______, _______, _________________LOWER_R3__________________, KC_PSCR, |
| 276 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PAUS, | 276 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PAUS, |
| 277 | _______, _______, _______, _______, | 277 | _______, _______, _______, _______, |
| @@ -281,8 +281,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 281 | 281 | ||
| 282 | [_RAISE] = LAYOUT_ergodox_pretty_wrapper( | 282 | [_RAISE] = LAYOUT_ergodox_pretty_wrapper( |
| 283 | KC_F12, _________________FUNC_LEFT_________________, _______, _______, _________________FUNC_RIGHT________________, KC_F11, | 283 | KC_F12, _________________FUNC_LEFT_________________, _______, _______, _________________FUNC_RIGHT________________, KC_F11, |
| 284 | KC_GRV, _________________RAISE_L1__________________, _______, _______, _________________RAISE_R1__________________, _______, | 284 | KC_GRV, _________________RAISE_L1__________________, _______, _______, _________________RAISE_R1__________________, KC_BSLS, |
| 285 | _______, _________________RAISE_L2__________________, _________________RAISE_R2__________________, KC_BSLS, | 285 | _______, _________________RAISE_L2__________________, _________________RAISE_R2__________________, KC_QUOT, |
| 286 | _______, _________________RAISE_L3__________________, _______, _______, _________________RAISE_R3__________________, KC_PSCR, | 286 | _______, _________________RAISE_L3__________________, _______, _______, _________________RAISE_R3__________________, KC_PSCR, |
| 287 | _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_SLCK, | 287 | _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_SLCK, |
| 288 | _______, _______, _______, _______, | 288 | _______, _______, _______, _______, |
diff --git a/layouts/community/ergodox/drashna/rules.mk b/layouts/community/ergodox/drashna/rules.mk index 31488108b..ee231321e 100644 --- a/layouts/community/ergodox/drashna/rules.mk +++ b/layouts/community/ergodox/drashna/rules.mk | |||
| @@ -14,3 +14,6 @@ UNICDOEMAP_ENABLE = no | |||
| 14 | MACROS_ENABLED = no | 14 | MACROS_ENABLED = no |
| 15 | RGBLIGHT_TWINKLE = no | 15 | RGBLIGHT_TWINKLE = no |
| 16 | INDICATOR_LIGHTS = no | 16 | INDICATOR_LIGHTS = no |
| 17 | RGBLIGHT_STARTUP_ANIMATION = yes | ||
| 18 | |||
| 19 | DEBOUNCE_TYPE = eager_pk | ||
diff --git a/layouts/community/ergodox/drashna_glow/config.h b/layouts/community/ergodox/drashna_glow/config.h index a10c4bb29..e2d959426 100644 --- a/layouts/community/ergodox/drashna_glow/config.h +++ b/layouts/community/ergodox/drashna_glow/config.h | |||
| @@ -5,17 +5,11 @@ | |||
| 5 | #undef PRODUCT | 5 | #undef PRODUCT |
| 6 | #define PRODUCT DrashnaDox - Hacked ErgoDox EZ Glow | 6 | #define PRODUCT DrashnaDox - Hacked ErgoDox EZ Glow |
| 7 | 7 | ||
| 8 | #undef DEBOUNCE | ||
| 9 | #define DEBOUNCE 5 | ||
| 10 | |||
| 11 | #ifdef RGB_MATRIX_ENABLE | 8 | #ifdef RGB_MATRIX_ENABLE |
| 12 | // #define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot) | 9 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot) |
| 13 | // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened) | 10 | // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened) |
| 14 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 11 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
| 15 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true// turn off effects when suspended | 12 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true// turn off effects when suspended |
| 16 | // #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 13 | // #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
| 17 | // #define EECONFIG_RGB_MATRIX (uint32_t *)16 | 14 | // #define EECONFIG_RGB_MATRIX (uint32_t *)16 |
| 18 | #endif | 15 | #endif |
| 19 | |||
| 20 | #undef DEBOUNCE | ||
| 21 | #define DEBOUNCE 1 | ||
diff --git a/layouts/community/ergodox/drashna_glow/rules.mk b/layouts/community/ergodox/drashna_glow/rules.mk index 5cb47dae4..ae9a2fb16 100644 --- a/layouts/community/ergodox/drashna_glow/rules.mk +++ b/layouts/community/ergodox/drashna_glow/rules.mk | |||
| @@ -1,7 +1,10 @@ | |||
| 1 | USER_NAME := drashna | 1 | USER_NAME := drashna |
| 2 | SRC += ../drashna/keymap.c | ||
| 3 | 2 | ||
| 4 | -include $(LAYOUT_KEYMAP_PATH)/../drashna/rules.mk | 3 | CORRECTED_LAYOUT := $(LAYOUTS_REPO)/$(LAYOUT)/drashna |
| 4 | |||
| 5 | SRC += $(CORRECTED_LAYOUT)/keymap.c | ||
| 6 | |||
| 7 | -include $(CORRECTED_LAYOUT)/rules.mk | ||
| 5 | 8 | ||
| 6 | ifneq (,$(findstring ergodox_ez,$(KEYBOARD))) | 9 | ifneq (,$(findstring ergodox_ez,$(KEYBOARD))) |
| 7 | RGBLIGHT_ENABLE = no | 10 | RGBLIGHT_ENABLE = no |
