[Xcb] Multiseat game with XCB.

josh at joshtriplett.org josh at joshtriplett.org
Mon Jun 2 07:32:07 PDT 2014


Take a look at XInput2, which may give you more of what you need.

- Josh Triplett

On Mon, Jun 02, 2014 at 02:38:13PM +0200, Christ-Jan Wijtmans wrote:
> I have been programming a gaming engine for a game i want to develop.
> Thought i would be smart and parse udev files myself which is easy enough,
> however i quickly discovered that you require root privileges for that on
> (nearly?)all distros and the only way to get input is to go through the
> displaymanager or whatever makes it go through the window tree. Which made
> me wonder how would SteamOS handle such a thing with multiple controllers?
> Anyhow i do not believe through XCB i can see what device the input came
> from? And how would wayland handle such a thing?
> Could XCB be patched up so it would give some device information(all i need
> is an id but a name of the device would be useful to) on input events or is
> it completely abstracted from xorg-server?
> 
> Live long and prosper,
> 
> Christ-Jan Wijtmans

> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb



More information about the Xcb mailing list