summaryrefslogtreecommitdiff
path: root/app/include/zmk/keys.h
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-12-02 16:41:57 +0000
committerPete Johanson <peter@peterjohanson.com>2020-12-14 12:41:25 -0500
commitbac1f17cf6ce225876dc7b6b2a809bcd98010391 (patch)
tree9783743b31fdadd66d1b3c9e5a3e14dc661ec313 /app/include/zmk/keys.h
parenta4652fa25da83ae036613157fb566eb1ce1426fe (diff)
refactor(app): replace Zephyr integer types with C99 integer types
u8_t → uint8_t u16_t → uint16_t u32_t → uint32_t u64_t → uint64_t s8_t → int8_t s16_t → int16_t s32_t → int32_t s64_t → int64_t Prerequisite for #223 See: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.4.0 PR: #467
Diffstat (limited to 'app/include/zmk/keys.h')
-rw-r--r--app/include/zmk/keys.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/include/zmk/keys.h b/app/include/zmk/keys.h
index af474b1..27d34b0 100644
--- a/app/include/zmk/keys.h
+++ b/app/include/zmk/keys.h
@@ -9,14 +9,14 @@
#include <zephyr.h>
#include <dt-bindings/zmk/keys.h>
-typedef u32_t zmk_key;
-typedef u8_t zmk_action;
-typedef u8_t zmk_mod;
-typedef u8_t zmk_mod_flags;
+typedef uint32_t zmk_key;
+typedef uint8_t zmk_action;
+typedef uint8_t zmk_mod;
+typedef uint8_t zmk_mod_flags;
struct zmk_key_event {
- u32_t column;
- u32_t row;
+ uint32_t column;
+ uint32_t row;
zmk_key key;
bool pressed;
}; \ No newline at end of file