Kodi Community Forum
"Enable passthrough" keyboard mapping?? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: "Enable passthrough" keyboard mapping?? (/showthread.php?tid=205917)



"Enable passthrough" keyboard mapping?? - HomersDK - 2014-10-06

Hello there.

Is there a way to make a keyboard shortcut, to use for enable/disable audio Passtrough setting in the audio output section?
I already have a couple of custom shortcut inside the keyboard.xml file to use for audio and subtitle delay/ahead, but is it possible to put one more for audio passtrough?

Thanks in advance.


RE: "Enable passthrough" keyboard mapping?? - Fry7 - 2014-10-08

(2014-10-06, 23:19)HomersDK Wrote: Is there a way to make a keyboard shortcut, to use for enable/disable audio Passtrough setting in the audio output section?

Stumbled upon this thread which should make possible what you desire...


RE: "Enable passthrough" keyboard mapping?? - pcmonkey - 2014-10-09

Find file "C:\Program Files\XBMC\system\keymaps\keyboard.xml", add a line between "<FullscreenVideo><keyboard>" and "</keyboard></FullscreenVideo>", example:

Code:
<FullscreenVideo>
    <keyboard>
      ......
      ......
      <a>AudioToggleDigital</a>
      ......
      ......
    </keyboard>
  </FullscreenVideo>

When you press key "A", the passthrough will switch Enable/Disable.