aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sharfi <me@ngalt.com>2016-05-01 13:55:00 -0700
committerNathan Sharfi <me@ngalt.com>2016-05-01 13:55:00 -0700
commit9b163d2feb332107794a0f6e3573afe92c40b7fe (patch)
tree6318c5a4a5e04c18a2afc94a29ad4075f58a41ae
parent8ec1d41a28d5223a147218bfb7fefd933b906d22 (diff)
downloadqmk_firmware-9b163d2feb332107794a0f6e3573afe92c40b7fe.tar.gz
qmk_firmware-9b163d2feb332107794a0f6e3573afe92c40b7fe.zip
zweihander: Add ⌘`, ⌘⇧`, ⌥⇥, ⌥⇧⇥
-rw-r--r--keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c14
-rw-r--r--keyboard/ergodox_ez/keymaps/zweihander-osx/readme.markdown5
-rw-r--r--keyboard/ergodox_ez/keymaps/zweihander-osx/zweihander-osx.hex8
3 files changed, 16 insertions, 11 deletions
diff --git a/keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c b/keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c
index cc94e1333..f53232c3c 100644
--- a/keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c
+++ b/keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c
@@ -95,9 +95,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
95/* Keymap 2: Media keys 95/* Keymap 2: Media keys
96 * dim brighten 96 * dim brighten
97 * ,--------------------------------------------------. ,--------------------------------------------------. 97 * ,--------------------------------------------------. ,--------------------------------------------------.
98 * | | | | | | | F14 | | F15 | | | | | | Power | 98 * | | | | | | | F14 | | F15 | ⌘W | ⌘⇧` | ⌘` | ⌥⇧⇥ | ⌥⇥ | Power |
99 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| 99 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
100 * | | | | PgUp | | | | | | ⌘] | ⌥⌘↑ | ↑ | ⌥⌘↓ | | | 100 * | | | | PgUp | | | | | | ⌘] | ⌥⌘↑ | ↑ | ⌥⌘↓ | | |
101 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| 101 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
102 * | | | Home | PgDn | End | |------| |------| ⌘[ | ← | ↓ | → | | ⏯ | 102 * | | | Home | PgDn | End | |------| |------| ⌘[ | ← | ↓ | → | | ⏯ |
103 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| 103 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
@@ -124,11 +124,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
124 KC_TRNS, 124 KC_TRNS,
125 KC_TRNS, KC_TRNS, KC_TRNS, 125 KC_TRNS, KC_TRNS, KC_TRNS,
126 // right hand 126 // right hand
127 KC_F15 , KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PWR, 127 KC_F15 , LGUI(KC_W), LGUI(LSFT(KC_GRV)), LGUI(KC_GRV), LALT(LSFT(KC_TAB)), LALT(KC_TAB), KC_PWR,
128 KC_TRNS, LGUI(KC_RBRC), LGUI(LALT(KC_UP)), KC_UP , LGUI(LALT(KC_DOWN)), KC_TRNS, KC_TRNS, 128 KC_TRNS, LGUI(KC_RBRC), LGUI(LALT(KC_UP)), KC_UP , LGUI(LALT(KC_DOWN)), KC_TRNS, KC_TRNS,
129 LGUI(KC_LBRC), KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_MPLY, 129 LGUI(KC_LBRC), KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_MPLY,
130 KC_TRNS, LSFT(KC_SPC), KC_SPC , KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS, 130 KC_TRNS, LSFT(KC_SPC), KC_SPC , KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
131 KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, 131 KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS,
132 KC_TRNS, KC_TRNS, 132 KC_TRNS, KC_TRNS,
133 KC_TRNS, 133 KC_TRNS,
134 KC_TRNS, KC_TRNS, KC_TRNS 134 KC_TRNS, KC_TRNS, KC_TRNS
diff --git a/keyboard/ergodox_ez/keymaps/zweihander-osx/readme.markdown b/keyboard/ergodox_ez/keymaps/zweihander-osx/readme.markdown
index 8103c6b32..7bce7c690 100644
--- a/keyboard/ergodox_ez/keymaps/zweihander-osx/readme.markdown
+++ b/keyboard/ergodox_ez/keymaps/zweihander-osx/readme.markdown
@@ -1,5 +1,7 @@
1# The Zweihander Layout 1# The Zweihander Layout
2 2
3NB: the backtick (\`) is special in Markdown. If I write ⌘\` in this readme, I mean “command-backtick”, not “command-backslash-backtick”.
4
3This layout is tuned for people who… 5This layout is tuned for people who…
4 6
5 7
@@ -12,10 +14,13 @@ This layout doesn’t make any concessions for Windows use. While it should work
12 14
13I tend to have my mouse in my left hand, but I like to use my other hand to make things go faster. I’ve added a bunch of buttons to the media layer to speed up browsing in Safari and Finder: 15I tend to have my mouse in my left hand, but I like to use my other hand to make things go faster. I’ve added a bunch of buttons to the media layer to speed up browsing in Safari and Finder:
14 16
17- Close Window (⌘W)
15- Back (⌘[) 18- Back (⌘[)
16- Forward (⌘]) 19- Forward (⌘])
17- Open and Close Parent Folder (⌥⌘↓) 20- Open and Close Parent Folder (⌥⌘↓)
18- Go Up and Close Just-Left Folder (⌥⌘↑) 21- Go Up and Close Just-Left Folder (⌥⌘↑)
22- Cycle through open windows in current application (⌘\` and ⌘⇧\`)
23- Cycle through tabs in current window (⌥⇥ and ⌥⇧⇥)
19- Space (page down in browsers; Quick Look in the Finder) 24- Space (page down in browsers; Quick Look in the Finder)
20- Shift-Space (page up in web browsers) 25- Shift-Space (page up in web browsers)
21 26
diff --git a/keyboard/ergodox_ez/keymaps/zweihander-osx/zweihander-osx.hex b/keyboard/ergodox_ez/keymaps/zweihander-osx/zweihander-osx.hex
index 9b783c957..3e313c372 100644
--- a/keyboard/ergodox_ez/keymaps/zweihander-osx/zweihander-osx.hex
+++ b/keyboard/ergodox_ez/keymaps/zweihander-osx/zweihander-osx.hex
@@ -39,10 +39,10 @@
39:1002600001000100010001004D000100010001003A 39:1002600001000100010001004D000100010001003A
40:10027000010001000100010000000100690001000F 40:10027000010001000100010000000100690001000F
41:1002800000000100000001006A0001000000010000 41:1002800000000100000001006A0001000000010000
42:1002900000000100010030082F082C0200000100BE 42:10029000000001001A0830082F082C02000001009D
43:1002A0000100520C50002C00A90001000100520076 43:1002A000350A520C50002C00A900010035085200FC
44:1002B0005100AC00AA0001000100510C4F00AB003E 44:1002B0005100AC00AA0001002B06510C4F00AB000E
45:1002C000A80001000100010001000100010001007F 45:1002C000A80001002B040100010001000100010051
46:1002D000A5000100AE00010001000000160345006A 46:1002D000A5000100AE00010001000000160345006A
47:1002E000720067006F0044006F0078002000450036 47:1002E000720067006F0044006F0078002000450036
48:1002F0005A00000016034500720067006F004400BA 48:1002F0005A00000016034500720067006F004400BA