summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-10-28 08:29:31 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-10-28 08:29:31 +0000
commit6453a246f44a9b6fdbeb308194c7b27d0ae45bad (patch)
treed27b023db52db43858a6fd4f942922af7f9753ad /usr.bin
parent87462084ac604fd450751ab0bd684d1adbee214a (diff)
downloadsrc-test-6453a246f44a9b6fdbeb308194c7b27d0ae45bad.tar.gz
src-test-6453a246f44a9b6fdbeb308194c7b27d0ae45bad.zip
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
Notes
Notes: svn path=/head/; revision=367097
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/usbhidaction/usbhidaction.16
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/usbhidaction/usbhidaction.1 b/usr.bin/usbhidaction/usbhidaction.1
index 633272e398e8b..ca4556da3416b 100644
--- a/usr.bin/usbhidaction/usbhidaction.1
+++ b/usr.bin/usbhidaction/usbhidaction.1
@@ -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 control a pair
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