aboutsummaryrefslogtreecommitdiff
path: root/docs/keycodes.md
diff options
context:
space:
mode:
authorJoe Wasson <jwasson+github@gmail.com>2018-03-11 16:53:35 -0700
committerJack Humbert <jack.humb@gmail.com>2018-03-16 16:33:43 -0400
commit23ac2a02ef870dce91318a4d98e3c8ec5749bced (patch)
tree302f61696ce319d635c17e919ec6d8acf264d2ab /docs/keycodes.md
parent7230923b051bdb32bea19c3d732fa1fbc4883a68 (diff)
downloadqmk_firmware-23ac2a02ef870dce91318a4d98e3c8ec5749bced.tar.gz
qmk_firmware-23ac2a02ef870dce91318a4d98e3c8ec5749bced.zip
Add keycodes for swap-hands feature.
Diffstat (limited to 'docs/keycodes.md')
-rw-r--r--docs/keycodes.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/keycodes.md b/docs/keycodes.md
index 030b23827..21a722250 100644
--- a/docs/keycodes.md
+++ b/docs/keycodes.md
@@ -390,3 +390,15 @@ This is a reference only. Each group of keys links to the page documenting their
390|------------|-------|-------------------------------------------------| 390|------------|-------|-------------------------------------------------|
391|`UNICODE(n)`|`UC(n)`|Send Unicode character `n` | 391|`UNICODE(n)`|`UC(n)`|Send Unicode character `n` |
392|`X(n)` | |Send Unicode character `n` via a different method| 392|`X(n)` | |Send Unicode character `n` via a different method|
393
394## [Swap Hands](feature_swap_hands.md)
395
396|Key |Description |
397|-----------|-------------------------------------------------------------------------|
398|`SH_T(key)`|Sends `key` with a tap; momentary swap when held. |
399|`SW_ON` |Turns on swapping and leaves it on. |
400|`SW_OFF` |Turn off swapping and leaves it off. Good for returning to a known state.|
401|`SH_MON` |Swaps hands when pressed, returns to normal when released (momentary). |
402|`SH_MOFF` |Momentarily turns off swap. |
403|`SH_TG` |Toggles swap on and off with every key press. |
404|`SH_TT` |Toggles with a tap; momentary when held. |