svn commit: r367097 - head/usr.bin/usbhidaction

Mateusz Piotrowski 0mp at FreeBSD.org
Wed Oct 28 08:29:32 UTC 2020


Author: 0mp (doc,ports committer)
Date: Wed Oct 28 08:29:31 2020
New Revision: 367097
URL: https://svnweb.freebsd.org/changeset/base/367097

Log:
  Correct USB HID item in examples
  
  It turns out that examples were incorrectly referring to Volume_Up
  and Volume_Down, which are not defined at all.
  
  PR:		250683
  Reported by:	corvid%openmailbox.org
  MFC after:	2 weeks

Modified:
  head/usr.bin/usbhidaction/usbhidaction.1

Modified: head/usr.bin/usbhidaction/usbhidaction.1
==============================================================================
--- head/usr.bin/usbhidaction/usbhidaction.1	Wed Oct 28 08:22:38 2020	(r367096)
+++ head/usr.bin/usbhidaction/usbhidaction.1	Wed Oct 28 08:29:31 2020	(r367097)
@@ -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 April 9, 2003
+.Dd October 28, 2020
 .Dt USBHIDACTION 1
 .Os
 .Sh NAME
@@ -139,8 +139,8 @@ The following configuration file can be used to contro
 of Philips USB speakers with the HID controls on the speakers.
 .Bd -literal -offset indent
 # Configuration for various Philips USB speakers
-Consumer:Volume_Up			 1 0 mixer -f $1 vol +1
-Consumer:Volume_Down			 1 0 mixer -f $1 vol -1
+Consumer:Volume_Increment		 1 0 mixer -f $1 vol +1
+Consumer:Volume_Decrement		 1 0 mixer -f $1 vol -1
 # mute not supported
 #Consumer:Mute				 1 0 mixer -f $1 mute
 Consumer:Channel_Top.Microsoft:Base_Up	 1 0 mixer -f $1 bass +1


More information about the svn-src-head mailing list