1.5 joystick support question

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

1.5 joystick support question

Post by 3DModelerMan »

Is 1.5 going to support joystick hats(D-pad)?. Rumble would be nice to ("hint" "hint") :wink: .
Thanks :D .
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Re: 1.5 joystick support question

Post by rogerborg »

3DModelerMan wrote:Is 1.5 going to support joystick hats(D-pad)?. Rumble would be nice to ("hint" "hint") :wink: .
Thanks :D .
Hats are supported to the extent that the underlying libraries expose them, i.e. explicitly on Windows, indirectly on Linux (the hat comes through as two axes instead) and... uh... OSX is doing whatever OSX does.

Rumble / force feedback, no, I'm not planning that. It's output rather than input, I'm not convinced that Linux support for it is robust, and nor do I want to rely on DInput on Windows.

I have no aversion to testing someone else's impleementation, "hint" "hint".
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

hmmm

Post by 3DModelerMan »

Thanks for the response. I only really need the hat support, but I'll read up on the rumble/force feedback :wink: .
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

You could try the OIS integration from the Irrlicht Wiki (http://www.irrlicht3d.org/wiki/index.ph ... thIrrlicht). Haven't tried it yet but I will, and it seems to support everything you need.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Honestly, I'd give OIS a try. Joystick support in Irrlicht isn't likely to be a high priority, and the native Linux joystick API doesn't deal with hats. I'm (vaguely) interested in how OIS is getting hat information on Linux, but not enough to look into it.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

hmmm

Post by 3DModelerMan »

Yeah I might try OIS. I really like the way SDL lets you test joystick input inside the main loop though. If there was a way I could get SDL to work cross platform being compiled on one machine, that would be the best, although OIS force feedback is looking nice.
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
Post Reply