[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Input Library
- To: linuxgames@sunsite.dk
- Subject: Re: Input Library
- From: Steve Baker <sjbaker1@airmail.net>
- Date: Thu, 26 Sep 2002 16:48:52 -0500
- Delivered-To: archiver@seul.org
- Delivered-To: mailing list linuxgames@sunsite.dk
- Delivery-Date: Thu, 26 Sep 2002 17:53:16 -0400
- Mailing-List: contact linuxgames-help@sunsite.dk; run by ezmlm
- Organization: Steve at Home
- References: <20474.1033042241@www52.gmx.net>
- Reply-To: linuxgames@sunsite.dk
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529
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