Use bluetooth dualshock
This commit is contained in:
parent
8857d30a58
commit
a4b98139ee
6 changed files with 937 additions and 75 deletions
|
|
@ -427,7 +427,7 @@ void *dev_out_thread_func(void *ptr) {
|
|||
const int64_t gamepad_report_timing_us = 1250;
|
||||
|
||||
if (current_gamepad == GAMEPAD_DUALSENSE) {
|
||||
const int ds5_init_res = virt_dualsense_init(&controller_data.ds5);
|
||||
const int ds5_init_res = virt_dualsense_init(&controller_data.ds5, true);
|
||||
if (ds5_init_res != 0) {
|
||||
fprintf(stderr, "Unable to initialize the DualSense device: %d\n", ds5_init_res);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue