diff --git a/README.md b/README.md index 0c1a31ba..f70ed301 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ plugin: ```c++ #include #include +#include // somewhere in the keymap... OSM(LeftControl), OSL(_FN) @@ -79,7 +80,7 @@ modifiers and one-shot layer keys. It has the following methods and properties: ### `.isModifierActive(key)` > Returns if the modifier `key` has a one-shot state active. Use this together -> with `Keyboard.isModifierActive` to catch cases where a one-shot modifier is +> with `hid::isModifierKeyActive` to catch cases where a one-shot modifier is > active, but not registered yet. ### `.cancel([with_stickies])`