summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/rn42.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-12-22 16:51:39 +1100
committerGitHub <noreply@github.com>2021-12-22 16:51:39 +1100
commit77d3e564f723c12f2ffb501553b1e78bbe0ea84a (patch)
tree2ab02b8bfb5cf9a07fec715b927ac9b8ec172200 /drivers/bluetooth/rn42.h
parent78648b37e97d0574a79632fe09ef7d8a0a4cbc27 (diff)
Migrate RN42 to UART driver and refactor (#15492)
Diffstat (limited to 'drivers/bluetooth/rn42.h')
-rw-r--r--drivers/bluetooth/rn42.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/bluetooth/rn42.h b/drivers/bluetooth/rn42.h
new file mode 100644
index 0000000000..4747759111
--- /dev/null
+++ b/drivers/bluetooth/rn42.h
@@ -0,0 +1,25 @@
+/* Copyright 2021
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "report.h"
+
+void rn42_init(void);
+
+void rn42_send_keyboard(report_keyboard_t *report);
+
+void rn42_send_mouse(report_mouse_t *report);
+
+void rn42_send_consumer(uint16_t data);