Fullscreen discrete command or detection method?
#1
The default key mapping for the MS DVD Remote's big Display button is Fullscreen. To make the xbox kid/grandma friendly, I've remapped that button to xbmc.shutdown() so the same button is used for On and Off.

But just in case someone presses the MENU button while a video is playing and minimize the video, I need an alternative method or button to get the video back to fullscreen. I'm thinking of remapping the PLAY button to a script so that when pressed:

If video is playing and is fullscreen: pause
If video is paused and is fullscreen: play
If video is playing and is not fullscreen: show fullscreen
If video is paused and is not fullscreen: show fullscreen

Basically, the PLAY button will act as a discrete fullscreen button when the video is minimized.

But is there a discrete fullscreen command? DISPLAY is originally mapped to fullscreen and that behaves as a toggle than a discrete fullscreen only command. And keymap.xml shows a togglefullscreen which appears to be the same thing.

If there is no discrete fullscreen command, then I guess I would need a method to detect if the video is fullscreen or not and to run the fullscreen command if the video is minimized.
Reply

Logout Mark Read Team Forum Stats Members Help
Fullscreen discrete command or detection method?0