diff options
author | Gergely Nagy <algernon@keyboard.io> | 2020-01-08 19:43:34 +0100 |
---|---|---|
committer | Gergely Nagy <algernon@keyboard.io> | 2020-01-08 19:43:34 +0100 |
commit | d10ad2a9c2de3cda5b89a4e447e5d6291bd27575 (patch) | |
tree | a4c7c500866e53af7c4d9f6d93bbf71724223180 | |
parent | 2f9d140ba94d6c5934ad17eed98654211706c7a7 (diff) | |
download | Model01-Firmware-d10ad2a9c2de3cda5b89a4e447e5d6291bd27575.tar.gz Model01-Firmware-d10ad2a9c2de3cda5b89a4e447e5d6291bd27575.zip |
Use the new HID driver instead of the old facade
While the old facade is still available, it is not included by default anymore.
Instead of adding then include, just use the new APIs.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
-rw-r--r-- | Model01-Firmware.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index 32623c3..9a97c83 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -310,7 +310,7 @@ static void anyKeyMacro(uint8_t keyState) { } if (keyIsPressed(keyState)) - kaleidoscope::hid::pressKey(lastKey, toggledOn); + Kaleidoscope.hid().keyboard().pressKey(lastKey, toggledOn); } |