]> diplodocus.org Git - xorg-xinput/blobdiff - man/xinput.man
Fix crash for enable/disable without a device argument
[xorg-xinput] / man / xinput.man
index 8a348d130362fd3bb83059b624c9f108ef85ccb6..87be8c7a3e48f28e2775f9816c7940e7c9418439 100644 (file)
@@ -104,9 +104,11 @@ loop displaying events received. If the -proximity is given, ProximityIn
 and ProximityOut are registered.
 .PP
 .TP 8
-.B --test-xi2
-Register for a number of XI2 events and display them. This option does not
-take a device argument.
+.B --test-xi2 [--root] [\fIdevice\fP]
+Register for a number of XI2 events and display them. If a device is given,
+only events on this device are displayed. If --root is given, events are
+selected on the root window only. Otherwise, a new client window is created
+(similar to xev).
 .PP
 .TP 8
 .B --create-master \fIprefix\fP [sendCore] [enable]
@@ -139,6 +141,25 @@ Remove \fIslave\fP from its current master device.
 Set the ClientPointer for the client owning \fIwindow\fP to \fImaster\fP.
 \fImaster\fP must specify a master pointer.
 .PP
+.TP 8
+.B --map-to-output \fIdevice\fP \fIcrtc\fP
+Restricts the movements of the absolute \fIdevice\fP to the RandR
+\fIcrtc\fP. The output name must match a currently connected output (see
+\fIxrandr(__appmansuffix__)\fP). If the NVIDIA binary driver is
+detected or RandR 1.2 or later is not available, a Xinerama output may be
+specified as "HEAD-N", with N being the Xinerama screen number. This option
+has no effect on relative devices.
+.PP
+.TP 8
+.B --enable \fIdevice\fP
+Enable the \fIdevice\fP. This call is equivalent to
+.B xinput --set-prop device \fI"Device Enabled"\fP 1
+.PP
+.TP 8
+.B --disable \fIdevice\fP
+Disable the \fIdevice\fP. This call is equivalent to
+.B xinput --set-prop device \fI"Device Enabled"\fP 0
+.PP
 \fIdevice\fP can be the device name as a string or the XID of the
 device.
 .PP
@@ -151,7 +172,7 @@ device.
 \fIproperty\fP can be the property as a string or the Atom value.
 .PP
 .SH "SEE ALSO"
-X(__miscmansuffix__), xset(__appmansuffix__)
+X(__miscmansuffix__), xset(__appmansuffix__), xrandr(__appmansuffix__)
 .SH COPYRIGHT
 Copyright 1996,1997, Frederic Lepied.
 .PP