Handle hotplugging of Wii controller extensions
This commit is contained in:
parent
396411c090
commit
8381e008ea
2 changed files with 42 additions and 18 deletions
|
@ -834,6 +834,9 @@ check_removed:
|
|||
goto check_removed;
|
||||
} else {
|
||||
HIDAPI_DelDevice(device);
|
||||
|
||||
/* Update the device list again in case this device comes back */
|
||||
SDL_HIDAPI_change_count = 0;
|
||||
}
|
||||
}
|
||||
device = next;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue