subatomic 2003/02/09 21:01:27 PST
Modified files:
gamekernel/gk Joystick.h
Log:
generate input names properly (int converts to char, and thus makes a
garbage character, use sprintf to get the int->string conversion like we
wanted).
add two helper funcs to get the device from a given id since getInput is
ambiguous in terms of Joystick.
Revision Changes Path
1.8 +27 -13 lib/gamekernel/gk/Joystick.h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/gamekernel/gk/Joystick.h.diff?r1=1.7&r2=1.8&diff_format=h
|