Browse Source

Merge pull request #3236 from Hinsbart/xinput_define_

define XUSER_MAX_COUNT if not present
punto- 9 năm trước cách đây
mục cha
commit
4ab6271f1a
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      platform/windows/joystick.h

+ 3 - 0
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
 {