summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/missing.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index b5b2e1194..3a83c91a6 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -183,3 +183,8 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
#ifndef KEY_ALS_TOGGLE
#define KEY_ALS_TOGGLE 0x7a
#endif
+
+#ifndef BTN_DPAD_UP
+#define BTN_DPAD_UP 0x220
+#define BTN_DPAD_RIGHT 0x223
+#endif