summaryrefslogtreecommitdiff
path: root/src/shared/missing.h
diff options
context:
space:
mode:
authorAnthony G. Basile <anthony.g.basile@gmail.com>2016-12-30 17:57:33 -0500
committerGitHub <noreply@github.com>2016-12-30 17:57:33 -0500
commit23a9d68c212f205bf22507f4927bb6fb3543e210 (patch)
treee441c73a5cb3af3a701893ddc4fb79f2cdbeeab1 /src/shared/missing.h
parent29f9e04a96752fc15a210b2f8f7d92081c582d4a (diff)
parentc0f63850ad29ec978d070a08b816dc2bfca337e3 (diff)
Merge pull request #139 from barbieri/eudev-old-kernels
udev-builtin-input_id.c: add missing kernel header defines.
Diffstat (limited to 'src/shared/missing.h')
-rw-r--r--src/shared/missing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 5ad5997959..bebbb42be0 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -171,3 +171,11 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
(char *)memcpy(__new, __old, __len); \
})
#endif
+
+#ifndef BTN_TRIGGER_HAPPY
+#define BTN_TRIGGER_HAPPY 0x2c0
+#endif
+
+#ifndef INPUT_PROP_MAX
+#define INPUT_PROP_MAX 0x1f
+#endif