Is 1.5 going to support joystick hats(D-pad)?. Rumble would be nice to ("hint" "hint") .
Thanks .
1.5 joystick support question
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
1.5 joystick support question
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
-
- 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
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.3DModelerMan wrote:Is 1.5 going to support joystick hats(D-pad)?. Rumble would be nice to ("hint" "hint") .
Thanks .
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
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
hmmm
Thanks for the response. I only really need the hat support, but I'll read up on the rumble/force feedback .
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
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
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
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
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
hmmm
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
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar