fix continuous disconnections
This commit is contained in:
parent
0949978124
commit
841ed7da52
2 changed files with 2 additions and 0 deletions
|
|
@ -499,6 +499,7 @@ void *virt_ds5_thread_func(void *ptr) {
|
|||
if (logic->gamepad_output != GAMEPAD_OUTPUT_DS5) {
|
||||
// sleep for 500ms before re-checking
|
||||
usleep(500000);
|
||||
continue;
|
||||
}
|
||||
|
||||
fprintf(stderr, "Open uhid-cdev %s\n", path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue