Above was also resolved thanks to below thread…
Adding below to remote.xml fix the shutdown and then used the App to map the key to ContextMenu…
remote.xml (in ~/.kodi/userdata/keymaps)
<keymap>
<global>
<remote>
<power>noop</power>
</remote>
</global>
</keymap>
After the Key-Map editor App:
<keymap>
<global><
keyboard>
<key id="196">contextmenu</key>
</keyboard>
</global>
</keymap>
Big thanks to all (@sam_nazarko / @Soli / @bmillham / @DBMandrake) as I finally got my VERO4K / TV / My Foxtel Box all working with me Samsung smart remote app…
Hope this thread will help others as well…