GCAdapter: Return input state by value

This commit is contained in:
Lioncash 2016-08-01 21:16:00 -04:00
commit 041f4f5eea
6 changed files with 60 additions and 55 deletions

View file

@ -24,7 +24,7 @@ void Shutdown();
void SetAdapterCallback(std::function<void(void)> func);
void StartScanThread();
void StopScanThread();
void Input(int chan, GCPadStatus* pad);
GCPadStatus Input(int chan);
void Output(int chan, u8 rumble_command);
bool IsDetected();
bool IsDriverDetected();