Advertisement

Linux equivilence to DirectInput???

Started by December 29, 2002 09:24 AM
8 comments, last by Yau 22 years, 1 month ago
I''d like to start programming games for Linux. I''ve done alot of OpenGL stuff using DirectX for my keyboard, mouse and joystick inputs and Sounds. So for Linux what libraries should i use to do inputs and sounds???
:)
Try out SDL www.libsdl.org, works both for Windows and Linux too.
Advertisement
So games like counter strike for Linux uses the SDL library??
or do they use something else??
:)
quote:
Original post by Yau
So games like counter strike for Linux uses the SDL library??
or do they use something else??


UT used sdl... dunno about counterstrike though.

-eldee
;another space monkey;
[ Forced Evolution Studios ]

::evolve::

Do NOT let Dr. Mario touch your genitals. He is not a real doctor!

-eldee;another space monkey;[ Forced Evolution Studios ]
From what I''ve heard (and compiled)most Linux games seem to use SDL. It also works perfectly well in Windows, and most any major opperating system for that matter. It''s basicly a cross-platform DirectX aside from Driect3D *cough*OpenGL*cough*.
I didn''t think there WAS a version of CS for Linux! If there is, WHERE IS IT?! Wow, I''d never need Windows again! The only other thing I EVER use Windows for is Operation Flashpoint!
I like the DARK layout!
Advertisement
I always thought there was a linux version, because we I play online some of the servers had Linux icons next to them so I assumed there r linux ports for CS, or maybe just the servers.
:)
Oh, yeah. They just ported the stand alone server thing to Linux. There''s no front end (the actual game part) for Linux.
I like the DARK layout!
Lots of linux games use sdl.
SDL is a portable api (works on other os-es too) with some basic stuff. (loading images,input,sound)

(other oses-> linux,windows,*bsd,macos*,solaris etc)

It was created by loki games (http://www.loki-games.com),
who ported a lot of windows games to linux.
The company had some money problems, doesn''t exist anymore.

The library itself is lgpl''ed...
see the http://www.libsdl.org faq for more info
--

Many games use sdl.
(see http://www.happypenguin.org and search for sdl)
Altough other use clanlib/allegro instead.

Personally I use sdl+opengl...

Best,
Frank
-- happy new year
Let there be light,and there was code
There is no linux port of the CS client. There is a port for the server. YOu can play CS with linux using wine, it runs almost perfectly except for the menus are a little screwy.

This topic is closed to new replies.

Advertisement