diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-11-08 14:16:34 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-11-08 14:16:34 +1030 |
commit | 8806f3db5417f1c5946b6589cf2f043e9e7c68d3 (patch) | |
tree | 290d30740135e471476bf564317dc195381f657f /man | |
parent | 1e0b1816a95910631a6b1c8572b9689c32aeb3a0 (diff) |
Autotool the lot.
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.am | 53 | ||||
-rw-r--r-- | man/xinput.man | 77 |
2 files changed, 130 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..db77de2 --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,53 @@ +# +# Copyright 2007 Peter Hutterer <peter@cs.unisa.edu.au> +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of the author not be used in +# advertising or publicity pertaining to distribution of the software without +# specific, written prior permission. The author makes no +# representations about the suitability of this software for any purpose. It +# is provided "as is" without express or implied warranty. +# +# THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + + +appmandir = $(APP_MAN_DIR) +appman_PRE = xinput.man +appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) + +EXTRA_DIST = $(appman_PRE) +CLEANFILES = $(appman_DATA) + +SED = sed + +# Strings to replace in man pages +XORGRELSTRING = @PACKAGE_STRING@ + XORGMANNAME = X Version 11 + +MAN_SUBSTS = \ + -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ + -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ + -e 's|__xservername__|Xorg|g' \ + -e 's|__xconfigfile__|xorg.conf|g' \ + -e 's|__projectroot__|$(prefix)|g' \ + -e 's|__apploaddir__|$(appdefaultdir)|' \ + -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ + -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \ + -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ + -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ + -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' + +SUFFIXES = .$(APP_MAN_SUFFIX) .man + +.man.$(APP_MAN_SUFFIX): + sed $(MAN_SUBSTS) < $< > $@ + diff --git a/man/xinput.man b/man/xinput.man new file mode 100644 index 0000000..410ecd0 --- /dev/null +++ b/man/xinput.man @@ -0,0 +1,77 @@ +.\" $Id: xinput.man,v 1.5 1997/06/09 16:06:31 fred Exp $ +.TH xinput 1 "$Date: 1997/06/09 16:06:31 $" "Frederic Lepied" + +.SH NAME +xinput - utility to configure and test XInput devices + +.SH SYNOPSIS +.B xinput +[version] [list [\fIdevice_name\fP]] [set-pointer \fIdevice_name\fP] +[get-feedbacks \fIdevice_name\fP] +[set-mode \fIdevice_name\fP \fIABSOLUTE|RELATIVE\fP] +[set-ptr-feedback \fIdevice_name\fP \fIthreshold\fP \fInum\fP \fIdenom\fP] +[set-integer-feedback \fIdevice_name\fP \fIindex\fP \fIvalue\fP] +[set-button-map \fIdevice_name\fP \fImap button 1\fP [\fImap button 2\fP [\fI...\fP]]] +[query-state \fIdevice_name\fP] +[test [-proximity] \fIdevice_name\fP] + +.SH DESCRIPTION +.TP 8 +.B xinput version +test if the XInput extension is available and return the version number +of the program. +.PP +.TP 8 +.B xinput list [\fIdevice_name\fP] +If no argument is given list all the input devices showing all their +features. If an argument is given, show all the feature of \fIdevice_name\fP. +Uses XListInputDevices(3). +.PP +.TP 8 +.B xinput get-feedbacks \fIdevice_name\fP +Display the feedbacks of \fIdevice_name\fP. Uses XGetFeedbackControl(3). +.PP +.TP 8 +.B xinput set-pointer \fIdevice_name\fP +Switch \fIdevice_name\fP in core pointer. Uses XChangePointerDevice(3). +.PP +.TP 8 +.B xinput set-mode \fIdevice_name\fP \fIABSOLUTE|RELATIVE\fP +Change the mode of \fIdevice_name\fP. Uses XSetDeviceMode(3). +.PP +.TP 8 +.B xinput set-ptr-feedback \fIdevice_name\fP \fIthreshold\fP \fInum\fP \fIdenom\fP +Change the acceleration of \fIdevice_name\fP. Uses XChangeFeedbackControl(3). +.PP +.TP 8 +.B xinput set-integer-feedback \fIdevice_name\fP \fIindex\fP \fIvalue\fP +Change the value of an integer feedback of \fIdevice_name\fP. Uses XChangeFeedbackControl(3). +.PP +.TP 8 +.B xinput set-button-map \fIdevice_name\fP \fImap button 1\fP [\fImap button 2\fP [\fI...\fP]] +Change the button mapping of \fIdevice_name\fP. Uses XSetDeviceButtonMapping(3). +.PP +.TP 8 +.B xinput query-state \fIdevice_name\fP +Query the device state. Uses XQueryDeviceState(3). +.PP +.TP 8 +.B xinput test [-proximity] \fIdevice_name\fP +Register all extended events from \fIdevice_name\fP and enter an endless +loop displaying events received. If the -proximity is given, ProximityIn +and ProximityOut are registered. +.PP +\fIdevice_name\fP can be the device name as a string or the XID of the +device. +.PP + +.SH COPYRIGHT +Copyright 1996,1997, Frederic Lepied. + +.SH AUTHOR + +.nf +Frederic Lepied, France <Frederic.Lepied@sugix.frmug.org> +.fi + +Patches, bug reports, and suggestions are welcome. |