aboutsummaryrefslogtreecommitdiff
path: root/qmk/keyboards/sofle_choc/keymaps/custom/star_key.h
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2025-10-04 11:43:42 +0200
committerSébastien Dailly <sebastien@dailly.me>2025-10-04 11:43:42 +0200
commite23b3c87c2d1e3056c89834f4c34c3a289ba3b81 (patch)
treeb8296c8d5f05ff626de0ee2eeb322f7374937e92 /qmk/keyboards/sofle_choc/keymaps/custom/star_key.h
parent4d42af985e96d5e5b4d4289dce401a215e607cd6 (diff)
Added a led for the star key for ergo-l
Diffstat (limited to 'qmk/keyboards/sofle_choc/keymaps/custom/star_key.h')
-rw-r--r--qmk/keyboards/sofle_choc/keymaps/custom/star_key.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/qmk/keyboards/sofle_choc/keymaps/custom/star_key.h b/qmk/keyboards/sofle_choc/keymaps/custom/star_key.h
new file mode 100644
index 0000000..3b4bb9e
--- /dev/null
+++ b/qmk/keyboards/sofle_choc/keymaps/custom/star_key.h
@@ -0,0 +1,11 @@
+#pragma once
+
+// Initialize the state.
+void star_key_init(void);
+
+// Define the new value for the star key
+void set_star_key(bool status);
+
+// This code is intended to be called from the master.
+// Send the star key status to the other side of the keyboard
+void sync_star_key(void);