Re: [osg-users] Joystick support in OSG

2015-11-06 Thread Elias Tarasov
Hello! To solve abovementioned task i searched for examples into OSG's projects: present3D app, osgviewerSDL example and sdl plugin. Also, i looked into these docs: https://www.libsdl.org/release/SDL-1.2.15/docs/html/guideinput.html Eventually i came up with that code:

Re: [osg-users] Joystick support in OSG

2015-11-02 Thread Chris Hanson
I've used VRPN for this task. The osgVRPN project worked fine last I used it, but that was a while ago. On Mon, Nov 2, 2015 at 1:51 AM, Jan Ciger wrote: > Hello, > > > On Mon, Nov 2, 2015 at 9:35 AM, Elias Tarasov > wrote: > > Hi! > > > > Which is

Re: [osg-users] Joystick support in OSG

2015-11-02 Thread Chris Hanson
Oh, and I forgot to mention, OsgWorks has gamepad support that operates an osg Manipulator. It talks to the DirectInput SDK: https://github.com/mccdo/osgworks/tree/master/include/osgwMx ​https://github.com/mccdo/osgworks/blob/master/include/osgwMx/MxGamePadDX.h

Re: [osg-users] Joystick support in OSG

2015-11-02 Thread Elias Tarasov
Hi! Thanks for replies! Eventually, i built OSG 3.2.0 with SDL 1.2 support. Test app works, however, i'm still trying to figure out how exactly combine sdl-handling joystick's input and OSG. SDL 2.0 doesn't build under MSVC 2015. Not to mention building it as OSG plugin. The errors are

[osg-users] Joystick support in OSG

2015-11-02 Thread Elias Tarasov
Hi! Which is the best way of supporting joystick's input in modern OSG? OSG Cookbook says it's a Directinput 3rdParty lib, but looking into OSG trunk code it seems that last update was done 5 years ago. SDL was updated 5 month ago, but that comment in the last commit > >

Re: [osg-users] Joystick support in OSG

2015-11-02 Thread Jan Ciger
Hello, On Mon, Nov 2, 2015 at 9:35 AM, Elias Tarasov wrote: > Hi! > > Which is the best way of supporting joystick's input in modern OSG? > OSG Cookbook says it's a Directinput 3rdParty lib, but looking into OSG trunk > code it seems that last update was done 5 years

[osg-users] joystick support

2008-07-09 Thread Benoît Poulard
Hi, I need to add a joystick support in my application. I want to add a new event handler to manage the joystick. What is the best way to do this with OSG 2.4? Thank's Ben ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] joystick support

2008-07-09 Thread Alberto Luaces
Hi Ben, El Miércoles 09 Julio 2008ES 14:33:33 Benoît Poulard escribió: Hi, I need to add a joystick support in my application. I want to add a new event handler to manage the joystick. What is the best way to do this with OSG 2.4? There is an interesting thread on the archives:

Re: [osg-users] joystick support

2008-07-09 Thread HUBERT Zoltan
Benoît Poulard wrote on Wednesday 09 July 2008: I need to add a joystick support in my application. I want to add a new event handler to manage the joystick. What is the best way to do this with OSG 2.4? SDL: that's what Robert answered me to this same question And true, it works easy. SDL is

Re: [osg-users] joystick support

2008-07-09 Thread Benoît Poulard
thank you both for your answer, I want to use plib in order to manage joystick, and integrate it with OSG by an event handler. I read thread that Alberto Luaces has posted,and I see that osg provides only mouse/keybroard handler interface. I will try to make my own OsgJoystickEventHandler based