Archived

This topic is now archived and is closed to further replies.

Promag

Linux - Input??

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites