summaryrefslogtreecommitdiff
path: root/keyboards/stront/keymaps/hid/hid_display.h
diff options
context:
space:
mode:
authorEvgenii Vilkov <zzeneg@gmail.com>2023-07-07 16:11:22 +0200
committerGitHub <noreply@github.com>2023-07-08 00:11:22 +1000
commitc6a3802051321d9ae3ba6b55541f18a76f724913 (patch)
tree792d207d61e017f4e2a3e27f2a108e0cab153f15 /keyboards/stront/keymaps/hid/hid_display.h
parentd7c43dbd9d78ad0fa521692145a8b0dae318c940 (diff)
[Keyboard] Add stront keyboard (#21035)
Diffstat (limited to 'keyboards/stront/keymaps/hid/hid_display.h')
-rw-r--r--keyboards/stront/keymaps/hid/hid_display.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/stront/keymaps/hid/hid_display.h b/keyboards/stront/keymaps/hid/hid_display.h
new file mode 100644
index 0000000000..b93bf64716
--- /dev/null
+++ b/keyboards/stront/keymaps/hid/hid_display.h
@@ -0,0 +1,29 @@
+// Copyright 2023 zzeneg (@zzeneg)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "quantum.h"
+
+typedef enum {
+ _QWERTY = 0,
+ _GAME,
+ _EU,
+ _NAV,
+ _NUMBER,
+ _SYMBOL,
+ _FUNC,
+ _SYS,
+} layer_number;
+
+typedef enum {
+ _TIME = 0,
+ _VOLUME,
+ _LAYOUT,
+ _MEDIA_ARTIST,
+ _MEDIA_TITLE,
+} hid_data_type;
+
+void display_process_raw_hid_data(uint8_t *data, uint8_t length);
+void display_process_layer_state(uint8_t layer);
+#ifdef CAPS_WORD_ENABLE
+void display_process_caps_word(bool active);
+#endif