<GXINEKB VERSION="3">
  <KEYBINDING>
    <DESCRIPTION>Play</DESCRIPTION>
    <COMMAND>vdr ('PLAY') || play ();</COMMAND>
    <KEYVAL>65293</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Exit gxine</DESCRIPTION>
    <COMMAND>exit ();</COMMAND>
    <KEYVAL>113</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Pause</DESCRIPTION>
    <COMMAND>if (!vdr ('PAUSE') &amp;&amp; !is_live_stream ()) pause ();</COMMAND>
    <KEYVAL>32</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Windowed mode</DESCRIPTION>
    <COMMAND>vo_fullscreen.v = false;</COMMAND>
    <KEYVAL>65307</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Fullscreen mode</DESCRIPTION>
    <COMMAND>vo_fullscreen.toggle ();</COMMAND>
    <KEYVAL>102</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Aspect ratio</DESCRIPTION>
    <COMMAND>++vo_aspect.v;</COMMAND>
    <KEYVAL>97</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Toggle deinterlace</DESCRIPTION>
    <COMMAND>vo_deinterlace.toggle ();</COMMAND>
    <KEYVAL>105</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Rewind / Back 1 min</DESCRIPTION>
    <COMMAND>if (!vdr ('FASTREW') &amp;&amp; !is_live_stream ()) play (0, get_time()-60000);</COMMAND>
    <KEYVAL>65361</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Fast forward / Forward 1 min</DESCRIPTION>
    <COMMAND>if (!vdr ('FASTFWD') &amp;&amp; !is_live_stream ()) play (0, get_time()+60000);</COMMAND>
    <KEYVAL>65363</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Faster</DESCRIPTION>
    <COMMAND>if (!is_live_stream ()) ++av_speed.v;</COMMAND>
    <KEYVAL>65362</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Slower</DESCRIPTION>
    <COMMAND>if (!is_live_stream ()) --av_speed.v;</COMMAND>
    <KEYVAL>65364</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Up</DESCRIPTION>
    <COMMAND>input_up ();</COMMAND>
    <KEYVAL>65464</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Down</DESCRIPTION>
    <COMMAND>input_down ();</COMMAND>
    <KEYVAL>65458</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Left</DESCRIPTION>
    <COMMAND>input_left ();</COMMAND>
    <KEYVAL>65460</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Right</DESCRIPTION>
    <COMMAND>input_right ();</COMMAND>
    <KEYVAL>65462</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Select/OK</DESCRIPTION>
    <COMMAND>input_select ();</COMMAND>
    <KEYVAL>65421</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Menu 1 [main]</DESCRIPTION>
    <COMMAND>input_menu1 ();</COMMAND>
    <KEYVAL>65470</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Menu 2 [schedule]</DESCRIPTION>
    <COMMAND>vdr ('SCHEDULE') || input_menu2 ();</COMMAND>
    <KEYVAL>65471</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Menu 3 [channels]</DESCRIPTION>
    <COMMAND>vdr ('CHANNELS') || input_menu3 ();</COMMAND>
    <KEYVAL>65472</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Menu 4 [timers]</DESCRIPTION>
    <COMMAND>vdr ('TIMERS') || input_menu (4);</COMMAND>
    <KEYVAL>65473</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Menu 5 [recordings]</DESCRIPTION>
    <COMMAND>vdr ('RECORDINGS') || input_menu (5);</COMMAND>
    <KEYVAL>65474</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Menu 6 [setup]</DESCRIPTION>
    <COMMAND>vdr ('SETUP') || input_menu (6);</COMMAND>
    <KEYVAL>65475</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Menu 7 [user]</DESCRIPTION>
    <COMMAND>vdr ('COMMANDS') || input_menu (7);</COMMAND>
    <KEYVAL>65476</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Previous</DESCRIPTION>
    <COMMAND>vdr ('CHANNELMINUS') || input_previous ();</COMMAND>
    <KEYVAL>65434</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Next</DESCRIPTION>
    <COMMAND>vdr ('CHANNELPLUS') || input_next ();</COMMAND>
    <KEYVAL>65435</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>1 / Play, skip first 10%</DESCRIPTION>
    <COMMAND>vdr ('1') || play (10, 0);</COMMAND>
    <KEYVAL>49</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>2 / Play, skip first 20%</DESCRIPTION>
    <COMMAND>vdr ('2') || play (20, 0);</COMMAND>
    <KEYVAL>50</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>3 / Play, skip first 30%</DESCRIPTION>
    <COMMAND>vdr ('3') || play (30, 0);</COMMAND>
    <KEYVAL>51</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>4 / Play, skip first 40%</DESCRIPTION>
    <COMMAND>vdr ('4') || play (40, 0);</COMMAND>
    <KEYVAL>52</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>5 / Play, skip first half</DESCRIPTION>
    <COMMAND>vdr ('5') || play (50, 0);</COMMAND>
    <KEYVAL>53</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>6 / Play last 40%</DESCRIPTION>
    <COMMAND>vdr ('6') || play (60, 0);</COMMAND>
    <KEYVAL>54</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>7 / Play last 30%</DESCRIPTION>
    <COMMAND>vdr ('7') || play (70, 0);</COMMAND>
    <KEYVAL>55</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>8 / Play last 20%</DESCRIPTION>
    <COMMAND>vdr ('8') || play (80, 0);</COMMAND>
    <KEYVAL>56</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>9 / Play last 10%</DESCRIPTION>
    <COMMAND>vdr ('9') || play (90, 0);</COMMAND>
    <KEYVAL>57</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>0 / Play from start</DESCRIPTION>
    <COMMAND>vdr ('0') || play (0, 0);</COMMAND>
    <KEYVAL>48</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Red</DESCRIPTION>
    <COMMAND>vdr ('RED');</COMMAND>
    <KEYVAL>114</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Green</DESCRIPTION>
    <COMMAND>vdr ('GREEN');</COMMAND>
    <KEYVAL>103</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Yellow</DESCRIPTION>
    <COMMAND>vdr ('YELLOW');</COMMAND>
    <KEYVAL>121</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Blue</DESCRIPTION>
    <COMMAND>vdr ('BLUE');</COMMAND>
    <KEYVAL>98</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Record</DESCRIPTION>
    <COMMAND>vdr ('RECORD');</COMMAND>
    <KEYVAL>114</KEYVAL>
    <STATE>4</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Back</DESCRIPTION>
    <COMMAND>vdr ('BACK');</COMMAND>
    <KEYVAL>65288</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Playlist next</DESCRIPTION>
    <COMMAND>playlist_play (playlist_get_item()+1);</COMMAND>
    <KEYVAL>65366</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Playlist previous</DESCRIPTION>
    <COMMAND>playlist_play (playlist_get_item()-1);</COMMAND>
    <KEYVAL>65365</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Zoom in</DESCRIPTION>
    <COMMAND>vo_zoom.v += 5;</COMMAND>
    <KEYVAL>122</KEYVAL>
    <STATE>1</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Zoom out</DESCRIPTION>
    <COMMAND>vo_zoom.v -= 5;</COMMAND>
    <KEYVAL>122</KEYVAL>
    <STATE>0</STATE>
  </KEYBINDING>
  <KEYBINDING>
    <DESCRIPTION>Zoom 100%</DESCRIPTION>
    <COMMAND>vo_zoom.v = 100;</COMMAND>
    <KEYVAL>122</KEYVAL>
    <STATE>4</STATE>
  </KEYBINDING>
</GXINEKB>
