diff options
author | Erez Zukerman <bulk@ezuk.org> | 2016-05-06 09:13:30 -0400 |
---|---|---|
committer | Erez Zukerman <bulk@ezuk.org> | 2016-05-06 09:13:30 -0400 |
commit | 7566ac42414fa4b7bae0dc99c3d75d112f1df2dc (patch) | |
tree | a34a0df2fe6204750bfad2cb1f73b1a8971be255 /keyboard/ergodox_ez | |
parent | 78bd31f28e16458ed8f2f8a7a1fe97b4a9f3f6af (diff) | |
parent | 481c74cc569e47d42c7dfa55daa1f33d066eaef4 (diff) |
Merge pull request #310 from nrrkeene/master
Lock layers by pressing both shift keys
Diffstat (limited to 'keyboard/ergodox_ez')
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/keymap.c | 239 | ||||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.png | bin | 99031 -> 99605 bytes | |||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.txt | 4 | ||||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.png | bin | 123651 -> 124144 bytes | |||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.txt | 10 | ||||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/ordinary-special.png | bin | 0 -> 63065 bytes | |||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/ordinary-special.txt | 27 | ||||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.png | bin | 103944 -> 103735 bytes | |||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.txt | 6 | ||||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/ordinary.hex | 2394 | ||||
-rw-r--r-- | keyboard/ergodox_ez/keymaps/ordinary/readme.md | 37 |
11 files changed, 1400 insertions, 1317 deletions
diff --git a/keyboard/ergodox_ez/keymaps/ordinary/keymap.c b/keyboard/ergodox_ez/keymaps/ordinary/keymap.c index 871bda672c..18939b1923 100644 --- a/keyboard/ergodox_ez/keymaps/ordinary/keymap.c +++ b/keyboard/ergodox_ez/keymaps/ordinary/keymap.c @@ -4,27 +4,32 @@ #include "action_layer.h" #include "action_util.h" -#define BASE 0 // default layer -#define SYMB 1 // symbols layer -#define MDIA 2 // media layer -#define LOCK 3 // shift-lock layer - -#define LSymb 0 // left symbol-shift key -#define LMdia 1 // left media-shift key -#define LLock 2 // left shift-lock key -#define RSymb 3 // right symbol-shift key -#define RMdia 4 // right media-shift key -#define RLock 5 // right shift-lock key - -#define MUL 6 // mouse up left -#define MUR 7 // mouse up right -#define MDL 8 // mouse down left -#define MDR 9 // mouse down right +#define BASE 0 // default layer +#define SYMB 1 // symbols layer +#define MDIA 2 // media layer +#define SPEC 3 // special layer + +#define LCaps 10 // left caps-shift key +#define LSymb 11 // left symbol-shift key +#define LMdia 12 // left media-shift key +#define LSpec 13 // left special-shift key +#define RCaps 14 // right caps-shift key +#define RSymb 15 // right symbol-shift key +#define RMdia 16 // right media-shift key +#define RSpec 17 // right special-shift key + +#define MUL 20 // mouse up left +#define MUR 21 // mouse up right +#define MDL 22 // mouse down left +#define MDR 23 // mouse down right /* - * The Ordinary Layout for the Ergodox EZ keyboard, v3.14 + * The Ordinary Layout for the Ergodox EZ keyboard, v4 * * Modifications from default by Nicholas Keene ergodoxez@nicholaskeene.com + * + * No rights reserved. This software is in the public domain. + * Credit me if you are friendly but if you're a jerk don't bother. * * Details: readme.md * https://github.com/nrrkeene/qmk_firmware/tree/master/keyboard/ergodox_ez/keymaps/ordinary @@ -34,40 +39,40 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /******* Base Layer ******************************************************************************************************** * - * ,-----------------------------------------------------. ,-----------------------------------------------------. - * | Lock `~ | 1 | 2 | 3 | 4 | 5 | ESC | | - | 6 | 7 | 8 | 9 | 0 | =+ Lock | - * |-----------+------+------+------+------+-------------| |------+------+------+------+------+------+-----------| - * | Media Tab | Q | W | E | R | T | [ | | ] | Y | U | I | O | P | \| Media | - * |-----------+------+------+------+------+------| | | |------+------+------+------+------+-----------| - * | Symbol | A | S | D | F | G |------| |------| H | J | K | L | ; | '" Symbol | - * |-----------+------+------+------+------+------|Shift | | Tab |------+------+------+------+------+-----------| - * | LShift | Z | X | C | V | B | -Tab | | | N | M | , | . | / | RShift | - * `-----------+------+------+------+------+-------------' `-------------+------+------+------+------+-----------' - * | LCtrl | Meh |Hyper | LAlt | LGui | | RGui | RAlt | Hyper| Meh | RCtrl | - * `-----------------------------------' `-----------------------------------' - * ,-------------. ,-------------. - * | Home | End | | Left | Right| - * ,------|------|------| |------+------+------. - * | | | PgUp | | Up | | | - * |Backsp| Del |------| |------| Enter| Space| - * | | | PgDn | | Down | | | - * `--------------------' `--------------------' + * ,------------------------------------------------------. ,------------------------------------------------------. + * | Special `~ | 1 | 2 | 3 | 4 | 5 | ESC | | - | 6 | 7 | 8 | 9 | 0 | =+ Special | + * |------------+------+------+------+------+-------------| |------+------+------+------+------+------+------------| + * | Media Tab | Q | W | E | R | T | [ | | ] | Y | U | I | O | P | \| Media | + * |------------+------+------+------+------+------| | | |------+------+------+------+------+------------| + * | Symbol | A | S | D | F | G |------| |------| H | J | K | L | ; | '" Symbol | + * |------------+------+------+------+------+------|Shift | | Tab |------+------+------+------+------+------------| + * | Capitals | Z | X | C | V | B | -Tab | | | N | M | , | . | / | Capitals | + * `------------+------+------+------+------+-------------' `-------------+------+------+------+------+------------' + * | LCtrl | Meh |Hyper | LAlt | LGui | | RGui | RAlt | Hyper| Meh | RCtrl | + * `-----------------------------------' `-----------------------------------' + * ,-------------. ,-------------. + * | Home | End | | Left | Right| + * ,------|------|------| |------+------+------. + * | | | PgUp | | Up | | | + * |Backsp| Del |------| |------| Enter| Space| + * | | | PgDn | | Down | | | + * `--------------------' `--------------------' */ [BASE] = KEYMAP( // left hand - F(LLock) ,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 ,KC_ESC + F(LSpec),KC_1,KC_2,KC_3 ,KC_4 ,KC_5 ,KC_ESC ,F(LMdia) ,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T ,KC_LBRC ,M(LSymb) ,KC_A ,KC_S ,KC_D ,KC_F ,KC_G -,KC_LSFT ,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B ,LSFT(KC_TAB) +,M(LCaps) ,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B ,LSFT(KC_TAB) ,KC_LCTL ,KC_MEH ,KC_HYPR,KC_LALT,KC_LGUI ,KC_HOME,KC_END ,KC_PGUP ,KC_BSPC,KC_DEL ,KC_PGDN // right hand - ,KC_MINS ,KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,F(RLock) + ,KC_MINS ,KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,F(RSpec) ,KC_RBRC ,KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,F(RMdia) ,KC_H ,KC_J ,KC_K ,KC_L ,KC_SCLN ,F(RSymb) - ,KC_TAB ,KC_N ,KC_M ,KC_COMM,KC_DOT ,KC_SLSH ,KC_RSFT + ,KC_TAB ,KC_N ,KC_M ,KC_COMM,KC_DOT ,KC_SLSH ,M(RCaps) ,KC_RGUI,KC_RALT,KC_HYPR ,KC_MEH ,KC_RCTL ,KC_LEFT ,KC_RGHT ,KC_UP @@ -158,7 +163,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ,KC_VOLD ,KC_MSTP ,KC_MPLY ), -/******* Lock Layer ******************************************************************************************************** +/******* Special Layer ***************************************************************************************************** * * ,-----------------------------------------------------. ,-----------------------------------------------------. * | | Esc | | | | | | | | | | | | Bspc | | @@ -167,7 +172,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * |-----------+------+------+------+------+------| | | |------+------+------+------+------+-----------| * | | | | | | |------| |------| | | | | | | * |-----------+------+------+------+------+------| | | |------+------+------+------+------+-----------| - * | Caps LOCK | | | | | | | | | | | | | | Caps LOCK | + * | | | | | | | | | | | | | | | RShift | * `-----------+------+------+------+------+-------------' `-------------+------+------+------+------+-----------' * | | | | | | | | | | | | * `----------------------------------' `----------------------------------' @@ -179,12 +184,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * | | | | | | | | * `--------------------' `--------------------' */ -[LOCK] = KEYMAP( +[SPEC] = KEYMAP( // left hand KC_TRNS ,KC_ESC ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS -,KC_CAPS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS +,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS @@ -194,7 +199,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_BSPC ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS - ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_CAPS + ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_RSFT ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS ,KC_TRNS @@ -204,91 +209,118 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; const uint16_t PROGMEM fn_actions[] = { - // the six faux shift keys are implemented as macro taps - [LSymb] = ACTION_MACRO_TAP(LSymb) + // the faux shift keys are implemented as macro taps + [LCaps] = ACTION_MACRO_TAP(LCaps) + ,[LSymb] = ACTION_MACRO_TAP(LSymb) ,[LMdia] = ACTION_MACRO_TAP(LMdia) - ,[LLock] = ACTION_MACRO_TAP(LLock) + ,[LSpec] = ACTION_MACRO_TAP(LSpec) + ,[RCaps] = ACTION_MACRO_TAP(RCaps) ,[RSymb] = ACTION_MACRO_TAP(RSymb) ,[RMdia] = ACTION_MACRO_TAP(RMdia) - ,[RLock] = ACTION_MACRO_TAP(RLock) + ,[RSpec] = ACTION_MACRO_TAP(RSpec) }; -uint16_t symb_shift = 0; // there are two shift keys for each layer, and two lock -uint16_t mdia_shift = 0; // keys; we increment a counter for each key pressed and -uint16_t shift_lock = 0; // decrement when released. +uint16_t caps_shift = 0; +uint16_t symb_shift = 0; +uint16_t mdia_shift = 0; -bool symb_lock = false; // when shift-lock is used in conjunction with a shift -bool mdia_lock = false; // key the lock flag is toggled +bool symb_lock = false; +bool mdia_lock = false; const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { switch(id) { - // shift and lock between layers + // There are two shift keys for each layer so we increment a layer_shift var when one + // is pressed and decrement when one is released. If both are pressed at the same time + // then the layer is locked (or unlocked). The shift counts are bound between 0 and 2 + // only because sometimes rapid pressing led to irregular events; this way the states + // are self healing during use. + + case LCaps: // both caps-shift keys trigger Left Shift + case RCaps: // so they don't interfere with the magic combo + if (record->event.pressed && !record->tap.count) { + if(++caps_shift > 2) caps_shift = 2; + if(caps_shift == 2) { + register_code(KC_CAPS); + unregister_code(KC_CAPS); + } else if(caps_shift == 1) { + register_code(KC_LSFT); + } + } else { + if(--caps_shift < 0) caps_shift = 0; + if(caps_shift == 0) unregister_code(KC_LSFT); + } + break; case LSymb: if (record->event.pressed) { - symb_shift++; - if(shift_lock) symb_lock = !symb_lock; - layer_on(SYMB); + if(++symb_shift > 2) symb_shift = 2; + if(symb_shift == 2) { + symb_lock = !symb_lock; + } else if(symb_shift == 1) { + layer_on(SYMB); + } } else { - symb_shift--; - if((!symb_shift) && (!symb_lock)) layer_off(SYMB); + if(--symb_shift < 0) symb_shift = 0; + if((symb_shift == 0) && (!symb_lock)) layer_off(SYMB); } break; case LMdia: if (record->event.pressed) { - if (record->tap.count && !shift_lock) { + if (record->tap.count && (!mdia_shift) && (!mdia_lock)) { register_code(KC_TAB); } else { - mdia_shift++; - if(shift_lock) mdia_lock = !mdia_lock; - layer_on(MDIA); + if(++mdia_shift > 2) mdia_shift = 2; + if(mdia_shift == 2) { + mdia_lock = !mdia_lock; + } else if(mdia_shift == 1) { + layer_on(MDIA); + } } } else { - if(record->tap.count && !shift_lock) { + if(record->tap.count && (!mdia_shift) && (!mdia_lock)) { unregister_code(KC_TAB); } else { - mdia_shift--; + if(--mdia_shift < 0) mdia_shift = 0; if((!mdia_shift) && (!mdia_lock)) layer_off(MDIA); } } break; - case LLock: + case LSpec: if (record->event.pressed) { - shift_lock++; - if(symb_shift) symb_lock = !symb_lock; - if(mdia_shift) mdia_lock = !mdia_lock; - if(!record->tap.count && (keyboard_report->mods & (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)))) { - register_code(KC_CAPS); - unregister_code(KC_CAPS); - } - layer_on(LOCK); - } else { - if(record->tap.count && !record->tap.interrupted && !symb_shift && !mdia_shift) { + if (record->tap.count && !record->tap.interrupted) { register_code(KC_GRV); + } else { + layer_on(SPEC); + } + } else { + if(record->tap.count && !record->tap.interrupted) { unregister_code(KC_GRV); + } else { + layer_off(SPEC); } - shift_lock--; - if(!shift_lock) layer_off(LOCK); } break; case RSymb: if (record->event.pressed) { - if (record->tap.count && !shift_lock) { + if (record->tap.count && (!symb_shift) && (!symb_lock)) { register_code(KC_QUOT); } else { - symb_shift++; - if(shift_lock) symb_lock = !symb_lock; - layer_on(SYMB); + if(++symb_shift > 2) symb_shift = 2; + if(symb_shift == 2) { + symb_lock = !symb_lock; + } else if(symb_shift == 1) { + layer_on(SYMB); + } } } else { - if(record->tap.count && !shift_lock) { + if(record->tap.count && symb_shift == 0) { unregister_code(KC_QUOT); } else { - symb_shift--; + if(--symb_shift < 0) symb_shift = 0; if((!symb_shift) && (!symb_lock)) layer_off(SYMB); } } @@ -296,40 +328,39 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) case RMdia: if (record->event.pressed) { - if (record->tap.count && !shift_lock) { + if (record->tap.count && (!mdia_shift) && (!mdia_lock)) { register_code(KC_BSLS); } else { - mdia_shift++; - if(shift_lock) mdia_lock = !mdia_lock; - layer_on(MDIA); + if(++mdia_shift > 2) mdia_shift = 2; + if(mdia_shift == 2) { + mdia_lock = !mdia_lock; + } else if(mdia_shift == 1) { + layer_on(MDIA); + } } } else { - if(record->tap.count && !shift_lock) { + if(record->tap.count && (!mdia_shift) && (!mdia_lock)) { unregister_code(KC_BSLS); } else { - mdia_shift--; + if(--mdia_shift < 0) mdia_shift = 0; if((!mdia_shift) && (!mdia_lock)) layer_off(MDIA); } } break; - case RLock: + case RSpec: if (record->event.pressed) { - shift_lock++; - if(symb_shift) symb_lock = !symb_lock; - if(mdia_shift) mdia_lock = !mdia_lock; - if(!record->tap.count && (keyboard_report->mods & (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)))) { - register_code(KC_CAPS); - unregister_code(KC_CAPS); - } - layer_on(LOCK); - } else { - if (record->tap.count && !record->tap.interrupted && !symb_shift && !mdia_shift) { + if (record->tap.count && !record->tap.interrupted) { register_code(KC_EQL); + } else { + layer_on(SPEC); + } + } else { + if(record->tap.count && !record->tap.interrupted) { unregister_code(KC_EQL); + } else { + layer_off(SPEC); } - shift_lock--; - if(!shift_lock) layer_off(LOCK); } break; @@ -399,7 +430,7 @@ void matrix_init_user(void) { // Runs constantly in the background, in a loop. void matrix_scan_user(void) { // shift or caps lock turns on red light - if((keyboard_report->mods & (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT))) || (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK))) { + if(caps_shift || (keyboard_report->mods & MOD_BIT(KC_RSFT)) || (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK))) { ergodox_right_led_1_on(); } else { ergodox_right_led_1_off(); diff --git a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.png b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.png Binary files differindex 69af8df4e1..9c561a10aa 100644 --- a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.png +++ b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.png diff --git a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.txt b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.txt index 04792f2dfc..25731ea2e6 100644 --- a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.txt +++ b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-base.txt @@ -1,7 +1,7 @@ [{x:3.5},"#\n3",{x:10.5},"*\n8"], [{y:-0.875,x:2.5},"@\n2",{x:1},"$\n4",{x:8.5},"&\n7",{x:1},"(\n9"], [{y:-0.875,x:5.5},"%\n5",{c:"#ff4444"},"Esc",{x:4.5,c:"#cccccc"},"_\n\n\n\n\n\n-","^\n6"], -[{y:-0.875,c:"#2277ff",w:1.5},"Shift\n\n~\n\n\n\nLock\n`",{c:"#cccccc"},"!\n1",{x:14.5},")\n0",{c:"#2277ff",w:1.5},"+\n\nShift\n\n\n\n=\nLock"], +[{y:-0.875,c:"#2277ff",w:1.5},"Special\n\n~\n\n\n\nShift\n`",{c:"#cccccc"},"!\n1",{x:14.5},")\n0",{c:"#2277ff",w:1.5},"+\n\nSpecial\n\n\n\n=\nShift"], [{y:-0.375,x:3.5,c:"#cccccc"},"E",{x:10.5},"I"], [{y:-0.875,x:2.5},"W",{x:1},"R",{x:8.5},"U",{x:1},"O"], [{y:-0.875,x:5.5},"T",{h:1.5},"{\n\n\n\n\n\n[",{x:4.5,h:1.5},"}\n\n\n\n\n\n]","Y"], @@ -14,7 +14,7 @@ [{y:-0.75,x:3.5,c:"#cccccc"},"C",{x:10.5},"<\n,"], [{y:-0.875,x:2.5},"X",{x:1},"V",{x:8.5},"M",{x:1},">\n."], [{y:-0.875,x:5.5},"B",{x:6.5},"N"], -[{y:-0.875,c:"#2277ff",fa:[0,1,0,1,0,0,0],w:1.5},"Capitals\nShift\n\n\n\n\nShift",{c:"#cccccc"},"Z",{x:14.5,f:3},"?\n/",{c:"#2277ff",w:1.5},"\n\nCapitals\nShift\n\n\n\nShift"], +[{y:-0.875,c:"#2277ff",w:1.5},"Capitals\n\n\n\n\n\nShift",{c:"#cccccc"},"Z",{x:14.5},"?\n/",{c:"#2277ff",w:1.5},"\n\nCapitals\n\n\n\n\nShift"], [{y:-0.375,x:3.5,c:"#77aaff"},"Option\n\n\nLAlt",{x:10.5},"Option\n\n\nRAlt"], [{y:-0.875,x:2.5},"Hyper",{x:1},"Cmd\n\n\nSuper",{x:8.5},"Cmd\n\n\nSuper",{x:1},"Hyper"], [{y:-0.75,x:0.5},"Ctrl\n\n\nLCtrl","Meh",{x:14.5},"Meh","Ctrl\n\n\nRCtrl"], diff --git a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.png b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.png Binary files differindex f3fed3cdbe..99e5ed80b1 100644 --- a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.png +++ b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.png diff --git a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.txt b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.txt index f1ecd5fdce..4eccc9f350 100644 --- a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.txt +++ b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-media.txt @@ -1,7 +1,7 @@ [{x:3.5,c:"#99de2a"},"F13",{x:10.5},"F18"], [{y:-0.875,x:2.5},"F12",{x:1},"F14",{x:8.5},"F17",{x:1},"F19"], -[{y:-0.875,x:5.5},"F15",{c:"#ff4444"},"Esc",{x:4.5,c:"#cccccc",a:7},"",{c:"#99de2a",a:4},"F16"], -[{y:-0.875,c:"#2277ff",w:1.5},"Shift\n\n\n\n\n\nLock",{c:"#99de2a"},"F11",{x:14.5},"F20",{c:"#2277ff",w:1.5},"\n\nShift\n\n\n\n\nLock"], +[{y:-0.875,x:5.5},"F15",{c:"#ff4444"},"Esc",{x:4.5,c:"#737373",a:7},"",{c:"#99de2a",a:4},"F16"], +[{y:-0.875,c:"#2277ff",w:1.5},"Special\n\n\n\n\n\nShift",{c:"#99de2a"},"F11",{x:14.5},"F20",{c:"#2277ff",w:1.5},"\n\nSpecial\n\n\n\n\nShift"], [{y:-0.375,x:3.5,c:"#ff8500"},"Mouse\n\n\n\n\n\nUp",{x:10.5},"Cursor\n\n\n\n\n\nUp"], [{y:-0.875,x:2.5},"Mouse\n\n\n\n\n\nUpLeft",{x:1},"Mouse\n\n\n\n\n\nUpRgt",{x:8.5,c:"#ffb063"},"Home",{x:1},"Page\n\n\n\n\n\nUp"], [{y:-0.875,x:5.5,c:"#e6e067"},"Vol\n\n\n\n\n\nUp",{c:"#ffb063",h:1.5},"Scroll\n\n\n\n\n\nUp",{x:4.5,h:1.5},"Scroll\n\n\n\n\n\nUp",{c:"#e6e067"},"Print\n\n\n\n\n\nScreen"], @@ -13,9 +13,9 @@ [{y:-0.625,x:6.5,c:"#ffb063",h:1.5},"Scroll\n\n\n\n\n\nDown",{x:4.5,h:1.5},"Scroll\n\n\n\n\n\nDown"], [{y:-0.75,x:3.5,c:"#ff8500"},"Mouse\n\n\n\n\n\nDown",{x:10.5},"Cursor\n\n\n\n\n\nDown"], [{y:-0.875,x:2.5},"Mouse\n\n\n\n\n\nDnLeft",{x:1},"Mouse\n\n\n\n\n\nDnRgt",{x:8.5,c:"#ffb063"},"End",{x:1},"Page\n\n\n\n\n\nDown"], -[{y:-0.875,x:5.5,c:"#e6e067"},"Mute",{x:6.5,c:"#cccccc",a:7},""], -[{y:-0.875,c:"#2277ff",a:4,fa:[0,1,0,0,0,0,0],w:1.5},"Capitals\nShift\n\n\n\n\nShift",{c:"#cccccc",a:7},"",{x:14.5},"",{c:"#2277ff",a:4,fa:[0,1,0,1],w:1.5},"\n\nCapitals\nShift\n\n\n\nShift"], -[{y:-0.375,x:3.5,c:"#ff8500"},"Middle\n\n\n\n\n\nClick",{x:10.5,c:"#ffb063"},"Delete\n\n\nOption"], +[{y:-0.875,x:5.5,c:"#e6e067"},"Mute",{x:6.5,c:"#737373",a:7},""], +[{y:-0.875,c:"#2277ff",a:4,w:1.5},"Capitals\n\n\n\n\n\nShift",{c:"#737373",a:7},"",{x:14.5},"",{c:"#2277ff",a:4,w:1.5},"\n\nCapitals\n\n\n\n\nShift"], +[{y:-0.375,x:3.5,c:"#ff8500"},"Middle\n\n\n\n\n\nClick",{x:10.5,c:"#ffb063",fa:[0,0,0,1]},"Delete\n\n\nOption"], [{y:-0.875,x:2.5,c:"#ff8500"},"Left\n\n\n\n\n\nClick",{x:1},"Right\n\n\n\n\n\nClick",{x:8.5,c:"#ffb063"},"Insert\n\n\nCmd",{x:1,c:"#77aaff"},"Hyper"], [{y:-0.75,x:0.5},"Ctrl\n\n\nLCtrl","Meh",{x:14.5},"Meh","Crtl\n\n\nRCtrl"], [{r:30,rx:6.5,ry:4.25,y:-1,x:1,c:"#ccbb00"},"Stop\n\n\nBrowser","Reload\n\n\nBrowser"], diff --git a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-special.png b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-special.png Binary files differnew file mode 100644 index 0000000000..6eecf447ee --- /dev/null +++ b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-special.png diff --git a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-special.txt b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-special.txt new file mode 100644 index 0000000000..a08827c6de --- /dev/null +++ b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-special.txt @@ -0,0 +1,27 @@ +[{x:3.5,a:7},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.875,x:5.5},"",{c:"#ff4444",a:4},"Esc",{x:4.5,c:"#cccccc",a:7},"",""], +[{y:-0.875,c:"#000000",t:"#ff0000",a:4,w:1.5},"Special\n\n\n\n\n\nShift",{c:"#ff4444",t:"#000000"},"Esc",{x:14.5,c:"#54d6de"},"Back\n\n\n\n\n\nspace",{c:"#000000",t:"#ff0000",w:1.5},"\n\nSpecial\n\n\n\n\nShift"], +[{y:-0.375,x:3.5,c:"#cccccc",t:"#000000",a:7},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.875,x:5.5},"",{h:1.5},"",{x:4.5,h:1.5},"",""], +[{y:-0.875,w:1.5},"","",{x:14.5},"",{w:1.5},""], +[{y:-0.375,x:3.5},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.875,x:5.5},"",{x:6.5},""], +[{y:-0.875,w:1.5},"","",{x:14.5},"",{w:1.5},""], +[{y:-0.625,x:6.5,h:1.5},"",{x:4.5,h:1.5},""], +[{y:-0.75,x:3.5},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.875,x:5.5},"",{x:6.5},""], +[{y:-0.875,w:1.5},"","",{x:14.5},"",{c:"#2277ff",w:1.5},"RShift"], +[{y:-0.375,x:3.5,c:"#cccccc"},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.75,x:0.5},"","",{x:14.5},"",""], +[{r:30,rx:6.5,ry:4.25,y:-1,x:1},"",""], +[{h:2},"",{h:2},"",""], +[{x:2},""], +[{r:-30,rx:13,y:-1,x:-3},"",""], +[{x:-3},"",{h:2},"",{h:2},""], +[{x:-3},""] + diff --git a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.png b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.png Binary files differindex 8a0cfd63f8..e4de64a96f 100644 --- a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.png +++ b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.png diff --git a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.txt b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.txt index 93f632e955..e199f5c59f 100644 --- a/keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.txt +++ b/keyboard/ergodox_ez/keymaps/ordinary/ordinary-symbol.txt @@ -1,7 +1,7 @@ [{x:3.5,c:"#99de2a"},"F3",{x:10.5},"F8"], [{y:-0.875,x:2.5},"F2",{x:1},"F4",{x:8.5},"F7",{x:1},"F9"], [{y:-0.875,x:5.5},"F5",{c:"#ff4444"},"Esc",{x:4.5,c:"#bbddbb"},"_\n\n\n\n\n\n-",{c:"#99de2a"},"F6"], -[{y:-0.875,c:"#2277ff",w:1.5},"Shift\n\n\n\n\n\nLock",{c:"#99de2a"},"F1",{x:14.5},"F10",{c:"#2277ff",w:1.5},"\n\nShift\n\n\n\n\nLock"], +[{y:-0.875,c:"#2277ff",w:1.5},"Special\n\n\n\n\n\nShift",{c:"#99de2a"},"F1",{x:14.5},"F10",{c:"#2277ff",w:1.5},"\n\nSpecial\n\n\n\n\nShift"], [{y:-0.375,x:3.5,c:"#bbddbb"},"{",{x:10.5,c:"#89b087"},"8"], [{y:-0.875,x:2.5,c:"#bbddbb"},"@",{x:1},"}",{x:8.5,c:"#89b087"},"7",{x:1},"9"], [{y:-0.875,x:5.5,c:"#bbddbb"},"&",{h:1.5},"<",{x:4.5,h:1.5},">","|"], @@ -14,7 +14,7 @@ [{y:-0.75,x:3.5,c:"#bbddbb"},"[",{x:10.5,c:"#89b087"},"2"], [{y:-0.875,x:2.5,c:"#bbddbb"},"^",{x:1},"]",{x:8.5,c:"#89b087"},"1",{x:1},"3"], [{y:-0.875,x:5.5,c:"#bbddbb"},"~",{x:6.5},"\\"], -[{y:-0.875,c:"#2277ff",f2:1,w:1.5},"Capitals\nShift\n\n\n\n\nShift",{c:"#bbddbb"},"%",{x:14.5,c:"#89b087"},"-",{c:"#2277ff",fa:[0,1,0,1],w:1.5},"\n\nCapitals\nShift\n\n\n\nShift"], +[{y:-0.875,c:"#2277ff",w:1.5},"Capitals\n\n\n\n\n\nShift",{c:"#bbddbb"},"%",{x:14.5,c:"#89b087"},"-",{c:"#2277ff",w:1.5},"\n\nCapitals\n\n\n\n\nShift"], [{y:-0.375,x:3.5,c:"#77aaff"},"Option\n\n\nLAlt",{x:10.5,c:"#89b087"},".\n\n\nOption"], [{y:-0.875,x:2.5,c:"#77aaff"},"Hyper",{x:1},"Cmd\n\n\nSuper",{x:8.5,c:"#89b087"},"0\n\n\nCmd",{x:1},"=\n\n\nHyper"], [{y:-0.75,x:0.5,c:"#77aaff"},"Ctrl\n\n\nLCtrl","Meh",{x:14.5,c:"#89b087"},"+\n\n\nMeh","Enter\n\n\nCtrl"], @@ -22,6 +22,6 @@ [{h:2},"Space",{h:2},"Enter","Up"], [{x:2},"Down"], [{r:-30,rx:13,y:-1,x:-3},"Home","End"], -[{x:-3},"Page\n\n\n\n\n\nUp",{f:3,h:2},"< Del\n\n\nBackspace",{f:3,h:2},"Del >\n\n\nDelete"], +[{x:-3},"Page\n\n\n\n\n\nUp",{h:2},"< Del\n\n\nBackspace",{h:2},"Del >\n\n\nDelete"], [{x:-3},"Page\n\n\n\n\n\nDown"] diff --git a/keyboard/ergodox_ez/keymaps/ordinary/ordinary.hex b/keyboard/ergodox_ez/keymaps/ordinary/ordinary.hex index 6a42b7098a..1e740e4f39 100644 --- a/keyboard/ergodox_ez/keymaps/ordinary/ordinary.hex +++ b/keyboard/ergodox_ez/keymaps/ordinary/ordinary.hex @@ -1,1198 +1,1202 @@ -:100000000C94C7020C940B030C940B030C940B037D
-:100010000C940B030C940B030C940B030C940B0328
-:100020000C940B030C940B030C942A0E0C94FC0EF2
-:100030000C940B030C940B030C940B030C940B0308
-:100040000C940B030C947B230C940B030C940B0368
-:100050000C940B030C941F1D0C940B030C940B03BA
-:100060000C940B030C940B030C940B030C940B03D8
-:100070000C940B030C940B030C940B030C940B03C8
-:100080000C940B030C940B030C940B030C940B03B8
-:100090000C940B030C940B030C940B030C940B03A8
-:1000A0000C940B030C940B030C940B031C034E03D6
-:1000B0009A0335035E032D044A044D0450045E0484
-:1000C000610F830F6E10830F6E10C50FE80F6E1057
-:1000D0003D1050104A134A138B138B13CD13091480
-:1000E000091609162114091618151815E31509160D
-:1000F0000916F71500C801C802C803C804C805C816
-:10010000022001200030E100E00000001E00140089
-:1001100004001D0000074E001F001A0016001B00FF
-:10012000000F4C002000080007000600E2002A0033
-:100130002100150009001900E3004B002200170000
-:100140000A00050000004A0029002F0000002B02D1
-:1001500000004D002D00300000002B00000050007A
-:1001600023001C000B00110000004F0024001800A9
-:100170000D001000E700520025000C000E003600B4
-:10018000E6002C00260012000F003700000F2800A8
-:100190002700130033003800000751000520042019
-:1001A0000320E500E400000001000100010001005F
-:1001B000E00000003A001E02200222020007510067
-:1001C0003B001F0221022302000F28003C002F02E7
-:1001D00026022F00E2002C003D00300227023000F2
-:1001E000E30052003E0024023500350200005000BA
-:1001F0002900360200002B0000004F002D003702BE
-:1002000000002B0200004A003F003102380031009C
-:1002100000004D004000240021001E0027784B0004
-:100220004100250022001F0037744C0042002600C8
-:10023000230020002E7F2A004300380025022D00D5
-:100240002E774E000100010001000100287100001E
-:100250000100010001000100E00000004400660010
-:10026000A60000000007B50045000630F200083087
-:10027000F60000006800F000F100F100F400B600A4
-:1002800069000730F3000930F500B4006A00A900E6
-:10029000AA00A8000000B8002900F9000000FA0038
-:1002A0000000B9000000F9000000FA000000AC00F6
-:1002B0006B004600530000000000AB006C004A00D9
-:1002C00050004D004978A9006D00520051005100C6
-:1002D0004C74AE006E004B004F004E00000FAD009E
-:1002E0006F00B100B30000000007AA000100010088
-:1002F00001000100E40000000100010001003900DC
-:1003000001000000290001000100010001000100BE
-:1003100001000100010001000100010001000100D5
-:1003200001000100010001000100010001000100C5
-:1003300001000100010001000100010000000100B6
-:1003400001000100000001000000010001000100A7
-:100350000000010000000100010001000100010097
-:100360000000010001000100010001000100010086
-:100370000100010001000100010001000100010075
-:1003800001000100010001002A000100010001003C
-:10039000010001000100010001003900010000001E
-:1003A00016034500720067006F0044006F0078007C
-:1003B000200045005A000000160345007200670047
-:1003C0006F0044006F007800200045005A000000D4
-:1003D0000403090409026D00040100A0FA090400E5
-:1003E000000103010100092111010001223F000762
-:1003F00005810308000A0904010001030102000944
-:100400002111010001224D000705820308000A099D
-:10041000040200010300000009211101000122363D
-:10042000000705830308000A090403000103000014
-:100430000009211101000122390007058403100081
-:10044000011201100100000008EDFE071301000178
-:1004500002000105010906A101050719E029E715B8
-:1004600000250195087501810205081901290595E6
-:100470000575019102950175039101050719002980
-:100480007715002501957875018102C00501098065
-:10049000A101850216010026B7001A01002AB70043
-:1004A000751095018100C0050C0901A10185031695
-:1004B0000100269C021A01002A9C027510950181F8
-:1004C00000C005010902A1010901A10005091901E6
-:1004D0002905150025019505750181029501750312
-:1004E00081010501093009311581257F95027508C3
-:1004F000810609381581257F950175088106050C4F
-:100500000A38021581257F950175088106C0C0054E
-:10051000010906A101050719E029E7150025019544
-:1005200008750181029501750881010508190129E5
-:10053000059505750191029501750391010507194E
-:100540000029FF150025FF950675088100C00000F1
-:10055000000000000000000000010204060A0F175E
-:10056000202C3A4A5D71879DB3C7DAE9F5FCFFFCA0
-:10057000F5E9DAC7B39D87715D4A3A2C20170F0A57
-:100580000604020100000000000000000000112429
-:100590001FBECFEFDAE0DEBFCDBF04B603FE24C03E
-:1005A0008091F6019091F701A091F801B091F901C5
-:1005B0008730904BA740B04BB9F41092F6011092DF
-:1005C000F7011092F8011092F90114BE84B7877FE9
-:1005D00084BF88E10FB6F8948093600010926000A9
-:1005E0000FBEE0E0FFE3099511E0A0E0B1E0E4E830
-:1005F000FAE402C005900D92A433B107D9F721E0C7
-:10060000A4E3B1E001C01D92A63FB207E1F70E944A
-:10061000700B0C9440250C940000DC01462F50E038
-:100620004A30510508F05DC14A5A5F4F12962C912D
-:100630001297FA010C94F02480913A0190913B01B9
-:100640002223F1F0019690933B0180933A0180912F
-:10065000360190913701892B31F08091350191E07D
-:1006600089278093350181E09AC015968C91807F0F
-:100670002111BFC009F0D5C080913A0190913B0192
-:10068000019790933B0180933A01892B09F029C18E
-:1006900080913501811125C181E0A8C015968C910A
-:1006A000807F222349F12091360130913701882340
-:1006B00081F02115310569F48BE2C1C015968C914A
-:1006C000807F222319F12091360130913701811169
-:1006D000B1C0809138019091390101969093390110
-:1006E00080933801232B31F08091340191E08927E8
-:1006F0008093340182E053C0882351F08091360109
-:1007000090913701892B21F48BE2A4C081119AC00A
-:10071000809138019091390101979093390180932C
-:100720003801892B09F0DDC0809134018111D9C0D5
-:1007300082E05CC015963C912223A1F180913601A4
-:100740009091370101969093370180933601809103
-:100750003A0190913B01892B31F08091350191E074
-:100760008927809335018091380190913901892B37
-:1007700031F08091340191E0892780933401307FFA
-:1007800069F4E0910E01F0910F018081827231F0E5
-:1007900089E30E94D21189E30E949A1283E00E94A9
-:1007A0009D1A9FC0832F807FA1F030FD12C08091E1
-:1007B0003A0190913B01892B61F48091380190912D
-:1007C0003901892B31F485E30E94D21185E30E941F
-:1007D0009A128091360190913701019790933701D9
-:1007E00080933601892B09F07CC083E00E94BE1AF9
-:1007F00078C02091360130913701882329F02115E6
-:10080000310511F484E31BC080913A0190913B01C2
-:10081000019690933B0180933A01232B09F01DCF61
-:1008200022CF8091360190913701892B09F024CF96
-:1008300084E310C02115310509F04BCF81E30E94FC
-:10084000D2114FC08091360190913701892B09F068
-:100850005FCF81E30E949A1244C015963C9121110A
-:100860006DCF832F807F09F4B4CF30FDB2CF80915C
-:100870003A0190913B01892B09F0ABCF809138016F
-:1008800090913901892B09F0A4CF8EE20E94D211F8
-:100890008EE29DCF80EF90E005C080EF90E010C029
-:1008A00081EF90E0222329F00E94931F82EF90E0D5
-:1008B0000DC00E94FB1F82EF90E00FC081EF90E01F
-:1008C000222339F00E94931F83EF90E00E94931F30
-:1008D00006C00E94FB1F83EF90E00E94FB1F0E9456
-:1008E000802080E090E008950895E0910E01F0915D
-:1008F0000F018081827219F0259A2D9A06C00E94FC
-:10090000A91081FDF9CF25982D988091B90181FF1B
-:1009100003C0269A2E9A02C026982E988091B9017B
-:1009200082FF03C0279A2F9A089527982F98089539
-:100930000C94750456985E9825982D9826982E98B4
-:1009400027982F988FEF90E09093890080938800EC
-:1009500090938B0080938A0090938D0080938C00FD
-:10096000259A2D9A2FEF80E792E021508040904009
-:10097000E1F700C00000269A2E9A2FEF80E792E060
-:10098000215080409040E1F700C00000279A2F9A44
-:100990002FEF80E792E0215080409040E1F700C0C7
-:1009A000000025982D982FEF80E792E0215080409D
-:1009B0009040E1F700C0000026982E982FEF80E7C6
-:1009C00092E0215080 |