From 378d67fdca11bcd7483e4d288d567afbbbdcdedb Mon Sep 17 00:00:00 2001 From: precondition <57645186+precondition@users.noreply.github.com> Date: Sun, 24 Jan 2021 16:10:31 +0100 Subject: [PATCH] Added (un)register_mods to the docs --- docs/feature_advanced_keycodes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/feature_advanced_keycodes.md b/docs/feature_advanced_keycodes.md index 1ba48abb87b6..b24c4dda925a 100644 --- a/docs/feature_advanced_keycodes.md +++ b/docs/feature_advanced_keycodes.md @@ -61,7 +61,9 @@ The full list of mod masks is as follows: Aside from accessing the currently active modifiers using `get_mods()`, there exists some other functions you can use to modify the modifier state, where the `mods` argument refers to the modifiers bitmask. * `add_mods(mods)`: Enable `mods` without affecting any other modifiers +* `register_mods(mods)`: Like `add_mods` but send a keyboard report immediately. * `del_mods(mods)`: Disable `mods` without affecting any other modifiers +* `unregister_mods(mods)`: Like `del_mods` but send a keyboard report immediately. * `set_mods(mods)`: Overwrite current modifier state with `mods` * `clear_mods()`: Reset the modifier state by disabling all modifiers