Include the HID facade compatibility by default

Even though the HID facade is deprecated in favour of the HID driver, to
maintain backwards compatibility, we should include `kaleidoscope/hid.h` by
default.

Fixes #793.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/796/head
Gergely Nagy 5 years ago
parent 794f0e26e0
commit 01892f1262
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -42,6 +42,8 @@ void setup();
#include "kaleidoscope_internal/device.h" #include "kaleidoscope_internal/device.h"
#include "kaleidoscope_internal/deprecations.h" #include "kaleidoscope_internal/deprecations.h"
#include "kaleidoscope/hid.h"
static constexpr DEPRECATED(KEYBOARDHARDWARE) kaleidoscope::Device &KeyboardHardware = kaleidoscope_internal::device; static constexpr DEPRECATED(KEYBOARDHARDWARE) kaleidoscope::Device &KeyboardHardware = kaleidoscope_internal::device;
#ifdef PER_KEY_DATA_STACKED #ifdef PER_KEY_DATA_STACKED

Loading…
Cancel
Save