summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorj-zero <er@j-zero.de>2020-11-18 22:31:21 +0100
committerGitHub <noreply@github.com>2020-11-18 21:31:21 +0000
commit078586b21a82bd9ed595607d2065854a09b84f24 (patch)
tree610645a10fdc968446d3faf04b18f35e1182c931 /docs
parent7bdc41b025211fa3b4c74c7c46fdddf18bab6731 (diff)
downloadqmk_firmware-078586b21a82bd9ed595607d2065854a09b84f24.tar.gz
qmk_firmware-078586b21a82bd9ed595607d2065854a09b84f24.zip
Update one_shot_keys.md (#10917)
MOD_RSFT doesn't work. See: https://github.com/qmk/qmk_firmware/issues/10901
Diffstat (limited to 'docs')
-rw-r--r--docs/one_shot_keys.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/one_shot_keys.md b/docs/one_shot_keys.md
index aa3db5acb2..9a082d7d6d 100644
--- a/docs/one_shot_keys.md
+++ b/docs/one_shot_keys.md
@@ -22,7 +22,7 @@ Sometimes, you want to activate a one-shot key as part of a macro or tap dance r
For one shot layers, you need to call `set_oneshot_layer(LAYER, ONESHOT_START)` on key down, and `clear_oneshot_layer_state(ONESHOT_OTHER_KEY_PRESSED)` on key up. If you want to cancel the oneshot, call `reset_oneshot_layer()`.
-For one shot mods, you need to call `set_oneshot_mods(MOD)` to set it, or `clear_oneshot_mods()` to cancel it.
+For one shot mods, you need to call `set_oneshot_mods(MOD_BIT(KC_*))` to set it, or `clear_oneshot_mods()` to cancel it.
!> If you're having issues with OSM translating over Remote Desktop Connection, this can be fixed by opening the settings, going to the "Local Resources" tap, and in the keyboard section, change the drop down to "On this Computer". This will fix the issue and allow OSM to function properly over Remote Desktop.