summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/bluetooth/transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/bluetooth/transport.h')
-rw-r--r--keyboards/keychron/bluetooth/transport.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/keychron/bluetooth/transport.h b/keyboards/keychron/bluetooth/transport.h
index 32fbf0b218..29722cd265 100644
--- a/keyboards/keychron/bluetooth/transport.h
+++ b/keyboards/keychron/bluetooth/transport.h
@@ -22,6 +22,13 @@ typedef enum {
TRANSPORT_BLUETOOTH,
} transport_t;
+#ifdef NKRO_ENABLE
+typedef struct {
+ bool usb : 1;
+ bool bluetooth : 1;
+} nkro_t;
+#endif
+
void set_transport(transport_t new_transport);
transport_t get_transport(void);