Kodi Community Forum

Full Version: Modding main menu (onleft/right) help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im modding the main home menu in the includes file to trigger some hidden buttons.

In the main menu (id=300)
<ondown condition="Container(300).HasFocus(4)">7013</ondown>
Works fine & triggers button 7013

<onleft condition="Container(300).HasFocus(4)">7015</onleft>
Does'nt work, as a test i even deleted <onleft>300</onleft> & <onright>300</onright & i can still navigate left/right!

Any help please, i don't know what is still navigating the main menu.

Hope that makes sense

Hi buges,

The hidden main menu is a wraplist. The visible main menu is a grouplist linking to it.

The hidden wraplist... change wraplist to list, then your onleft/onright should work. I believe a wraplist will always wrap regardless of the onleft/onright.

Beware! I've made some code changes to these menus that will be in the next release, so that may affect your mod?

Cheers Wink
Thanks for the info.