how to get fake input events to a Xinput2 master device?

Daniel Stone daniel at
Fri Nov 21 20:44:17 PST 2008

On Sat, Nov 22, 2008 at 01:52:48AM +0100, Christian Beier wrote:
> So far i've got MPX up and running, the question i now have is:
> How can i make x11vnc create a new Master Device (or Slave Device) for
> each connected client and route this client's input events to the
> corresponding master device?

Yeah, I was just discussing that on IRC the other day.  I think the way
forward is pretty much this:

> (2) Fake Slave Devices
> If there's no way of doing things like in (1), i would have to rely on
> faking slave devices and attach these to master devices. As a slave
> device represents a physical device, i think there's no way of creating
> one via xinput. So i thought about sth. like creating a SD with the
> uinput kernel driver and making it known to hal. Or maybe via the evdev
> driver and pointing it to a device file that gets fed from x11vnc?

Shouldn't be too hard to hack up.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <>

More information about the xorg mailing list