summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony J. Bentley <bentley@cvs.openbsd.org>2015-02-27 22:30:57 +0000
committerAnthony J. Bentley <bentley@cvs.openbsd.org>2015-02-27 22:30:57 +0000
commit652193fdc64ec90c456eb2577bea1e5f560cc79e (patch)
tree304f3503e25909f2fffb260ccb9c3784f5623232
parent29bf83bf5103cc22006b7d54535515aa910a8d1d (diff)
Bring example up to date with share/misc/usb_hid_usages.
ok millert@
-rw-r--r--usr.bin/usbhidaction/usbhidaction.18
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/usbhidaction/usbhidaction.1 b/usr.bin/usbhidaction/usbhidaction.1
index d20266be39d..a0891d45700 100644
--- a/usr.bin/usbhidaction/usbhidaction.1
+++ b/usr.bin/usbhidaction/usbhidaction.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usbhidaction.1,v 1.11 2011/03/07 14:59:06 jasper Exp $
+.\" $OpenBSD: usbhidaction.1,v 1.12 2015/02/27 22:30:56 bentley Exp $
.\" $NetBSD: usbhidaction.1,v 1.6 2002/01/18 14:38:59 augustss Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 7 2011 $
+.Dd $Mdocdate: February 27 2015 $
.Dt USBHIDACTION 1
.Os
.Sh NAME
@@ -107,9 +107,9 @@ device using the multimedia keys on a Belkin USB keyboard.
# The volume range is 0..255. Moving 8 volume steps each keypress
# moves quickly through the volume range but still has decent
# granularity.
-Consumer:Volume_Up 1
+Consumer:Volume_Increment 1
mixerctl -f $1 outputs.master=+8
-Consumer:Volume_Down 1
+Consumer:Volume_Decrement 1
mixerctl -f $1 outputs.master=-8
Consumer:Mute 1
mixerctl -f $1 outputs.master.mute=toggle