xsetpointer deprecated?

Philipp Kerling k.philipp at gmail.com
Mon Jan 5 01:18:25 PST 2009


Am Montag, den 05.01.2009, 10:53 +1000 schrieb Peter Hutterer:
> On Fri, Jan 02, 2009 at 12:32:52PM +0100, Philipp Kerling wrote:
> > the xorg utility xsetpointer reports that it is deprecated for XInput
> > versions >= 1.4. It still works fine even in newer ones. What exactly
> > has been deprecated and what functions should be used instead?
> xsetpointer changes options on the core pointer device. since 1.4, the core
> pointer device is just a virtual device, with all physical devices hanging off
> it. it is recommended that the physical devices are configured one-by-one
> instead (try the "xinput" tool).
> the problem with xsetpointer is simply that because it only knows about the
> core pointer, it forces the core pointer configuration onto all other devices,
> overwriting a per-device configuration.
Thanks for the hint. What I want to do is remove a device from the
virtual core pointer so that I can exclusively use it. xsetpointer
allowed me to do that, but I couldn't find a way to do the same thing
with the xinput utility, at least not when using XInput 1.4. Do I have
to use XInput 2 for that to work?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.x.org/archives/xorg/attachments/20090105/d5159566/attachment.pgp>

More information about the xorg mailing list