aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-11-11 11:26:36 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-11-11 11:26:36 +0000
commit40c3aa0004de286a0482b3a9fd2e74f28e122d36 (patch)
tree8454ee312d25fa17b0d22b2f5dc9cc938d28be0e
parente0acbb31e8139e2f02b3bd79409ff8075c331a34 (diff)
downloadsrc-40c3aa0004de286a0482b3a9fd2e74f28e122d36.tar.gz
src-40c3aa0004de286a0482b3a9fd2e74f28e122d36.zip
MFC r367097:
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
Notes
Notes: svn path=/stable/11/; revision=367587
-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 633272e398e8..ca4556da3416 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