Libraries to handle input...
-
- Gnoblar
- Posts: 1
- Joined: Fri Apr 01, 2005 12:12 pm
Libraries to handle input...
Hey guys,
Am just gettting into ogre, its wicked.
I know ogre has some basic input handling capabilities, but for what im looking to do, i need something a little better. Does anyone know of any good input libraries (keyboard/joystick etc)?
Am just gettting into ogre, its wicked.
I know ogre has some basic input handling capabilities, but for what im looking to do, i need something a little better. Does anyone know of any good input libraries (keyboard/joystick etc)?
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
I recommend GGI. It is on par with SDL with input support but is smaller, and easier to bind to an existing window than SDL. (no environment variable hacks needed for one thing)
I have a GGI->CEGUI binding for Linux (handles converting all the key codes mouse clicks etc), it wouldn't be much work to port it to windows. Let me know if you need it.
I have a GGI->CEGUI binding for Linux (handles converting all the key codes mouse clicks etc), it wouldn't be much work to port it to windows. Let me know if you need it.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
That would be very cool!
I raised the topic here some time ago - alternative input libs - and found GGI, which I find very cool.
I know Sinbad has been harping on and on about the Ogre input system only being there for demoing purposes.
I really believe that a lot of us is now wondering how to liberate ourselves from the Ogre InputReader and KeyEvent stuff ...
Excellent if you have an example of how to use GGI.
I raised the topic here some time ago - alternative input libs - and found GGI, which I find very cool.
I know Sinbad has been harping on and on about the Ogre input system only being there for demoing purposes.
I really believe that a lot of us is now wondering how to liberate ourselves from the Ogre InputReader and KeyEvent stuff ...
Excellent if you have an example of how to use GGI.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Well, actually it is LibGII (General Input Interface), which is a stand-alone subproject of GGI (General Graphics Interface).
It looks way cool!
It looks way cool!
It's being used a lot in Linux - and by SDL as a matter of fact.LibGII
General Input Interface. Manages user input. Allows event abstraction, i.e. application registers a unique event type (such as "player jumps") and the library takes care of input bindings. The application need only worry about "player jumps" events, not stuff like "keypad_up pressed" and "gray_pgdown released" events.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- neocryptek
- Gnome
- Posts: 335
- Joined: Sat Mar 01, 2003 11:21 pm
- Location: Idaho, USA
- Contact:
Id be very interested in such a binding. (as would others im sure):wumpus: wrote:I have a GGI->CEGUI binding for Linux (handles converting all the key codes mouse clicks etc), it wouldn't be much work to port it to windows. Let me know if you need it.
Ive been pondering a switch to LibGII for a while now, but keep putting it off due to time. This could be a great head start to finally make the switch.
-N30
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
- Sarev0k
- Halfling
- Posts: 86
- Joined: Mon Dec 13, 2004 9:47 am
- Location: Oregon, United States
- Contact: