driver::hid: Allow compiling base::Keyboard without KeyboardioHID

If `HID_BOOT_PROTOCOL` is undefined, define it ourselves (the value is set by
the USB standard, so we can do that). This allows compiling the base class
without KeyboardioHID, letting our HID base driver be completely independent of
it.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/1060/head
Gergely Nagy 4 years ago
parent 894ca338de
commit 80e414ace8
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -20,6 +20,10 @@
#include "kaleidoscope/key_defs.h"
#ifndef HID_BOOT_PROTOCOL
#define HID_BOOT_PROTOCOL 0
#endif
namespace kaleidoscope {
namespace driver {
namespace hid {

Loading…
Cancel
Save