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
This commit is contained in:
Mateusz Piotrowski 2020-10-28 08:29:31 +00:00
parent 87462084ac
commit 6453a246f4

View File

@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE. .\" POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd April 9, 2003 .Dd October 28, 2020
.Dt USBHIDACTION 1 .Dt USBHIDACTION 1
.Os .Os
.Sh NAME .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. of Philips USB speakers with the HID controls on the speakers.
.Bd -literal -offset indent .Bd -literal -offset indent
# Configuration for various Philips USB speakers # Configuration for various Philips USB speakers
Consumer:Volume_Up 1 0 mixer -f $1 vol +1 Consumer:Volume_Increment 1 0 mixer -f $1 vol +1
Consumer:Volume_Down 1 0 mixer -f $1 vol -1 Consumer:Volume_Decrement 1 0 mixer -f $1 vol -1
# mute not supported # mute not supported
#Consumer:Mute 1 0 mixer -f $1 mute #Consumer:Mute 1 0 mixer -f $1 mute
Consumer:Channel_Top.Microsoft:Base_Up 1 0 mixer -f $1 bass +1 Consumer:Channel_Top.Microsoft:Base_Up 1 0 mixer -f $1 bass +1