DS4 controller should stay connected even when not emitting
This commit is contained in:
parent
2b91370982
commit
968f93bfdf
1 changed files with 2 additions and 2 deletions
|
|
@ -704,10 +704,10 @@ void *virt_ds4_thread_func(void *ptr) {
|
|||
|
||||
for (;;) {
|
||||
usleep(1250);
|
||||
|
||||
event(fd);
|
||||
|
||||
if (logic->gamepad_output == GAMEPAD_OUTPUT_DS4) {
|
||||
event(fd);
|
||||
|
||||
const int res = send_data(fd, logic);
|
||||
if (res < 0) {
|
||||
fprintf(stderr, "Error sending HID report: %d", res);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue