Libraries to handle input...

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
beaumonj
Gnoblar
Posts: 1
Joined: Fri Apr 01, 2005 12:12 pm

Libraries to handle input...

Post by beaumonj » Fri Apr 01, 2005 12:22 pm

Hey guys,

Am just gettting into ogre, its wicked. :D

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)?
0 x

User avatar
Goosey
Halfling
Posts: 88
Joined: Wed Sep 29, 2004 3:33 am
Location: Ohio, USA
Contact:

Post by Goosey » Fri Apr 01, 2005 1:35 pm

I would look into SDL, I know that some people around here have had success using that. It is cross platform and has joystick support.
0 x
I <3 the OGRE Wiki, and SO SHOULD YOU! :)

User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands

Post by :wumpus: » Fri Apr 01, 2005 1:38 pm

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.
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Post by jacmoe » Fri Apr 01, 2005 4:36 pm

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. :wink:
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Post by jacmoe » Fri Apr 01, 2005 4:47 pm

Well, actually it is LibGII (General Input Interface), which is a stand-alone subproject of GGI (General Graphics Interface).

It looks way cool!
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.
It's being used a lot in Linux - and by SDL as a matter of fact. :)
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

Fredz
Greenskin
Posts: 122
Joined: Wed May 26, 2004 1:45 pm
Location: Perpignan, France

Post by Fredz » Fri Apr 01, 2005 10:41 pm

Added to the Wiki. I didn't add comments about their respective merits since I don't use any of these libraries, feel free to do it...
0 x

User avatar
neocryptek
Gnome
Posts: 335
Joined: Sat Mar 01, 2003 11:21 pm
Location: Idaho, USA
Contact:

Post by neocryptek » Tue Apr 12, 2005 8:47 am

: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.
Id be very interested in such a binding. (as would others im sure)

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
0 x

User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands

Post by :wumpus: » Tue Apr 12, 2005 10:30 am

I've added my steps to the Wiki :

http://www.ogre3d.org/wiki/index.php/GII
0 x

User avatar
bal
Greenskin
Posts: 100
Joined: Thu Dec 09, 2004 7:29 pm
Location: Geluwe, Belgium

Post by bal » Tue Apr 12, 2005 8:29 pm

The library looks nice but I can't seem to find their "review on how to set it up on Windows" as stated on the Download-page. Does it needs Cygwin like mentioned on another page of the site?
0 x

User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands

Post by :wumpus: » Tue Apr 12, 2005 10:52 pm

No idea, haven't needed it for windows yet; I think you just need to add the files to a project.
I might look at it later, no time now.
0 x

User avatar
Sarev0k
Halfling
Posts: 86
Joined: Mon Dec 13, 2004 9:47 am
Location: Oregon, United States
Contact:

Post by Sarev0k » Sat Jun 04, 2005 7:14 am

Hey Wumpis, did you ever get a chance to see if you could build libgii in windows?
0 x
Image
An open source 3D real-time strategy game engine (under development)

Post Reply