[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Input Library



Nathi-huesken@gmx.de wrote:

> So far I have only been programming under Windows and I want to start
> programming under Linux. Under Windows I have been using DirectInput for Keyboard
> and Mouse and I do not know what to use under Linux. I don't want to use a
> full Game-Library like SDL, beacause it's just not neccesary. So I came to
> libgii for Input, but I did not find any helping tutorials on how to use it.
> Is their any tutorial or example which explains how to use libgii, or is
> their another (better) library for handling Input in Games?

What you need depends on what you want to achieve.

GLUT is by far the simplest thing to get you started with an OpenGL
based application.  All of the OpenGL example programs use GLUT - I've
written a million line program that used GLUT - so don't let anyone
tell you that it's not suitable for serious applications.  All of my Linux
games use GLUT.

If you are going to need a bunch of GUI elements then maybe start with
something like FLTK or GTK.

I don't recommend writing to raw X windows libraries - it's possible - but
painful.

SDL is very popular - rapidly becoming a de-facto standard for Linux Games.

----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1@airmail.net>   WorkMail: <sjbaker@link.com>
URLs : http://www.sjbaker.org
        http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
        http://prettypoly.sf.net http://freeglut.sf.net
        http://toobular.sf.net   http://lodestone.sf.net