Linux - Input??

Started by
2 comments, last by Promag 22 years ago
Hi there In windows, almost every games use DInput to control keyboard and mouse. Iam wondering what I should use in Linux to perform control of my input devices. Thanks PROgrammer
Advertisement
You''d might want to use XLib. SDL is also another option, since it wraps input and much more (threading, window creation, audio, et cetera).

Ok... XLib is allrigh. And I dont want SDL.

But it doens fit in my code.

I have:

class CXOutput : pulbic COutput

and

class CXInput : public CInput

In windows I have:

class CWinOutput : public COutput
class CDXInput : public CInput //DirectX Input

In windows there is no dependicies between Direct Input and the Windows. And with DI I can have full control of the various input devices.

But with XLib I cant perform things like this.
Is there something like DirectX in Linux??

Thanks (sorry my bad english)

PROgrammer
quote:Original post by Promag
Ok... XLib is allrigh. And I dont want SDL.


Why don''t you want SDL????




"And that''s the bottom line cause I said so!"

Cyberdrek
cyberdrek@gdnmail.net
Founder Laval Linux

/(bb|[^b]{2})/ that is the Question -- ThinkGeek.com
Hash Bang Slash bin Slash Bash -- #!/bin/bash
[Cyberdrek | ]

This topic is closed to new replies.

Advertisement