aboutsummaryrefslogtreecommitdiff
path: root/sources/TZR_PollEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'sources/TZR_PollEvent.c')
-rw-r--r--sources/TZR_PollEvent.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sources/TZR_PollEvent.c b/sources/TZR_PollEvent.c
index 826f0e0..a4a489d 100644
--- a/sources/TZR_PollEvent.c
+++ b/sources/TZR_PollEvent.c
@@ -58,8 +58,7 @@ TZR_PollEvent(TZR_Event *e)
&___tzr_joysticks_capacity,
sizeof(SDL_Joystick *)))
{
- fprintf(stderr, "failed to reserve"
- "for new joystick\n");
+ TZR_Log("failed to reserve for new joystick");
break;
}
___tzr_joysticks = vec;
@@ -74,7 +73,7 @@ TZR_PollEvent(TZR_Event *e)
}
memset(&___tzr_joysticks[i], 0, sizeof(___tzr_joysticks[i]));
___tzr_joysticks[i].ptr = jstick;
- fprintf(stderr, "opened joystick\n");
+ TZR_Log("opened joystick");
break;
}
case SDL_JOYDEVICEREMOVED:
@@ -87,7 +86,7 @@ TZR_PollEvent(TZR_Event *e)
break;
}
}
- fprintf(stderr, "didn't remove no joystick\n");
+ TZR_Log("didn't remove no joystick");
break;
default:
break;