From d208f5dc2a8bb219525a77c77a58c5d05135ca94 Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 3 Jan 2024 15:11:39 +0100 Subject: [PATCH] Print bluetooth emulation info --- dev_out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev_out.c b/dev_out.c index c5fd3a1..fb04007 100644 --- a/dev_out.c +++ b/dev_out.c @@ -439,7 +439,7 @@ void *dev_out_thread_func(void *ptr) { fprintf(stderr, "Unable to initialize the DualSense device: %d\n", ds5_init_res); } else { current_gamepad_fd = virt_dualsense_get_fd(&controller_data.ds5); - printf("DualSense initialized: fd=%d\n", current_gamepad_fd); + printf("DualSense initialized: fd=%d, bluetooth=%s\n", current_gamepad_fd, dev_out_data->settings.controller_bluetooth ? "true" : "false"); } } else if (current_gamepad == GAMEPAD_DUALSHOCK) { const int ds4_init_res = virt_dualshock_init(&controller_data.ds4, dev_out_data->settings.controller_bluetooth); @@ -447,7 +447,7 @@ void *dev_out_thread_func(void *ptr) { fprintf(stderr, "Unable to initialize the DualShock device: %d\n", ds4_init_res); } else { current_gamepad_fd = virt_dualshock_get_fd(&controller_data.ds4); - printf("DualShock initialized: fd=%d\n", current_gamepad_fd); + printf("DualShock initialized: fd=%d, bluetooth=%s\n", current_gamepad_fd, dev_out_data->settings.controller_bluetooth ? "true" : "false"); } }