aboutsummaryrefslogtreecommitdiff
path: root/keyboards/printedpad/printedpad.h
diff options
context:
space:
mode:
authornoahbei <[email protected]>2023-10-04 21:55:49 -0700
committerGitHub <[email protected]>2023-10-04 21:55:49 -0700
commit92873cc14f1ef66ae3c856dc6b5298c75e66f8d2 (patch)
tree5e60f7bd1e5c6228694ff8d1a2b89d0faf8314cf /keyboards/printedpad/printedpad.h
parent2a8b3a809d8a6ca4f9dd23bc4cef1cbc23443539 (diff)
downloadqmk_firmware-92873cc14f1ef66ae3c856dc6b5298c75e66f8d2.tar.gz
qmk_firmware-92873cc14f1ef66ae3c856dc6b5298c75e66f8d2.zip
Add printedpad keyboard (#21202)
Co-authored-by: jack <[email protected]> Co-authored-by: Drashna Jaelre <[email protected]>
Diffstat (limited to 'keyboards/printedpad/printedpad.h')
-rw-r--r--keyboards/printedpad/printedpad.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/printedpad/printedpad.h b/keyboards/printedpad/printedpad.h
new file mode 100644
index 0000000000..17c23be69b
--- /dev/null
+++ b/keyboards/printedpad/printedpad.h
@@ -0,0 +1,16 @@
+// Copyright 2023 Noah Beidelman (@noahbei)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "quantum.h"
+
+//for oled key press
+extern bool key_pressed;
+
+// for changing oled display mode
+extern uint8_t current_display_mode;
+
+//for determining when the layer is changed and having a timer for how long we flash the layer
+extern uint32_t flash_timer;
+extern bool layer_changed;