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

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

Loading…
Cancel
Save