diff TaskManager/Test/test_render/viewer.cpp @ 191:4f85911aa183 draft

fix Joystick Button
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Mon, 12 Jan 2009 10:32:25 +0900
parents a19d3ed4ce5b
children 6694da357750
line wrap: on
line diff
--- a/TaskManager/Test/test_render/viewer.cpp	Thu Jan 08 19:07:52 2009 +0900
+++ b/TaskManager/Test/test_render/viewer.cpp	Mon Jan 12 10:32:25 2009 +0900
@@ -44,6 +44,7 @@
 	SDL_Joystick *joy = SDL_JoystickOpen(0);
 	if (!joy) {
 	    fprintf(stderr, "%s: failed to open joystick", __FUNCTION__);
+	    fprintf(stderr, "Instead use Keyboard\n");
 	    return new Keyboard;
 	} else {
 	    printf("Use Joystick\n");