From f1cb65b6d821cd2fe510984032a33152b08a4a83 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 17 Aug 2017 12:45:13 +0200 Subject: [PATCH] Stop using USE_PLUGINS `USE_PLUGINS` is getting deprecated, use `Kaleidoscope.use` instead. Signed-off-by: Gergely Nagy --- README.md | 8 ++++---- examples/Unicode/Unicode.ino | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8a3c39ab..c2ff3ca7 100644 --- a/README.md +++ b/README.md @@ -19,17 +19,17 @@ 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 #include void setup() { - USE_PLUGINS(&Unicode); + Kaleidoscope.use(&Unicode); Kaleidoscope.setup(); - + Unicode.type(0x2328); } ``` diff --git a/examples/Unicode/Unicode.ino b/examples/Unicode/Unicode.ino index 66e16723..b202504f 100644 --- a/examples/Unicode/Unicode.ino +++ b/examples/Unicode/Unicode.ino @@ -44,7 +44,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { }; void setup() { - USE_PLUGINS(&Unicode); + Kaleidoscope.use(&Unicode); Kaleidoscope.setup();