summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGergely Nagy <algernon@keyboard.io>2020-01-08 19:43:34 +0100
committerGergely Nagy <algernon@keyboard.io>2020-01-08 19:43:34 +0100
commitd10ad2a9c2de3cda5b89a4e447e5d6291bd27575 (patch)
treea4c7c500866e53af7c4d9f6d93bbf71724223180
parent2f9d140ba94d6c5934ad17eed98654211706c7a7 (diff)
downloadmodel01-firmware-d10ad2a9c2de3cda5b89a4e447e5d6291bd27575.tar.gz
model01-firmware-d10ad2a9c2de3cda5b89a4e447e5d6291bd27575.tar.bz2
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.ino2
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);
}