diff options
author | Johns <johns98@gmx.net> | 2012-04-06 14:38:51 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-04-06 14:38:51 +0200 |
commit | aa4debc9c8a31c478bb8c9983c669a21b3afd6d3 (patch) | |
tree | c18f9d753796dc15c9e50e53e8b9af21406139db /softhddevice.cpp | |
parent | ac2e10a3082c511f3d6b3fed48e74b64d0764e23 (diff) | |
download | vdr-plugin-softhddevice-aa4debc9c8a31c478bb8c9983c669a21b3afd6d3.tar.gz vdr-plugin-softhddevice-aa4debc9c8a31c478bb8c9983c669a21b3afd6d3.tar.bz2 |
Enable/disable/toggle fullscreen with hot-key.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r-- | softhddevice.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp index 33540b8..a94aaa7 100644 --- a/softhddevice.cpp +++ b/softhddevice.cpp @@ -844,6 +844,15 @@ static void HandleHotkey(int code) case 12: // toggle pass-through CodecSetAudioPassthrough(ConfigAudioPassthrough ^= 1); break; + case 20: // disable full screen + VideoSetFullscreen(0); + break; + case 21: // enable full screen + VideoSetFullscreen(1); + break; + case 22: // toggle full screen + VideoSetFullscreen(-1); + break; default: esyslog(tr("[softhddev]: hot key %d is not supported\n"), code); break; @@ -1769,7 +1778,10 @@ static const char *SVDRPHelpText[] = { " key is the hotkey number, following are supported:\n" " 10: disable audio pass-through\n" " 11: enable audio pass-through\n" - " 12: toggle audio pass-through\n", + " 12: toggle audio pass-through\n" + " 20: disable fullscreen\n" + " 21: enable fullscreen\n" + " 22: toggle fullscreen\n", NULL }; |