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

Peter Hutterer peter.hutterer at
Mon Nov 24 14:59:55 PST 2008

On Tue, Nov 25, 2008 at 09:51:34AM +1100, Daniel Stone wrote:
> On Mon, Nov 24, 2008 at 07:17:52PM +0100, Christian Beier wrote:
> > On Mon, 24 Nov 2008 18:50:38 +1100
> > Daniel Stone <daniel at> wrote:
> > > How about being able to create new SDs, a la uinput?
> > 
> > Using uinput would undoubtly be the cleaner solution, but would limit
> > the application to Linux and would need fiddling with udev rules for
> > the right permissions in /dev/input/ and putting the user in the
> > corresponding group. I think I'll stick to creating MDs on the fly and
> > feeding them directly - which should be unproblematic if I keep exactly
> > one event source per MD, as Peter outlined in his reply to my previous
> > post. Or I'll implement both ways and leave the choice up to the
> > user... Let's see...
> I meant being able to create virtual SDs on the fly: basically, uinput
> for MPX.  Using uinput would be the wrong way to go, IMO.

You could feed "void" devices to the server, even easier if config-dbus is
enabled. ATM the server doesn't provide an option to create an SD through a
client request and I haven't made up my mind yet if we should.


More information about the xorg mailing list