summaryrefslogtreecommitdiff
path: root/usr.bin/usbhidaction
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-10 09:12:14 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-10 09:12:14 +0000
commit954f7917cd61e2c4e87fa97f77b5d16372fced8d (patch)
tree871a313e9494c2e181e8b7547436ca52ed2b21b5 /usr.bin/usbhidaction
parent7da7265de4dc122cf4762c2707b245904c8acdd7 (diff)
- section reorder
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
Diffstat (limited to 'usr.bin/usbhidaction')
-rw-r--r--usr.bin/usbhidaction/usbhidaction.123
1 files changed, 13 insertions, 10 deletions
diff --git a/usr.bin/usbhidaction/usbhidaction.1 b/usr.bin/usbhidaction/usbhidaction.1
index 447dd54284f..5bbca06ec34 100644
--- a/usr.bin/usbhidaction/usbhidaction.1
+++ b/usr.bin/usbhidaction/usbhidaction.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usbhidaction.1,v 1.3 2003/01/11 11:07:50 hugh Exp $
+.\" $OpenBSD: usbhidaction.1,v 1.4 2003/06/10 09:12:12 jmc Exp $
.\" $NetBSD: usbhidaction.1,v 1.6 2002/01/18 14:38:59 augustss Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -66,10 +66,11 @@ Toggle the daemon flag.
.It Fl i
Ignore HID items in the config file that do not exist in the device.
.It Fl f Ar device
-Specify a path name for the device to operate on. If
+Specify a path name for the device to operate on.
+If
.Ar device
-is numeric, it is taken to be the USB HID device number. If it is a relative
-path, it is taken to be the name of the device under
+is numeric, it is taken to be the USB HID device number.
+If it is a relative path, it is taken to be the name of the device under
.Pa /dev .
An absolute path is taken to be the literal device pathname.
.It Fl v
@@ -78,19 +79,21 @@ Be verbose, and do not become a daemon.
.Pp
The config file will be re-read if the process gets a HUP signal.
.Sh CONFIGURATION
-The configuration file has a very simple format. Each line describes an
-action; if a line begins with a whitespace it is considered a continuation
-of the previous line. Lines beginning with `#' are considered as comments.
+The configuration file has a very simple format.
+Each line describes an action; if a line begins with a whitespace
+it is considered a continuation of the previous line.
+Lines beginning with `#' are considered as comments.
.Pp
Each line has three parts: a name of a USB HID item, a value for that item,
-and an action. There must be whitespace between the parts.
+and an action.
+There must be whitespace between the parts.
.Pp
The item names are similar to those used by
.Xr usbhidctl 1 ,
but each part must be prefixed by its page name.
.Pp
-The value is simply a numeric value. When the item reports this value
-the action will be performed.
+The value is simply a numeric value.
+When the item reports this value the action will be performed.
If the value is `*' it will match any value.
.Pp
The action is a normal command that is executed with