Stop using USE_PLUGINS

`USE_PLUGINS` is getting deprecated, use `Kaleidoscope.use` instead.

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/389/head
Gergely Nagy 7 years ago
parent 9bbb57acfb
commit f1cb65b6d8

@ -19,15 +19,15 @@ codepoints.
## Using the extension
Using the extension is as simple as including the header, registering it with
`USE_PLUGINS()`, and then using any of the methods provided by the `Unicode`
singleton object.
`Kaleidoscope.use()`, and then using any of the methods provided by the
`Unicode` singleton object.
```c++
#include <Kaleidoscope.h>
#include <Kaleidoscope-Unicode.h>
void setup() {
USE_PLUGINS(&Unicode);
Kaleidoscope.use(&Unicode);
Kaleidoscope.setup();
Unicode.type(0x2328);

@ -44,7 +44,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
};
void setup() {
USE_PLUGINS(&Unicode);
Kaleidoscope.use(&Unicode);
Kaleidoscope.setup();

Loading…
Cancel
Save