]> diplodocus.org Git - xorg-xinput/blobdiff - man/xinput.man
Fix crash for enable/disable without a device argument
[xorg-xinput] / man / xinput.man
index 5470f29bd166124c1b4ed3b49cd0a7636857a590..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]
@@ -140,14 +142,24 @@ 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-crtc \fIdevice\fP \fIcrtc\fP
+.B --map-to-output \fIdevice\fP \fIcrtc\fP
 Restricts the movements of the absolute \fIdevice\fP to the RandR
-\fIcrtc\fP. The CRTC name must match a currently connected CRTC (see
+\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