Re: [Plib-users] js_demo->Btns
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2001-06-29 21:09:53
|
Adam wrote: > > Hi, > Has anyone noticed this before? When you do the supplied > js_demo program, making one of those hex-numbers='f' then it prints as > '0'. I don't think it's printf's fault. (it has worked for me) If > this hasn't been fixed already, I'll give it a try. So are you saying that if I press four joystick buttons down at once (A,B,C,D for example) then those four bits will make an 'f' in hex and that doesn't get printed out correctly? Well, that particular test works just fine for me... src/js> ./js_demo <steve presses A,B,C and D all at once> Joystick test program. ~~~~~~~~~~~~~~~~~~~~~~ Joystick 1 not detected +---------------JS.0-----------------+---------------JS.1-----------------+ | Btns Ax:0 Ax:1 | ~~~ Not Detected ~~~ | +------------------------------------+------------------------------------+ | 000f +0.0 +1.0 . . . . | . . . . . . . . . | ...no problem! What OS are you using? ----------------------------- Steve Baker ------------------------------- HomeMail : <sjb...@ai...> WorkMail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://agtoys.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net |