aboutsummaryrefslogtreecommitdiff
path: root/modules/qmk/hello_world/introspection.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/qmk/hello_world/introspection.c')
-rw-r--r--modules/qmk/hello_world/introspection.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/qmk/hello_world/introspection.c b/modules/qmk/hello_world/introspection.c
new file mode 100644
index 0000000000..2c32a074f5
--- /dev/null
+++ b/modules/qmk/hello_world/introspection.c
@@ -0,0 +1,10 @@
+// Copyright 2025 Nick Brassel (@tzarc)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+hello_world_introspection_t hello_world_introspection(void) {
+ hello_world_introspection_t introspection = {
+ .total_size = sizeof(keymaps),
+ .layer_count = sizeof(keymaps) / sizeof(keymaps[0]),
+ };
+ return introspection;
+}