Opened 14 years ago

Closed 13 years ago

#4331 closed patch (fixed)

Support for multimedia keyboard volume control keys

Reported by: hvesalai Owned by: stuartm
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


Index: libs/libmythtv/tv_play.cpp
--- libs/libmythtv/tv_play.cpp  (revision 15169)
+++ libs/libmythtv/tv_play.cpp  (working copy)
@@ -274,9 +274,9 @@
             "favorites in the program guide.", "/");
     REG_KEY("TV Frontend", "CHANUPDATE", "Switch channels without exiting "
             "guide in Live TV mode.", "X");
-    REG_KEY("TV Frontend", "VOLUMEDOWN", "Volume down", "[,{,F10");
-    REG_KEY("TV Frontend", "VOLUMEUP", "Volume up", "],},F11");
-    REG_KEY("TV Frontend", "MUTE", "Mute", "|,\\,F9");
+    REG_KEY("TV Frontend", "VOLUMEDOWN", "Volume down", "[,{,F10,Volume Down");
+    REG_KEY("TV Frontend", "VOLUMEUP", "Volume up", "],},F11, Volume Up");
+    REG_KEY("TV Frontend", "MUTE", "Mute", "|,\\,F9,Volume Mute");
     REG_KEY("TV Frontend", "RANKINC", "Increase program or channel rank",
     REG_KEY("TV Frontend", "RANKDEC", "Decrease program or channel rank",

Note: a similar change should also be done to mythmusic!

Change History (3)

comment:1 Changed 14 years ago by stuartm

Owner: changed from Isaac Richards to stuartm
Status: newassigned

comment:2 Changed 14 years ago by anonymous

Just FYI, I had to make the same bindings in the "TV Playback" context to have any effect.

Also MythMusic/MythPhone? should probably have similar bindings.

comment:3 Changed 13 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [15272]) Fixes #4331. Adds default bindings for the volume keys on some keyboards and USB remotes. This extends the patch by hvesakai to work in the plugins and work with the new bindings in tv_play.cpp since 0.20 + it adds a DB update so existing MythTV installations can benefit from volume keys; the old bindings are still there so this should effect functionality for anyone who has remapped those keys themselves with xmodmap.

Note: See TracTickets for help on using tickets.