|
|
|
@ -34,6 +34,7 @@ plugin:
|
|
|
|
|
```c++
|
|
|
|
|
#include <Kaleidoscope.h>
|
|
|
|
|
#include <Kaleidoscope-OneShot.h>
|
|
|
|
|
#include <kaleidoscope/hid.h>
|
|
|
|
|
|
|
|
|
|
// 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])`
|
|
|
|
|