Kodi Community Forum

Full Version: "Enable passthrough" keyboard mapping??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
(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...
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.