Skip to content

Commit

Permalink
Fix output formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NeroReflex committed Nov 21, 2023
1 parent 55cc4ac commit 67bb65f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions References/SteamDeck/virt_deck.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
// }

}
Expand Down
2 changes: 1 addition & 1 deletion logic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion virt_ds4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 67bb65f

Please sign in to comment.