Define XUSER_MAX_COUNT for those who don't have the DirectX SDK

This commit is contained in:
Florent Castelli 2012-11-14 02:15:54 +01:00
parent 790451905b
commit 65a89d08b8

View File

@ -3,6 +3,10 @@
#include <limits.h>
#include <iostream>
#ifndef XUSER_MAX_COUNT
#define XUSER_MAX_COUNT 4
#endif
XinputDevice::XinputDevice() {
ZeroMemory( &this->prevState, sizeof(this->prevState) );
this->check_delay = 0;