mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
GCAdapter: Report libusb open errors to the user
If opening the adapter fails, report the libusb error message in the GUI instead of “No Adapter Detected”. The error condition is removed when the adapter is unplugged.
This commit is contained in:
parent
0165e5e703
commit
b08e2ec959
4 changed files with 60 additions and 24 deletions
|
@ -26,8 +26,7 @@ void StartScanThread();
|
|||
void StopScanThread();
|
||||
GCPadStatus Input(int chan);
|
||||
void Output(int chan, u8 rumble_command);
|
||||
bool IsDetected();
|
||||
bool IsDriverDetected();
|
||||
bool IsDetected(const char** error_message);
|
||||
bool DeviceConnected(int chan);
|
||||
void ResetDeviceType(int chan);
|
||||
bool UseAdapter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue