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
This commit is contained in:
Mateusz Piotrowski 2020-11-11 11:26:36 +00:00
parent e0acbb31e8
commit 40c3aa0004
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/11/; revision=367587

View File

@ -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