aboutsummaryrefslogtreecommitdiffstats
path: root/yage/data
diff options
context:
space:
mode:
Diffstat (limited to 'yage/data')
-rw-r--r--yage/data/input.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/yage/data/input.h b/yage/data/input.h
index 866793d8..4d5e09b3 100644
--- a/yage/data/input.h
+++ b/yage/data/input.h
@@ -77,7 +77,19 @@ enum class key {
TAB = GLFW_KEY_TAB,
BACKSPACE = GLFW_KEY_BACKSPACE,
INSERT = GLFW_KEY_INSERT,
+#ifdef _WIN32
+#ifdef DELETE
+#define YAGE_DELETE_TMP DELETE
+#undef DELETE
+#endif
+#endif
DELETE = GLFW_KEY_DELETE,
+#ifdef _WIN32
+#ifdef YAGE_DELETE_TMP
+#define DELETE YAGE_DELETE_TMP
+#undef YAGE_DELETE_TMP
+#endif
+#endif
RIGHT = GLFW_KEY_RIGHT,
LEFT = GLFW_KEY_LEFT,
DOWN = GLFW_KEY_DOWN,