1. Managing a joystick with Euphoria on Linux - Example ?
- Posted by Tom <tom at guilleminot.org> Apr 11, 2007
- 554 views
Hi I'd like to manage a joystick with Euphoria (+ GUI stuff) on *Linux*. I only found Freeglut for this on Linux, the rest seems Windows/DOS specific. However I did not find any example to use it for joystick especially. Does anyone has an example for Linux please ? Thanx Tom
2. Re: Managing a joystick with Euphoria on Linux - Example ?
- Posted by Leonardo Cecchi <leonardoce at interfree.it> Apr 11, 2007
- 543 views
Hi, You should try SDL_Wrap for Linux from the archive (the author is Mark Akita). I've tried it now and works right even with joystick. Leonardo
3. Re: Managing a joystick with Euphoria on Linux - Example ?
- Posted by Tom <tom at guilleminot.org> Apr 11, 2007
- 578 views
- Last edited Apr 12, 2007
Leonardo Cecchi wrote: > > Hi, > > You should try SDL_Wrap for Linux from the archive (the author is Mark Akita). > I've tried it now and works right even with joystick. > > Leonardo Thanks ! Is it "compatible" with GUI (eugtk) use ? In the past I got problems in other language (PyGTK + SDL) with event listening and GUI main call. Thx. Tom
4. Re: Managing a joystick with Euphoria on Linux - Example ?
- Posted by Leonardo Cecchi <leonardoce at interfree.it> Apr 12, 2007
- 521 views
Tom wrote: > > Is it "compatible" with GUI (eugtk) use ? > In the past I got problems in other language (PyGTK + SDL) with event > listening > and GUI main call. I don't know what problem you had but I think you can startup the Joystick subsystem of the SDL library and leave the other subsystems down. To integrate the joystick in the gtk event loop you could use a timer and, within the callback, you can call SDL_JoystickUpdate to fetch the joystick status. If you want I can send to you the example I've written: it's a simple window that show the axis status of the first joystick. Leonardo
5. Re: Managing a joystick with Euphoria on Linux - Example ?
- Posted by Tom <tom at guilleminot.org> Apr 12, 2007
- 527 views
Leonardo Cecchi wrote: > I don't know what problem you had but I think you can startup the > Joystick subsystem of the SDL library and leave the other subsystems down. > To integrate the joystick in the gtk event loop you could use a timer and, > within the callback, you can call SDL_JoystickUpdate to fetch the joystick > status. > > If you want I can send to you the example I've written: it's a simple window > that show the axis status of the first joystick. > > Leonardo Oh it would be great. Can you please send it to [tom at guilleminot.org] ? Thanks a lot ! :o) Tom