examples of using xinput?

Peter Hutterer peter.hutterer at who-t.net
Sun Sep 20 05:33:36 PDT 2009


On Sun, Sep 20, 2009 at 08:12:03AM -0400, Tom Horsley wrote:
> > if you have xinput from git, it'll guess type and format automatically when
> > you run with --set-prop.
> 
> I guess there really is a bug somewhere then, I
> seemed to try set-prop as described, but I don't
> get anything like drag lock on fedora rawhide:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=524428
> 
> I couldn't figure out how to use set-int-prop because
> I need to pass two values (making button 8 a draglock for
> button 1), and none of the docs mention
> that variation. Do I just pass multiple pairs
> of <bitsize> <int>, or is <bitsize> only specified once,
> with multiple values like <bitsize> <int> <int>,
> or does set-int-prop have no way to set multiple values?

only specified once as it is valid for all values. so in your case
--set-int-prop "device" "prop" 8 8 1 should do the trick.
or just --set-pop "device" "prop" 8 1

Cheers,
  Peter



More information about the xorg mailing list