summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-02-04 15:05:36 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-02-05 08:39:10 +1000
commit4966627f5fc74b30a5cc9ca9292a0314aabf1734 (patch)
treead0db880cbb2b54dd1162b1adf46df2b28a00192
parent8cd99782831c6d6e8407c7e99471780d118d2648 (diff)
man: document XI2 options
Document the options to modifiy the device hierarchy and change the ClientPointer. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--man/xinput.man37
1 files changed, 37 insertions, 0 deletions
diff --git a/man/xinput.man b/man/xinput.man
index 7e1a9d3..b922656 100644
--- a/man/xinput.man
+++ b/man/xinput.man
@@ -102,9 +102,46 @@ and ProximityOut are registered.
Register for a number of XI2 events and display them. This option does not
take a device argument.
.PP
+.TP 8
+.B --create-master \fIprefix\fP [sendCore] [enable]
+Create a new pair of master devices on an XI2-enabled server with the given
+\fIprefix\fP. The server will create one master pointer named "\fIprefix\fP
+pointer" and one master keyboard named "\fIprefix\fP keyboard". If
+\fIsendCore\fP is 1, this pair of master devices is set to send core events
+(default). If \fIenable\fP is 1, this master device pair will be enabled
+immediately (default).
+.PP
+.TP 8
+.B --remove-master \fImaster\fP [Floating|AttachToMaster] [returnPointer] [returnKeyboard]
+Remove \fImaster\fP and its paired master device. Attached slave devices
+are set floating if \fIFloating\fP is specified or the argument is omitted.
+If the second argument is \fIAttachToMaster\fP, \fIreturnPointer\fP
+specifies the master pointer to attach all slave pointers to and
+\fIreturnKeyboard\fP specifies the master keyboard to attach all slave
+keyboards to.
+.PP
+.TP 8
+.B --reattach \fIslave\fP \fImaster\fP
+Reattach \fIslave\fP to \fImaster\fP.
+.PP
+.TP 8
+.B --float \fIslave\fP
+Remove \fIslave\fP from its current master device.
+.PP
+.TP 8
+.B --set-cp \fIwindow\fP \fImaster\fP
+Set the ClientPointer for the client owning \fIwindow\fP to \fImaster\fP.
+\fImaster\fP must specify a master pointer.
+.PP
\fIdevice\fP can be the device name as a string or the XID of the
device.
.PP
+\fIslave\fP can be the device name as a string or the XID of a slave
+device.
+.PP
+\fImaster\fP can be the device name as a string or the XID of a master
+device.
+.PP
\fIproperty\fP can be the property as a string or the Atom value.
.PP
.SH "SEE ALSO"