MCPcopy Create free account
hub / github.com/Tylemagne/Gopher360 / GetState

Method GetState

Windows/Gopher/Gopher/CXBOXController.cpp:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6}
7
8XINPUT_STATE CXBOXController::GetState()
9{
10 ZeroMemory(&this->_controllerState, sizeof(XINPUT_STATE));
11 XInputGetState(_controllerNum, &this->_controllerState);
12 return _controllerState;
13}
14
15bool CXBOXController::IsConnected()
16{

Callers 1

loopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected