aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechwild/sugarglider/sugarglider.h
diff options
context:
space:
mode:
authorKyle McCreery <[email protected]>2023-03-15 11:49:14 -0400
committerGitHub <[email protected]>2023-03-15 15:49:14 +0000
commit915d7a18d757ddb22498d66b82c6309077cdb178 (patch)
treede405b5d4b2ed31c09c52bb1691ef789aff70d04 /keyboards/mechwild/sugarglider/sugarglider.h
parente62fc866dbac6b558b328be14e8096835c3aadc7 (diff)
downloadqmk_firmware-915d7a18d757ddb22498d66b82c6309077cdb178.tar.gz
qmk_firmware-915d7a18d757ddb22498d66b82c6309077cdb178.zip
[Keyboard] New Keyboard - Sugar Glider (#19933)
Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Less/Rikki <[email protected]> Co-authored-by: jack <[email protected]>
Diffstat (limited to 'keyboards/mechwild/sugarglider/sugarglider.h')
-rw-r--r--keyboards/mechwild/sugarglider/sugarglider.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/mechwild/sugarglider/sugarglider.h b/keyboards/mechwild/sugarglider/sugarglider.h
new file mode 100644
index 0000000000..d1fa540985
--- /dev/null
+++ b/keyboards/mechwild/sugarglider/sugarglider.h
@@ -0,0 +1,28 @@
+// Copyright 2023 Kyle McCreery
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "quantum.h"
+
+typedef union {
+ uint32_t raw;
+ struct {
+ uint8_t dpi_config;
+ int16_t dt_term_config;
+ };
+} keyboard_config_t;
+
+extern keyboard_config_t keyboard_config;
+extern uint16_t dpi_array[];
+
+enum keyboard_keycodes {
+ DPI_UP = QK_KB,
+ DPI_DN,
+ DPI_FINE,
+ TAP_UP,
+ TAP_DN,
+ TAP_ON,
+ TAP_OFF,
+ TAP_TOG
+};