From d10ad2a9c2de3cda5b89a4e447e5d6291bd27575 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 8 Jan 2020 19:43:34 +0100 Subject: 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 --- Model01-Firmware.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3