1
0

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>
This commit is contained in:
Gergely Nagy 2020-01-08 19:43:34 +01:00
parent 2f9d140ba9
commit d10ad2a9c2
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

View File

@ -310,7 +310,7 @@ static void anyKeyMacro(uint8_t keyState) {
}
if (keyIsPressed(keyState))
kaleidoscope::hid::pressKey(lastKey, toggledOn);
Kaleidoscope.hid().keyboard().pressKey(lastKey, toggledOn);
}