summaryrefslogtreecommitdiff
path: root/keyboards/ergodox
diff options
context:
space:
mode:
authorlucwastiaux <luc.wastiaux@airpost.net>2016-12-10 12:37:32 +0800
committerlucwastiaux <luc.wastiaux@airpost.net>2016-12-10 12:37:32 +0800
commitdc4c8875ba2b961deb5d9712f422b00ce7c90979 (patch)
tree0b39d4614c368c9b0ac66e3bcdf2d84ff143f3ae /keyboards/ergodox
parentb8e204322ad8b067dc11b03668f0d32c67440b84 (diff)
downloadqmk_firmware-dc4c8875ba2b961deb5d9712f422b00ce7c90979.tar.gz
qmk_firmware-dc4c8875ba2b961deb5d9712f422b00ce7c90979.zip
use thumb cluster key to toggle brackets layer
Diffstat (limited to 'keyboards/ergodox')
-rw-r--r--keyboards/ergodox/keymaps/dvorak_programmer/README.md1
-rw-r--r--keyboards/ergodox/keymaps/dvorak_programmer/keymap.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/ergodox/keymaps/dvorak_programmer/README.md b/keyboards/ergodox/keymaps/dvorak_programmer/README.md
index 63896909cc..b667485410 100644
--- a/keyboards/ergodox/keymaps/dvorak_programmer/README.md
+++ b/keyboards/ergodox/keymaps/dvorak_programmer/README.md
@@ -12,6 +12,7 @@ Layers
* KEY_SEL: same as above, but every movement shift-selects.
* NUMBER: keypad layer.
* SYMBOL: all the symbols as well as brackets at the bottom.
+* BRACKET: special brackets-only layer for programming
* SHORTCUTS: sends Hyper keys for Autohotkey to interpret. I use this to switch between specific apps.
* MOUSE: use mouse keys
diff --git a/keyboards/ergodox/keymaps/dvorak_programmer/keymap.c b/keyboards/ergodox/keymaps/dvorak_programmer/keymap.c
index 38359128f9..df8a2c33f3 100644
--- a/keyboards/ergodox/keymaps/dvorak_programmer/keymap.c
+++ b/keyboards/ergodox/keymaps/dvorak_programmer/keymap.c
@@ -58,12 +58,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[BASE] = KEYMAP( // layer 0 : default
// left hand
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6,
- LT(BRACKETS,KC_TAB), KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, MO(KEY_SEL),
+ LT(MOUSE,KC_TAB), KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, MO(KEY_SEL),
MO(SHELL_NAV), KC_A, KC_O, KC_E, KC_U, KC_I,
KC_FN3, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, MO(KEY_NAV),
OSL(SHORTCUTS),KC_FN4, KC_FN5,OSL(SYMBOL),MO(NUMBER),
// thumb cluster
- MO(MOUSE), RCTL(KC_S),
+ MO(BRACKETS), RCTL(KC_S),
RCTL(KC_DEL),
KC_BSPC,RCTL(KC_BSPC),KC_DEL,
// right hand