Merge pull request #600 from adiabatic/master
zweihander-osx: add left-hand-thumb tab key
This commit is contained in:
commit
6eab4ecd7e
@ -11,7 +11,7 @@
|
|||||||
#define BBED 2 // BBEdit
|
#define BBED 2 // BBEdit
|
||||||
#define TMNL 3 // Terminal
|
#define TMNL 3 // Terminal
|
||||||
#define SAFA 4 // Safari
|
#define SAFA 4 // Safari
|
||||||
#define ALFRED_LEAD_TIME 100 // time, in milliseconds, to let Alfred come to the fore and accept keyboard input
|
#define ALFRED_LEAD_TIME 250 // time, in milliseconds, to let Alfred come to the fore and accept keyboard input
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
/* Keymap 0: Basic layer
|
/* Keymap 0: Basic layer
|
||||||
@ -31,7 +31,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
* | `~ | '" | | ⎋ | ⌫ |
|
* | `~ | '" | | ⎋ | ⌫ |
|
||||||
* ,------|------|------| |------+--------+------.
|
* ,------|------|------| |------+--------+------.
|
||||||
* | | | PgUp | | PgDn | | |
|
* | | | PgUp | | PgDn | | |
|
||||||
* | | ⌫ |------| |------| ⇥ |Enter |
|
* | | ⇥ |------| |------| ⇥ |Enter |
|
||||||
* | | | L⌥ | | L⌃ | | |
|
* | | | L⌥ | | L⌃ | | |
|
||||||
* `--------------------' `----------------------'
|
* `--------------------' `----------------------'
|
||||||
*/
|
*/
|
||||||
@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
KC_LCTL, KC_LALT, KC_LGUI,KC_LEFT,KC_RGHT,
|
KC_LCTL, KC_LALT, KC_LGUI,KC_LEFT,KC_RGHT,
|
||||||
KC_GRV, KC_QUOT,
|
KC_GRV, KC_QUOT,
|
||||||
KC_PGUP,
|
KC_PGUP,
|
||||||
KC_SPC,KC_BSPC,KC_LALT,
|
KC_SPC,KC_TAB ,KC_LALT,
|
||||||
// right hand
|
// right hand
|
||||||
TG(SYMB), KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
TG(SYMB), KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
||||||
MO(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
MO(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||||
@ -66,25 +66,25 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||||
* | | < | > | ( | ) | ' |------| |------| - | 4 | 5 | 6 | + | |
|
* | | < | > | ( | ) | ' |------| |------| - | 4 | 5 | 6 | + | |
|
||||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||||
* | | | | | | | | | | & | 1 | 2 | 3 | = | |
|
* | | | | | | = | | | | : | 1 | 2 | 3 | = | |
|
||||||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
||||||
* | | | | | | | 0 | . | ← | → | |
|
* | | | | | | | 0 | . | ← | → | |
|
||||||
* `----------------------------------' `----------------------------------'
|
* `----------------------------------' `----------------------------------'
|
||||||
* ,-------------. ,-------------.
|
* ,-------------. ,-------------.
|
||||||
* | | | | | |
|
* | | | | | |
|
||||||
* ,------|------|------| |------+------+------.
|
* ,------|------|------| |------+------+------.
|
||||||
* | | | | | Home | | |
|
* | | | | | | | |
|
||||||
* | | |------| |------| | |
|
* | | |------| |------| | |
|
||||||
* | | | | | End | | |
|
* | | | | | | | |
|
||||||
* `--------------------' `--------------------'
|
* `--------------------' `--------------------'
|
||||||
*/
|
*/
|
||||||
// SYMBOLS
|
// SYMBOLS
|
||||||
[SYMB] = KEYMAP(
|
[SYMB] = KEYMAP(
|
||||||
// left hand
|
// left hand
|
||||||
KC_TRNS,KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS,
|
KC_TRNS,KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS,
|
||||||
KC_TRNS,KC_LBRC,KC_RBRC,KC_LCBR,KC_RCBR,KC_DQUO,KC_TRNS,
|
KC_TRNS,KC_LBRC,KC_RBRC,KC_LCBR,KC_RCBR,KC_DQT ,KC_TRNS,
|
||||||
KC_TRNS,KC_LABK,KC_RABK,KC_LPRN,KC_RPRN,KC_QUOT,
|
KC_TRNS,KC_LABK,KC_RABK,KC_LPRN,KC_RPRN,KC_QUOT,
|
||||||
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_EQL ,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,
|
||||||
@ -93,11 +93,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||||
KC_TRNS, KC_SLSH, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
|
KC_TRNS, KC_SLSH, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
|
||||||
KC_MINS, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS,
|
KC_MINS, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS,
|
||||||
KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_EQL, KC_TRNS,
|
KC_TRNS, KC_COLN, KC_1, KC_2, KC_3, KC_EQL, KC_TRNS,
|
||||||
KC_0, KC_DOT, KC_LEFT, KC_RGHT, KC_TRNS,
|
KC_0, KC_DOT, KC_LEFT, KC_RGHT, KC_TRNS,
|
||||||
KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_TRNS,
|
||||||
KC_HOME,
|
KC_TRNS,
|
||||||
KC_END , KC_TRNS, KC_TRNS
|
KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
),
|
),
|
||||||
/* Keymap 2: Media keys
|
/* Keymap 2: Media keys
|
||||||
*
|
*
|
||||||
@ -131,13 +131,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
KC_HOME,
|
KC_HOME,
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
// right hand
|
// right hand
|
||||||
LGUI(KC_Q), LGUI(KC_W), LGUI(LSFT(KC_GRV)), LGUI(KC_GRV), KC_TRNS, KC_TRNS, KC_PWR,
|
LGUI(KC_Q), LGUI(KC_W), LGUI(LSFT(KC_GRV)), LGUI(KC_GRV), KC_TRNS, KC_TRNS, KC_PWR ,
|
||||||
KC_TRNS, LGUI(KC_RBRC), LGUI(LALT(KC_UP)), KC_UP , LGUI(LALT(KC_DOWN)), KC_TRNS, KC_TRNS,
|
KC_TRNS, LGUI(KC_RBRC), LGUI(LALT(KC_UP)), KC_UP , LGUI(LALT(KC_DOWN)), KC_TRNS, KC_TRNS,
|
||||||
LGUI(KC_LBRC), KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_MPLY,
|
LGUI(KC_LBRC), KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_MPLY,
|
||||||
KC_TRNS, LSFT(KC_SPC), KC_SPC , KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
|
KC_TRNS, LSFT(KC_SPC), KC_SPC , KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
|
||||||
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS,
|
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS,
|
||||||
KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_TRNS,
|
||||||
KC_TRNS,
|
KC_END ,
|
||||||
LGUI(KC_X), LGUI(KC_C), LGUI(KC_V)
|
LGUI(KC_X), LGUI(KC_C), LGUI(KC_V)
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
2
keyboards/ergodox/keymaps/zweihander-osx/makefile.mk
Normal file
2
keyboards/ergodox/keymaps/zweihander-osx/makefile.mk
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Don’t do a tricolor wave when the computer is shut down in Windows
|
||||||
|
SLEEP_LED_ENABLE = no
|
@ -42,4 +42,4 @@ I press C-a, C-e, and C-k all the time. It’s difficult to press these key comb
|
|||||||
|
|
||||||
## use spreadsheets
|
## use spreadsheets
|
||||||
|
|
||||||
All the common spreadsheet operations (+-*/=) are now on the right side of the symbol layer.
|
All the common spreadsheet operations (+-*/=) are now on the right side of the symbol layer. There’s also a colon there for entering times and maybe IPv6 addresses. Not that I expect people to type IPv6 addresses into a spreadsheet, but, y’know.
|
||||||
|
BIN
keyboards/ergodox/keymaps/zweihander-osx/zweihander-osx.hex
Normal file
BIN
keyboards/ergodox/keymaps/zweihander-osx/zweihander-osx.hex
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user