summaryrefslogtreecommitdiff
path: root/app/include
diff options
context:
space:
mode:
Diffstat (limited to 'app/include')
-rw-r--r--app/include/zmk/hid.h8
-rw-r--r--app/include/zmk/keys.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h
index 1f755aa..c664082 100644
--- a/app/include/zmk/hid.h
+++ b/app/include/zmk/hid.h
@@ -170,12 +170,12 @@ int zmk_hid_register_mod(zmk_mod modifier);
int zmk_hid_unregister_mod(zmk_mod modifier);
int zmk_hid_implicit_modifiers_press(zmk_mod_flags implicit_modifiers);
int zmk_hid_implicit_modifiers_release();
-int zmk_hid_keyboard_press(zmk_key key);
-int zmk_hid_keyboard_release(zmk_key key);
+int zmk_hid_keyboard_press(zmk_key_t key);
+int zmk_hid_keyboard_release(zmk_key_t key);
void zmk_hid_keyboard_clear();
-int zmk_hid_consumer_press(zmk_key key);
-int zmk_hid_consumer_release(zmk_key key);
+int zmk_hid_consumer_press(zmk_key_t key);
+int zmk_hid_consumer_release(zmk_key_t key);
void zmk_hid_consumer_clear();
struct zmk_hid_keyboard_report *zmk_hid_get_keyboard_report();
diff --git a/app/include/zmk/keys.h b/app/include/zmk/keys.h
index 204de9c..330f0ad 100644
--- a/app/include/zmk/keys.h
+++ b/app/include/zmk/keys.h
@@ -9,13 +9,13 @@
#include <zephyr.h>
#include <dt-bindings/zmk/keys.h>
-typedef uint32_t zmk_key;
+typedef uint32_t zmk_key_t;
typedef uint8_t zmk_mod;
typedef uint8_t zmk_mod_flags;
struct zmk_key_event {
uint32_t column;
uint32_t row;
- zmk_key key;
+ zmk_key_t key;
bool pressed;
}; \ No newline at end of file