summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpunto- <ariel@godotengine.org>2016-01-04 21:24:55 -0300
committerpunto- <ariel@godotengine.org>2016-01-04 21:24:55 -0300
commit4ab6271f1acc8a13dc03ec9865e6102b45d873c3 (patch)
treea724dffa0465750e36bd267fcd8085e1ed66664a
parent3d0bd1a3f38d39c62dd3471d07b7bcb40acfc5e7 (diff)
parent3f64fd64eb6acf57c98e285df3ebf05678140040 (diff)
Merge pull request #3236 from Hinsbart/xinput_define_
define XUSER_MAX_COUNT if not present
-rw-r--r--platform/windows/joystick.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/windows/joystick.h b/platform/windows/joystick.h
index ad62059a73..332e86fbb8 100644
--- a/platform/windows/joystick.h
+++ b/platform/windows/joystick.h
@@ -44,6 +44,9 @@ if(x != NULL) \
}
#endif
+#ifndef XUSER_MAX_COUNT
+#define XUSER_MAX_COUNT 4
+#endif
class joystick_windows
{