From: Richard R. <sf...@ol...> - 2004-01-16 23:47:13
|
On Fri, Jan 16, 2004 at 11:17:27PM +0100, Karim wrote: > Hello > > Yes, I will test it. But first, I`ve to setup my joystick properly on > FreeBSD 5.1. Is not that easy, so give me some time. There's no rush. However, I believe that if you have done a normal "make" of freeglut, you should have the demo programs built. Look in ...freeglut/progs/demos/CallbackMaker/ for the CallbackMaker demo that John provided. It uses most/all of the freeglut callback handlers, including a joystick handler. So, plug a joystick in, run CallbackMaker, and see what happens when you press buttons or pull/push on the stick. > I will report the result to the list, in a few days (don`t have enough > time). > Perhaps some code examples would be helpful. CallbackMaker. If that doesdn't work for you, then the chances are that freeglut's joystick support is broken, at least on FreeBSD, and we will need to fix it. If it does work, then...it works. If you can try CallbackMaker and verify whether it works with any joysticks, it would help. (Please let us know which operating systems you tried, including which versions, if you can.) If the example isn't clear enough for you, without knowing C, let us know. (But do look at the example. I hope that you will find it clear.) -- "I probably don't know what I'm talking about." http://www.olib.org/~rkr/ |