summaryrefslogtreecommitdiff
path: root/keyboards/ai03/orbit/orbit.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-12-01 11:19:14 +0000
committerGitHub <noreply@github.com>2021-12-01 11:19:14 +0000
commit1493e6d3f04387f7dc460836cac724703cb947e2 (patch)
treecfa0a8b33be720b53a8502a537fa2f4e2c6dc21d /keyboards/ai03/orbit/orbit.h
parent3d06860f3cd8af5d9a2b4e9736b3024d0f37343f (diff)
downloadqmk_firmware-1493e6d3f04387f7dc460836cac724703cb947e2.tar.gz
qmk_firmware-1493e6d3f04387f7dc460836cac724703cb947e2.zip
Convert ai03/orbit to SPLIT_KEYBOARD (#15340)
Diffstat (limited to 'keyboards/ai03/orbit/orbit.h')
-rw-r--r--keyboards/ai03/orbit/orbit.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/keyboards/ai03/orbit/orbit.h b/keyboards/ai03/orbit/orbit.h
index 39f1ebb0e3..7f3b1aca32 100644
--- a/keyboards/ai03/orbit/orbit.h
+++ b/keyboards/ai03/orbit/orbit.h
@@ -18,6 +18,8 @@
#include "quantum.h"
+#define XXX KC_NO
+
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
@@ -26,17 +28,6 @@
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
-
-#ifdef USE_I2C
-#include <stddef.h>
-#ifdef __AVR__
- #include <avr/io.h>
- #include <avr/interrupt.h>
-#endif
-#endif
-
-#define XXX KC_NO
-
#define LAYOUT( \
L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \
L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \
@@ -56,6 +47,6 @@
{ R40, R41, R42, R43, R44, R45, XXX } \
}
-extern void led_toggle(int id, bool on);
+void led_toggle(uint8_t id, bool on);
void set_all_leds(bool leds[6]);
-extern void set_layer_indicators(uint8_t layer);
+void set_layer_indicators(uint8_t layer);