Switch AVR to Kodi when using it with HDMI CEC “Active Source”

Hi,

when i press a button on the remote of my STB my AVR switches to it’s HDMI input automatically. When i press a button on the Apple TV 4 remote, the AVR switches to this HDMI source automatically.

Not so with KODI. I’m running LibreELEC on an Odroid C2 and CEC is working perfect for me but there is no feature to enable or possibility to map a button on the Odroid remote with the keymap editor to make the HDMI of the Odroid the active source. I always have to use the remote of the AVR to switch the HDMI input manually.

Thanks,
Burrito78