Similar to @DBMandrake, I am also using an Xbox 360 DVD remote.
I have set mine up to open the power menu when I press KEY_POWER. And then close the menu if I press KEY_POWER again. The relevant changes to remote.xml were:
-
set power button to activate shutdown menu under normal circumstances:
... snip ... <!-- <power>ShutDown()</power> --> <power>ActivateWindow(shutdownmenu)</power>
-
set power button to go back (close shutdown menu), whenever shutdown menu is open:
PreviousMenu PreviousMenu