diff options
author | James ‘Twey’ Kay <twey@twey.co.uk> | 2016-05-10 22:30:17 +0100 |
---|---|---|
committer | James ‘Twey’ Kay <twey@twey.co.uk> | 2016-05-10 22:30:17 +0100 |
commit | 373e441d860160cd07f1911f9dec13172012d0c6 (patch) | |
tree | 4037bd7572515436beda09cd55d01fb9f7a1f1cd /keyboard/ergodox_ez/keymaps/twey/keymap.c | |
parent | b5c5b71828068f514aa721c172b2cf6bdd2f1dad (diff) |
keymaps/twey: Plover 3.0 has a standard TOGGLE keybinding; use that instead
Diffstat (limited to 'keyboard/ergodox_ez/keymaps/twey/keymap.c')
-rw-r--r-- | keyboard/ergodox_ez/keymaps/twey/keymap.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/keyboard/ergodox_ez/keymaps/twey/keymap.c b/keyboard/ergodox_ez/keymaps/twey/keymap.c index f80ffb6dd0..019930f2a2 100644 --- a/keyboard/ergodox_ez/keymaps/twey/keymap.c +++ b/keyboard/ergodox_ez/keymaps/twey/keymap.c @@ -171,15 +171,19 @@ void toggle_steno(int pressed) if (pressed) { if (layer != STEN) layer_on(STEN); else layer_off(STEN); - register_code(PV_LS); + register_code(PV_LP); register_code(PV_LH); - register_code(PV_RF); - register_code(PV_RT); + register_code(PV_LR); + register_code(PV_O); + register_code(PV_RL); + register_code(PV_RG); } else { - unregister_code(PV_LS); + unregister_code(PV_LP); unregister_code(PV_LH); - unregister_code(PV_RF); - unregister_code(PV_RT); + unregister_code(PV_LR); + unregister_code(PV_O); + unregister_code(PV_RL); + unregister_code(PV_RG); } } |