Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2020 08:29:32 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r367097 - head/usr.bin/usbhidaction
Message-ID:  <202010280829.09S8TWtb068334@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010280829.09S8TWtb068334>