aboutsummaryrefslogtreecommitdiffstats
path: root/utils/common/keymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/common/keymap.h')
-rw-r--r--utils/common/keymap.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/common/keymap.h b/utils/common/keymap.h
index 99833827..dc198bc1 100644
--- a/utils/common/keymap.h
+++ b/utils/common/keymap.h
@@ -2,6 +2,8 @@
#ifndef __KEYMAP_H
#define __KEYMAP_H
+#include <stdint.h>
+
struct keymap {
struct keymap *next;
char *name;
@@ -20,16 +22,16 @@ struct protocol_param {
struct scancode_entry {
struct scancode_entry *next;
- u_int64_t scancode;
+ uint64_t scancode;
char *keycode;
};
struct raw_entry {
struct raw_entry *next;
- u_int64_t scancode;
- u_int32_t raw_length;
+ uint64_t scancode;
+ uint32_t raw_length;
char *keycode;
- u_int32_t raw[1];
+ uint32_t raw[1];
};
void free_keymap(struct keymap *map);

Privacy Policy