Fix output formatting
This commit is contained in:
parent
55cc4aca90
commit
67bb65f381
3 changed files with 4 additions and 4 deletions
|
|
@ -274,10 +274,10 @@ int main() {
|
|||
// if (res >= 0) {
|
||||
// ++counter;
|
||||
// } else {
|
||||
// fprintf(stderr, "Error sending HID report: %d", res);
|
||||
// fprintf(stderr, "Error sending HID report: %d\n", res);
|
||||
// }
|
||||
// } else {
|
||||
// printf("PS4 output not enabled");
|
||||
// printf("PS4 output not enabled\n");
|
||||
// }
|
||||
|
||||
}
|
||||
|
|
|
|||
2
logic.c
2
logic.c
|
|
@ -60,7 +60,7 @@ int logic_create(logic_t *const logic) {
|
|||
logic->gamepad_output = GAMEPAD_OUTPUT_EVDEV;
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "Unable to initialize Asus RC71L MCU: %d", init_platform_res);
|
||||
fprintf(stderr, "Unable to initialize Asus RC71L MCU: %d\n", init_platform_res);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -710,7 +710,7 @@ void *virt_ds4_thread_func(void *ptr) {
|
|||
if (logic->gamepad_output == GAMEPAD_OUTPUT_DS4) {
|
||||
const int res = send_data(fd, logic);
|
||||
if (res < 0) {
|
||||
fprintf(stderr, "Error sending HID report: %d", res);
|
||||
fprintf(stderr, "Error sending HID report: %d\n", res);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue