Пример #1
0
XinputDevice::XinputDevice() {
	if (LoadXInputDLL() != 0) {
		ERROR_LOG(HLE, "Failed to load XInput! DLL missing");
	}
	ZeroMemory( &this->prevState, sizeof(this->prevState) );
	this->check_delay = 0;
	this->gamepad_idx = -1;
}
Пример #2
0
XinputDevice::XinputDevice() {
	if (LoadXInputDLL() != 0) {
		WARN_LOG(SCECTRL, "Failed to load XInput! DLL missing");
	}
}