[BACK]Return to usbhidaction.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / usbhidaction

Diff for /src/usr.bin/usbhidaction/usbhidaction.1 between version 1.9 and 1.10

version 1.9, 2008/06/26 05:42:21 version 1.10, 2010/03/27 13:59:19
Line 99 
Line 99 
 .Pa /usr/share/misc/usb_hid_usages  .Pa /usr/share/misc/usb_hid_usages
 The HID usage table.  The HID usage table.
 .Sh EXAMPLES  .Sh EXAMPLES
 The following configuration file can be used to control a pair  The following configuration file can be used to control the
 of Philips USB speakers with the HID controls on the speakers.  master volume and muting of an
   .Xr azalia 4
   device using the multimedia keys on a Belkin USB keyboard.
 .Bd -literal -offset indent  .Bd -literal -offset indent
 # Configuration for various Philips USB speakers  # The volume range is 0..255. Moving 8 volume steps each keypress
 Consumer:Consumer_Control.Consumer:Volume_Up                       1  # moves quickly through the volume range but still has decent
         mixerctl -f $1 -n outputs.master=+1  # granularity.
 Consumer:Consumer_Control.Consumer:Volume_Down                     1  Consumer:Volume_Up                                                 1
         mixerctl -f $1 -n outputs.master=-1          mixerctl -f $1 outputs.master=+8
 Consumer:Consumer_Control.Consumer:Mute                            1  Consumer:Volume_Down                                               1
         mixerctl -f $1 -n outputs.mute=+1          mixerctl -f $1 outputs.master=-8
 Consumer:Consumer_Control.Consumer:Channel_Top.Microsoft:Base_Up   1  Consumer:Mute                                                      1
         mixerctl -f $1 -n outputs.bass=+1          mixerctl -f $1 outputs.master.mute=toggle
 Consumer:Consumer_Control.Consumer:Channel_Top.Microsoft:Base_Down 1  
         mixerctl -f $1 -n outputs.bass=-1  
 .Ed  .Ed
 .Pp  .Pp
 A sample invocation using this configuration would be  A sample invocation using this configuration would be
 .Bd -literal -offset indent  .Bd -literal -offset indent
 $ usbhidaction -f /dev/uhid1 -c conf /dev/mixer1  $ usbhidaction -f /dev/uhid1 -c conf /dev/mixer0
 .Ed  .Ed
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr usbhidctl 1 ,  .Xr usbhidctl 1 ,

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10