Yes, I searched the archives, and it appears that I've got to use a library for joystick support. In reading the library, I saw two mentions SDL and Direct Input.
Has anybody tried these with irrlicht yet, and/or does anyone know if irrlicht event receiver is going to interfere with getting to the joystick directly?
I've heard rumors that irrlicht snarfs input when used in an MFC dialog, so I was hoping for some pointers before I start heading banging on joystick use.
Thanks in advance.
joystick support for irrlicht--what library to use?
-
- Posts: 395
- Joined: Fri Apr 08, 2005 8:46 pm
not supported by Irrlicht
found the same information - because Irrlicht is a grafic engine NOT a game engine
we have the same problem and I think I go to integrate it myown ....
If you will find better info pls. let me know, too.
we have the same problem and I think I go to integrate it myown ....
If you will find better info pls. let me know, too.
Any fool can make things bigger, more complex, and more violent. It takes a touch of genius-and a lot of courage-to move in the opposite direction.
(Albert Einstein)
(Albert Einstein)
I use SDL (SDL_Joystick *, only with SDL_INIT_JOYSTICK on initiation) and Irrlicht's EventReceiver - works great, nothing intereferes as I stick to idea that only joystick is managed by SDL and whole the rest by EventReceiver.
My advice is: keep away from DirectX - I had to programm joystick with it once, it generally sucks But maybe I'm just slow in Windows' programming (yes, I prefer Linux:) )
Conclusion: Irrlicht and SDL_Joystick works (I already have working project, so that's 100% sure:) )
My advice is: keep away from DirectX - I had to programm joystick with it once, it generally sucks But maybe I'm just slow in Windows' programming (yes, I prefer Linux:) )
Conclusion: Irrlicht and SDL_Joystick works (I already have working project, so that's 100% sure:) )
Re: joystick support for irrlicht--what library to use?
direct input does the trick and if you compiled irrlicht with dx support the directinput api+libs are already availabledhenton9000 wrote:Yes, I searched the archives, and it appears that I've got to use a library for joystick support. In reading the library, I saw two mentions SDL and Direct Input.
irrlicht uses the win32 api to receive events(push-model), which is entirelydhenton9000 wrote:Has anybody tried these with irrlicht yet, and/or does anyone know if irrlicht event receiver is going to interfere with getting to the joystick directly?
I've heard rumors that irrlicht snarfs input when used in an MFC dialog, so I was hoping for some pointers before I start heading banging on joystick use.
separate from directinput(pull-model).
cheers,
terefang
nVidia 7800GT/256, AMD64-X2 4k2, Latest Fedora/CentOS
nVidia 7800GT/256, AMD64-X2 4k2, Latest Fedora/CentOS