diff options
| author | Drashna Jaelre <drashna@live.com> | 2018-11-26 16:45:24 -0800 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-11-26 16:45:24 -0800 |
| commit | ecd21b44a8efd5c7241ebf48c65fc7b30134865f (patch) | |
| tree | 6fd84ca4bc241d9dbbe8ea3b81a7c8341b80ecc3 /layouts/community/ergodox | |
| parent | edb6c98fd23ab102069037f3dbfbd46c6067e86a (diff) | |
| download | qmk_firmware-ecd21b44a8efd5c7241ebf48c65fc7b30134865f.tar.gz qmk_firmware-ecd21b44a8efd5c7241ebf48c65fc7b30134865f.zip | |
Update to drashna userspace and keymaps (#4459)
* Fix reversed bool check in layer_state_set
* Add Quefrency 65 for a friend
* Add Ergodox EZ Glow keymap
* Add RGB Matrix Code
* Further changes to rgb matrix ErgoDox EZ
* Update bjohnson keymaps
* Fix CRKBD display
* Overhaul to corne keyboard
* Narrow scope for keylogger
* Minor layout tweaks to Corne Keyboard
* additional CRKBD tweaks
* Minor tweaks to CRKBD
* Add all characters for keylogger
* Ergodox EZ Glow overhaul
* Fix Ergodox EZ Glow layer colors
* Increase Tapping Term for Corne Keyboard
* Fix unicode-ish
* Revert some changes
* Add layer specific lighting effects
* Some minor tweaks to ergodox glow config
* revert changes to ergodox files
* Update Glow readme
* Add more tapping term defines
* Fix changes
* Fix ergodox keymap
* Hopefully fix sleeping
* Disable layer indications if rgb matrix is disabled
* Add support for sleeping and rgb layer change toggle to ergodox ez glow
* Make RGB Layer Indication Great Again
* Make Unicode Great Again
* Remove placeholder define
Co-Authored-By: drashna <drashna@live.com>
* Remove placeholder define
Co-Authored-By: drashna <drashna@live.com>
* Remove old EEPROM Reset keycode
Diffstat (limited to 'layouts/community/ergodox')
| -rw-r--r-- | layouts/community/ergodox/drashna/keymap.c | 120 | ||||
| -rw-r--r-- | layouts/community/ergodox/drashna_glow/README.md | 1 | ||||
| -rw-r--r-- | layouts/community/ergodox/drashna_glow/config.h | 11 | ||||
| -rw-r--r-- | layouts/community/ergodox/drashna_glow/keymap.c | 67 | ||||
| -rw-r--r-- | layouts/community/ergodox/drashna_glow/rules.mk | 9 |
5 files changed, 200 insertions, 8 deletions
diff --git a/layouts/community/ergodox/drashna/keymap.c b/layouts/community/ergodox/drashna/keymap.c index 360a2d9c6..df9be62b7 100644 --- a/layouts/community/ergodox/drashna/keymap.c +++ b/layouts/community/ergodox/drashna/keymap.c | |||
| @@ -20,8 +20,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #ifdef UNICODEMAP_ENABLE | 20 | #ifdef UNICODEMAP_ENABLE |
| 21 | #include "drashna_unicode.h" | 21 | #include "drashna_unicode.h" |
| 22 | #endif // UNICODEMAP_ENABLE | 22 | #endif // UNICODEMAP_ENABLE |
| 23 | extern uint8_t input_mode; | ||
| 23 | 24 | ||
| 24 | 25 | #ifdef RGB_MATRIX_ENABLE | |
| 26 | extern bool g_suspend_state; | ||
| 27 | extern rgb_config_t rgb_matrix_config; | ||
| 28 | #endif | ||
| 29 | extern userspace_config_t userspace_config; | ||
| 25 | 30 | ||
| 26 | //enum more_custom_keycodes { | 31 | //enum more_custom_keycodes { |
| 27 | // KC_P00 = NEW_SAFE_RANGE | 32 | // KC_P00 = NEW_SAFE_RANGE |
| @@ -40,7 +45,7 @@ bool skip_leds = false; | |||
| 40 | KC_TAB, K01, K02, K03, K04, K05, TG(_DIABLO), TG(_DIABLO), K06, K07, K08, K09, K0A, KC_BSLS, \ | 45 | KC_TAB, K01, K02, K03, K04, K05, TG(_DIABLO), TG(_DIABLO), K06, K07, K08, K09, K0A, KC_BSLS, \ |
| 41 | KC_C1R3, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_QUOT, \ | 46 | KC_C1R3, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_QUOT, \ |
| 42 | KC_MLSF, CTL_T(K21), K22, K23, K24, K25, TG(_GAMEPAD), TG(_GAMEPAD), K26, K27, K28, K29, CTL_T(K2A), KC_MRSF, \ | 47 | KC_MLSF, CTL_T(K21), K22, K23, K24, K25, TG(_GAMEPAD), TG(_GAMEPAD), K26, K27, K28, K29, CTL_T(K2A), KC_MRSF, \ |
| 43 | KC_GRV, OSM(MOD_MEH),OSM(MOD_LGUI),KC_LBRC, KC_RBRC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, UC_SHRG, \ | 48 | KC_GRV, OS_MEH, OS_HYPR, KC_LBRC, KC_RBRC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, UC(0x2E2E), \ |
| 44 | OS_LALT, OS_LGUI, OS_RGUI, CTL_T(KC_ESCAPE), \ | 49 | OS_LALT, OS_LGUI, OS_RGUI, CTL_T(KC_ESCAPE), \ |
| 45 | KC_HOME, KC_PGUP, \ | 50 | KC_HOME, KC_PGUP, \ |
| 46 | LT(_LOWER, KC_SPACE),KC_BSPC, KC_END, KC_PGDN, KC_DEL, LT(_RAISE, KC_ENTER) \ | 51 | LT(_LOWER, KC_SPACE),KC_BSPC, KC_END, KC_PGDN, KC_DEL, LT(_RAISE, KC_ENTER) \ |
| @@ -198,7 +203,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 198 | */ | 203 | */ |
| 199 | [_GAMEPAD] = LAYOUT_ergodox_pretty_wrapper( | 204 | [_GAMEPAD] = LAYOUT_ergodox_pretty_wrapper( |
| 200 | KC_ESC, KC_NO, KC_1, KC_2, KC_3, HYPR(KC_Q), HYPR(KC_GRV), KC_TRNS, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, | 205 | KC_ESC, KC_NO, KC_1, KC_2, KC_3, HYPR(KC_Q), HYPR(KC_GRV), KC_TRNS, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, |
| 201 | KC_F1, KC_K, KC_Q, KC_W, KC_E, KC_R, KC_T, UC_SHRG, UC_DISA, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | 206 | KC_F1, KC_K, KC_Q, KC_W, KC_E, KC_R, KC_T, UC_SHRG, UC_DISA, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
| 202 | KC_TAB, KC_G, KC_A, KC_S, KC_D, KC_F, KC_I, KC_O, KC_NO, KC_NO, KC_NO, KC_NO, | 207 | KC_TAB, KC_G, KC_A, KC_S, KC_D, KC_F, KC_I, KC_O, KC_NO, KC_NO, KC_NO, KC_NO, |
| 203 | KC_LCTL, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_TRNS, TG(_GAMEPAD), KC_N, KC_M, KC_NO, KC_NO, KC_NO, KC_NO, | 208 | KC_LCTL, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_TRNS, TG(_GAMEPAD), KC_N, KC_M, KC_NO, KC_NO, KC_NO, KC_NO, |
| 204 | KC_GRV, KC_U, KC_I, KC_Y, KC_T, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, | 209 | KC_GRV, KC_U, KC_I, KC_Y, KC_T, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, |
| @@ -263,7 +268,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 263 | 268 | ||
| 264 | [_ADJUST] = LAYOUT_ergodox_pretty_wrapper( | 269 | [_ADJUST] = LAYOUT_ergodox_pretty_wrapper( |
| 265 | KC_MAKE, _______, _______, _______, _______, _______, _______, KC_NUKE, _________________ADJUST_R1_________________, KC_RST, | 270 | KC_MAKE, _______, _______, _______, _______, _______, _______, KC_NUKE, _________________ADJUST_R1_________________, KC_RST, |
| 266 | VRSN, _________________ADJUST_L1_________________, _______, _______, _______, _______, _______, _______, _______, EPRM, | 271 | VRSN, _________________ADJUST_L1_________________, _______, _______, _______, _______, _______, _______, _______, EEP_RST, |
| 267 | _______, _________________ADJUST_L2_________________, _________________ADJUST_R2_________________, TG(_MODS), | 272 | _______, _________________ADJUST_L2_________________, _________________ADJUST_R2_________________, TG(_MODS), |
| 268 | _______, _________________ADJUST_L3_________________, _______, _______, _________________ADJUST_R3_________________, KC_MPLY, | 273 | _______, _________________ADJUST_L3_________________, _______, _______, _________________ADJUST_R3_________________, KC_MPLY, |
| 269 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | 274 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| @@ -290,10 +295,6 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { | |||
| 290 | return true; | 295 | return true; |
| 291 | } | 296 | } |
| 292 | 297 | ||
| 293 | void matrix_init_keymap(void) { // Runs boot tasks for keyboard | ||
| 294 | }; | ||
| 295 | |||
| 296 | |||
| 297 | void matrix_scan_keymap(void) { // runs frequently to update info | 298 | void matrix_scan_keymap(void) { // runs frequently to update info |
| 298 | uint8_t modifiers = get_mods(); | 299 | uint8_t modifiers = get_mods(); |
| 299 | uint8_t led_usb_state = host_keyboard_leds(); | 300 | uint8_t led_usb_state = host_keyboard_leds(); |
| @@ -335,3 +336,106 @@ bool indicator_is_this_led_used_keyboard(uint8_t index) { | |||
| 335 | return false; | 336 | return false; |
| 336 | } | 337 | } |
| 337 | } | 338 | } |
| 339 | |||
| 340 | |||
| 341 | #ifdef RGB_MATRIX_ENABLE | ||
| 342 | |||
| 343 | void suspend_power_down_keymap(void) { | ||
| 344 | rgb_matrix_set_suspend_state(true); | ||
| 345 | rgb_matrix_config.enable = false; | ||
| 346 | } | ||
| 347 | |||
| 348 | void suspend_wakeup_init_keymap(void) { | ||
| 349 | rgb_matrix_config.enable = true; | ||
| 350 | rgb_matrix_set_suspend_state(false); | ||
| 351 | } | ||
| 352 | |||
| 353 | void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue) { | ||
| 354 | rgb_led led; | ||
| 355 | for (int i = 0; i < DRIVER_LED_TOTAL; i++) { | ||
| 356 | led = g_rgb_leds[i]; | ||
| 357 | if (led.matrix_co.raw < 0xFF) { | ||
| 358 | if (led.modifier) { | ||
| 359 | rgb_matrix_set_color( i, red, green, blue ); | ||
| 360 | } | ||
| 361 | } | ||
| 362 | } | ||
| 363 | } | ||
| 364 | |||
| 365 | void rgb_matrix_indicators_user(void) { | ||
| 366 | if (g_suspend_state || !rgb_matrix_config.enable || !userspace_config.rgb_layer_change) return; | ||
| 367 | |||
| 368 | switch (biton32(layer_state)) { | ||
| 369 | case _MODS: | ||
| 370 | rgb_matrix_layer_helper(0xFF, 0xFF, 0x00); break; | ||
| 371 | case _GAMEPAD: | ||
| 372 | rgb_matrix_layer_helper(0xFF, 0x80, 0x00); | ||
| 373 | rgb_matrix_set_color(32, 0x00, 0xFF, 0x00); // Q | ||
| 374 | rgb_matrix_set_color(31, 0x00, 0xFF, 0xFF); // W | ||
| 375 | rgb_matrix_set_color(30, 0xFF, 0x00, 0x00); // E | ||
| 376 | rgb_matrix_set_color(29, 0xFF, 0x80, 0x00); // R | ||
| 377 | rgb_matrix_set_color(37, 0x00, 0xFF, 0xFF); // A | ||
| 378 | rgb_matrix_set_color(36, 0x00, 0xFF, 0xFF); // S | ||
| 379 | rgb_matrix_set_color(35, 0x00, 0xFF, 0xFF); // D | ||
| 380 | rgb_matrix_set_color(34, 0x7A, 0x00, 0xFF); // F | ||
| 381 | |||
| 382 | rgb_matrix_set_color(27, 0xFF, 0xFF, 0xFF); // 1 | ||
| 383 | rgb_matrix_set_color(26, 0x00, 0xFF, 0x00); // 2 | ||
| 384 | rgb_matrix_set_color(25, 0x7A, 0x00, 0xFF); // 3 | ||
| 385 | |||
| 386 | break; | ||
| 387 | case _DIABLO: | ||
| 388 | rgb_matrix_layer_helper(0xFF, 0x00, 0x00); break; | ||
| 389 | case _RAISE: | ||
| 390 | rgb_matrix_layer_helper(0xFF, 0xFF, 0x00); break; | ||
| 391 | case _LOWER: | ||
| 392 | rgb_matrix_layer_helper(0x00, 0xFF, 0x00); break; | ||
| 393 | case _ADJUST: | ||
| 394 | rgb_matrix_layer_helper(0xFF, 0x00, 0x00); break; | ||
| 395 | default: | ||
| 396 | switch (biton32(default_layer_state)) { | ||
| 397 | case _QWERTY: | ||
| 398 | rgb_matrix_layer_helper(0x00, 0xFF, 0xFF); break; | ||
| 399 | case _COLEMAK: | ||
| 400 | rgb_matrix_layer_helper(0xFF, 0x00, 0xFF); break; | ||
| 401 | case _DVORAK: | ||
| 402 | rgb_matrix_layer_helper(0x00, 0xFF, 0x00); break; | ||
| 403 | case _WORKMAN: | ||
| 404 | rgb_matrix_layer_helper(0xD9, 0xA5, 0x21); break; | ||
| 405 | } | ||
| 406 | } | ||
| 407 | #if 0 | ||
| 408 | if (this_mod & MODS_SHIFT_MASK || this_led & (1<<USB_LED_CAPS_LOCK) || this_osm & MODS_SHIFT_MASK) { | ||
| 409 | rgb_matrix_set_color(24, 0x00, 0xFF, 0x00); | ||
| 410 | rgb_matrix_set_color(36, 0x00, 0xFF, 0x00); | ||
| 411 | } | ||
| 412 | if (this_mod & MODS_CTRL_MASK || this_osm & MODS_CTRL_MASK) { | ||
| 413 | rgb_matrix_set_color(25, 0xFF, 0x00, 0x00); | ||
| 414 | rgb_matrix_set_color(34, 0xFF, 0x00, 0x00); | ||
| 415 | rgb_matrix_set_color(37, 0xFF, 0x00, 0x00); | ||
| 416 | |||
| 417 | } | ||
| 418 | if (this_mod & MODS_GUI_MASK || this_osm & MODS_GUI_MASK) { | ||
| 419 | rgb_matrix_set_color(39, 0xFF, 0xD9, 0x00); | ||
| 420 | } | ||
| 421 | if (this_mod & MODS_ALT_MASK || this_osm & MODS_ALT_MASK) { | ||
| 422 | rgb_matrix_set_color(38, 0x00, 0x00, 0xFF); | ||
| 423 | } | ||
| 424 | #endif | ||
| 425 | } | ||
| 426 | |||
| 427 | void matrix_init_keymap(void) { | ||
| 428 | #ifdef RGB_MATRIX_KEYPRESSES | ||
| 429 | rgblight_mode(RGB_MATRIX_MULTISPLASH); | ||
| 430 | #else | ||
| 431 | rgblight_mode(RGB_MATRIX_RAINBOW_MOVING_CHEVRON); | ||
| 432 | #endif | ||
| 433 | |||
| 434 | input_mode = 2; | ||
| 435 | } | ||
| 436 | |||
| 437 | #else | ||
| 438 | void matrix_init_keymap(void) { | ||
| 439 | input_mode = 2; | ||
| 440 | } | ||
| 441 | #endif //RGB_MATRIX_INIT | ||
diff --git a/layouts/community/ergodox/drashna_glow/README.md b/layouts/community/ergodox/drashna_glow/README.md new file mode 100644 index 000000000..7d625a258 --- /dev/null +++ b/layouts/community/ergodox/drashna_glow/README.md | |||
| @@ -0,0 +1 @@ | |||
| Note: This board will not flash if the "g_rgb_leds" const is not set to weak in the ergodox_ez.c file | |||
diff --git a/layouts/community/ergodox/drashna_glow/config.h b/layouts/community/ergodox/drashna_glow/config.h new file mode 100644 index 000000000..197acbc4a --- /dev/null +++ b/layouts/community/ergodox/drashna_glow/config.h | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "../drashna/config.h" | ||
| 4 | |||
| 5 | #undef PRODUCT | ||
| 6 | #define PRODUCT DrashnaDox - Hacked ErgoDox EZ Glow | ||
| 7 | |||
| 8 | #undef DEBOUNCE | ||
| 9 | #define DEBOUNCE 5 | ||
| 10 | |||
| 11 | // #define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot) | ||
diff --git a/layouts/community/ergodox/drashna_glow/keymap.c b/layouts/community/ergodox/drashna_glow/keymap.c new file mode 100644 index 000000000..f2fb66545 --- /dev/null +++ b/layouts/community/ergodox/drashna_glow/keymap.c | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | /* placeholder file */ | ||
| 2 | #include QMK_KEYBOARD_H | ||
| 3 | |||
| 4 | const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = { | ||
| 5 | |||
| 6 | /*{row | col << 4} | ||
| 7 | | {x=0..224, y=0..64} | ||
| 8 | | | modifier | ||
| 9 | | | | */ | ||
| 10 | {{0|(0<<4)}, {24.9*5, 16*0}, 0}, // LED 1 on right | ||
| 11 | {{0|(1<<4)}, {24.9*6, 16*0}, 0}, // LED 2 | ||
| 12 | {{0|(2<<4)}, {24.9*7, 16*0}, 0}, // LED 3 | ||
| 13 | {{0|(3<<4)}, {24.9*8, 16*0}, 0}, // LED 4 | ||
| 14 | {{0|(4<<4)}, {24.9*9, 16*0}, 0}, // LED 5 | ||
| 15 | |||
| 16 | {{1|(5<<4)}, {24.9*5, 16*1}, 0}, // LED 6 | ||
| 17 | {{1|(6<<4)}, {24.9*6, 16*1}, 0}, // LED 7 | ||
| 18 | {{1|(7<<4)}, {24.9*7, 16*1}, 0}, // LED 8 | ||
| 19 | {{1|(8<<4)}, {24.9*8, 16*1}, 0}, // LED 9 | ||
| 20 | {{1|(9<<4)}, {24.9*9, 16*1}, 0}, // LED 10 | ||
| 21 | |||
| 22 | {{2|(5<<4)}, {24.9*5, 16*2}, 0}, // LED 11 | ||
| 23 | {{2|(6<<4)}, {24.9*6, 16*2}, 0}, // LED 12 | ||
| 24 | {{2|(7<<4)}, {24.9*7, 16*2}, 0}, // LED 13 | ||
| 25 | {{2|(8<<4)}, {24.9*8, 16*2}, 0}, // LED 14 | ||
| 26 | {{2|(9<<4)}, {24.9*9, 16*2}, 0}, // LED 15 | ||
| 27 | |||
| 28 | {{3|(5<<4)}, {24.9*5, 16*2}, 0}, // LED 16 | ||
| 29 | {{3|(6<<4)}, {24.9*6, 16*2}, 0}, // LED 17 | ||
| 30 | {{3|(7<<4)}, {24.9*7, 16*2}, 0}, // LED 18 | ||
| 31 | {{3|(8<<4)}, {24.9*8, 16*2}, 0}, // LED 19 | ||
| 32 | {{3|(9<<4)}, {24.9*9, 16*2}, 0}, // LED 20 | ||
| 33 | |||
| 34 | {{4|(6<<4)}, {24.9*6, 16*2}, 1}, // LED 21 | ||
| 35 | {{4|(7<<4)}, {24.9*7, 16*2}, 1}, // LED 22 | ||
| 36 | {{4|(8<<4)}, {24.9*8, 16*2}, 1}, // LED 23 | ||
| 37 | {{4|(9<<4)}, {24.9*9, 16*2}, 1}, // LED 24 | ||
| 38 | |||
| 39 | {{0|(0<<4)}, {24.9*4, 16*0}, 0}, // LED 1 on left | ||
| 40 | {{0|(1<<4)}, {24.9*3, 16*0}, 0}, // LED 2 | ||
| 41 | {{0|(2<<4)}, {24.9*2, 16*0}, 0}, // LED 3 | ||
| 42 | {{0|(3<<4)}, {24.9*1, 16*0}, 0}, // LED 4 | ||
| 43 | {{0|(4<<4)}, {24.9*0, 16*0}, 0}, // LED 5 | ||
| 44 | |||
| 45 | {{1|(5<<4)}, {24.9*4, 16*1}, 0}, // LED 6 | ||
| 46 | {{1|(6<<4)}, {24.9*3, 16*1}, 0}, // LED 7 | ||
| 47 | {{1|(7<<4)}, {24.9*2, 16*1}, 0}, // LED 8 | ||
| 48 | {{1|(8<<4)}, {24.9*1, 16*1}, 0}, // LED 9 | ||
| 49 | {{1|(9<<4)}, {24.9*0, 16*1}, 0}, // LED 10 | ||
| 50 | |||
| 51 | {{2|(5<<4)}, {24.9*4, 16*2}, 0}, // LED 11 | ||
| 52 | {{2|(6<<4)}, {24.9*3, 16*2}, 0}, // LED 12 | ||
| 53 | {{2|(7<<4)}, {24.9*2, 16*2}, 0}, // LED 13 | ||
| 54 | {{2|(8<<4)}, {24.9*1, 16*2}, 0}, // LED 14 | ||
| 55 | {{2|(9<<4)}, {24.9*0, 16*2}, 0}, // LED 15 | ||
| 56 | |||
| 57 | {{3|(5<<4)}, {24.9*4, 16*2}, 0}, // LED 16 | ||
| 58 | {{3|(6<<4)}, {24.9*3, 16*2}, 0}, // LED 17 | ||
| 59 | {{3|(7<<4)}, {24.9*2, 16*2}, 0}, // LED 18 | ||
| 60 | {{3|(8<<4)}, {24.9*1, 16*2}, 0}, // LED 19 | ||
| 61 | {{3|(9<<4)}, {24.9*0, 16*2}, 0}, // LED 20 | ||
| 62 | |||
| 63 | {{4|(6<<4)}, {24.9*3, 16*2}, 1}, // LED 21 | ||
| 64 | {{4|(7<<4)}, {24.9*2, 16*2}, 1}, // LED 22 | ||
| 65 | {{4|(8<<4)}, {24.9*1, 16*2}, 1}, // LED 23 | ||
| 66 | {{4|(9<<4)}, {24.9*0, 16*2}, 1}, // LED 24 | ||
| 67 | }; | ||
diff --git a/layouts/community/ergodox/drashna_glow/rules.mk b/layouts/community/ergodox/drashna_glow/rules.mk new file mode 100644 index 000000000..3b317224a --- /dev/null +++ b/layouts/community/ergodox/drashna_glow/rules.mk | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | USER_NAME := drashna | ||
| 2 | SRC += ../drashna/keymap.c | ||
| 3 | |||
| 4 | -include $$(LAYOUT_KEYMAP_PATH)/../drashna/rules.mk | ||
| 5 | |||
| 6 | ifneq (,$(findstring ergodox_ez,$(KEYBOARD))) | ||
| 7 | RGBLIGHT_ENABLE = no | ||
| 8 | RGB_MATRIX_ENABLE = yes | ||
| 9 | endif | ||
