From d5b30b14e06db375bcf5069f23f47213a65adeed Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Fri, 31 Jul 2009 12:59:25 +0930
Subject: system-templates: updates for mceusb remote

---
 abs/core-testing/system-templates/PKGBUILD         |   2 +-
 .../templates/remotes/mceusb/lircd.conf.mceusb     | 203 +++--
 .../templates/remotes/mceusb/lircrc-mceusb         | 922 ++++++++++++++++-----
 3 files changed, 835 insertions(+), 292 deletions(-)

diff --git a/abs/core-testing/system-templates/PKGBUILD b/abs/core-testing/system-templates/PKGBUILD
index c9b0265..c93b210 100755
--- a/abs/core-testing/system-templates/PKGBUILD
+++ b/abs/core-testing/system-templates/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=system-templates
 pkgver=1.0
-pkgrel=32
+pkgrel=33
 conflicts=( )
 pkgdesc="Templates used for system configuration"
 depends=()
diff --git a/abs/core-testing/system-templates/templates/remotes/mceusb/lircd.conf.mceusb b/abs/core-testing/system-templates/templates/remotes/mceusb/lircd.conf.mceusb
index 041c2cb..b1c26b6 100644
--- a/abs/core-testing/system-templates/templates/remotes/mceusb/lircd.conf.mceusb
+++ b/abs/core-testing/system-templates/templates/remotes/mceusb/lircd.conf.mceusb
@@ -24,81 +24,140 @@
 
 begin remote
 
-  name mceusb
-  bits           16
-  flags RC6|CONST_LENGTH
-  eps            30
-  aeps          100
+  name 		mceusb
+  bits        	16
+  flags 	RC6|CONST_LENGTH
+  eps         	30
+  aeps     	100
 
-  header       2667   889
-  one           444   444
-  zero          444   444
+  header       	2667   	889
+  one           444   	444
+  zero          444   	444
   pre_data_bits 21
   pre_data      0x37FF0
-  gap          105000
-  toggle_bit     22
-  rc6_mask     0x100000000
+  gap          	105000
+  toggle_bit    22
+  rc6_mask    	0x100000000
 
-
-      begin codes
-
-	Blue	0x00007ba1
-	Yellow	0x00007ba2
-	Green	0x00007ba3
-	Red	0x00007ba4
+  begin codes
+#-------------------------------------------------------------b9
+	Testb90		0x00007b90
+	Testb91		0x00007b91
+	Testb92		0x00007b92
+	Testb93		0x00007b93
+	Testb94		0x00007b94
+	Testb95		0x00007b95
+	Testb96		0x00007b96
+	Testb97		0x00007b97
+	Testb98		0x00007b98
+	Testb99		0x00007b99
+	TV?????		0x00007b9a
+	Messenger	0x00007b9b
+	Testb9c		0x00007b9c
+	Testb9d		0x00007b9d
+	Testb9e		0x00007b9e
+	Testb9f		0x00007b9f
+#-------------------------------------------------------------ba
+	Testba0 	0x00007ba0
+	Blue		0x00007ba1
+	Yellow		0x00007ba2
+	Green		0x00007ba3
+	Red		0x00007ba4
 	Teletext	0x00007ba5
-
-# starts at af
-        Radio    0x00007baf
-        Print    0x00007bb1
-        Videos   0x00007bb5
-        Pictures 0x00007bb6
-        RecTV    0x00007bb7
-        Music    0x00007bb8
-        TV       0x00007bb9
-# no ba - d8
-
-        Guide    0x00007bd9
-        LiveTV   0x00007bda
-        DVD      0x00007bdb
-        Back     0x00007bdc
-        OK       0x00007bdd
-        Right    0x00007bde
-        Left     0x00007bdf
-        Down     0x00007be0
-        Up       0x00007be1
-
-        Star       0x00007be2
-        Hash       0x00007be3
-
-        Replay   0x00007be4
-        Skip     0x00007be5
-        Stop     0x00007be6
-        Pause    0x00007be7
-        Record   0x00007be8
-        Play     0x00007be9
-        Rewind   0x00007bea
-        Forward  0x00007beb
-        ChanDown 0x00007bec
-        ChanUp   0x00007bed
-        VolDown  0x00007bee
-        VolUp    0x00007bef
-        More     0x00007bf0
-        Mute     0x00007bf1
-        Home     0x00007bf2
-        Power    0x00007bf3
-        Enter    0x00007bf4
-        Clear    0x00007bf5
-        Nine     0x00007bf6
-        Eight    0x00007bf7
-        Seven    0x00007bf8
-        Six      0x00007bf9
-        Five     0x00007bfa
-        Four     0x00007bfb
-        Three    0x00007bfc
-        Two      0x00007bfd
-        One      0x00007bfe
-        Zero     0x00007bff
-      end codes
-
+	Testba6 	0x00007ba6
+	Testba7 	0x00007ba7
+	Testba8 	0x00007ba8
+	Testba9 	0x00007ba9
+	Testbaa 	0x00007baa
+	Testbab 	0x00007bab
+	Testbac 	0x00007bac
+	Testbad 	0x00007bad
+	Testbae 	0x00007bae
+        Radio    	0x00007baf
+#-------------------------------------------------------------bb
+	Testbb0 	0x00007bb0
+	Print           0x00007bb1
+	Testbb2 	0x00007bb2
+	Testbb3 	0x00007bb3
+	Testbb4 	0x00007bb4
+	Videos		0x00007bb5
+	Pictures 	0x00007bb6
+	RecordedTV      0x00007bb7
+	Music 		0x00007bb8
+	TV            	0x00007bb9
+	Testbba 	0x00007bba
+	Testbbb 	0x00007bbb
+	Testbbc 	0x00007bbc
+	Testbbd 	0x00007bbd
+	Testbbe 	0x00007bbe
+	Testbbf 	0x00007bbf
+#-------------------------------------------------------------- bc
+        Testbc0     	0x00007bc0
+	Testbc1     	0x00007bc1
+        Testbc2     	0x00007bc2
+        Testbc3     	0x00007bc3
+        Testbc4     	0x00007bc4
+       	Testbc5     	0x00007bc5
+       	Testbc6     	0x00007bc6
+       	Testbc7     	0x00007bc7
+       	Testbc8     	0x00007bc8
+       	Testbc9     	0x00007bc9
+        Testbca     	0x00007bca
+        Testbcb     	0x00007bcb
+        Testbcc     	0x00007bcc
+        Testbcd     	0x00007bcd
+        Testbce     	0x00007bce
+       	Testbcf     	0x00007bcf
+#---------------------------------------------------------------bd
+       	Testbd0 	0x00007bd0
+       	Testbd1 	0x00007bd1
+       	Testbd2 	0x00007bd2
+       	Testbd3 	0x00007bd3
+       	Testbd4 	0x00007bd4
+       	Testbd5 	0x00007bd5
+       	Testbd6 	0x00007bd6
+       	Testbd7 	0x00007bd7
+       	Testbd8 	0x00007bd8
+       	Guide           0x00007bd9
+       	LiveTV          0x00007bda
+       	DVDMenu 	0x00007bdb
+       	Back            0x00007bdc
+       	OK              0x00007bdd
+       	Right           0x00007bde
+       	Left            0x00007bdf
+#--------------------------------------------------------------be
+       	Down            0x00007be0
+       	Up              0x00007be1
+       	Star            0x00007be2
+       	Hash            0x00007be3
+       	Replay          0x00007be4
+       	Skip            0x00007be5
+       	Stop            0x00007be6
+       	Pause           0x00007be7
+       	Record          0x00007be8
+       	Play            0x00007be9
+       	Rewind          0x00007bea
+       	Forward 	0x00007beb
+       	ChannelDown     0x00007bec
+       	ChannelUp       0x00007bed
+       	VolumeDown      0x00007bee
+       	VolumeUp        0x00007bef
+#---------------------------------------------------------------bf
+       	More            0x00007bf0
+       	Mute            0x00007bf1
+       	Start           0x00007bf2
+       	Power           0x00007bf3
+       	Enter           0x00007bf4
+       	Clear           0x00007bf5
+       	Nine            0x00007bf6
+       	Eight           0x00007bf7
+       	Seven           0x00007bf8
+       	Six             0x00007bf9
+       	Five            0x00007bfa
+       	Four            0x00007bfb
+       	Three           0x00007bfc
+       	Two             0x00007bfd
+       	One             0x00007bfe
+       	Zero            0x00007bff
+  end codes
 end remote
diff --git a/abs/core-testing/system-templates/templates/remotes/mceusb/lircrc-mceusb b/abs/core-testing/system-templates/templates/remotes/mceusb/lircrc-mceusb
index 3738bfa..a6a8c48 100644
--- a/abs/core-testing/system-templates/templates/remotes/mceusb/lircrc-mceusb
+++ b/abs/core-testing/system-templates/templates/remotes/mceusb/lircrc-mceusb
@@ -1,393 +1,877 @@
-# lircrc.mceusb
-
-###################
+# /home/mythtv/.mythtv/lircrc
+#
+# From Knoppmyth R5.5 - Copied by UniCav
 #
-#  MythTV
+# Media Center Edition Remote Control and 
+# Remote Control Keys on Media Center Keyboard
 #
-###################
+##############################################################################
+# For use with the USB MCE ir receiver
+# MythTV LIRC config file for the mceusb2 or lirc_mod_mce module
+
+# Info about lircrc statment
+#begin
+#  prog    = ... Program controlled, irxevent, irexec, mythtv, mplayer, 
+#                xine, or others
+#  remote  = ... mceusb, or what ever you happen to have or want to call it
+#  button  = ... remote keys names from your lircd.conf file
+#  repeat  = ... repeat = 2 is fast, repeat = 4 is slower
+#  delay   = ... delay before repeat, 1 is short, 4 is longer
+#  config  = ... output key presses to key bindings editor
+#  mode    = ...
+#  flags   = ...
+#end
+
+# Test your new Lirc settings
+#   /etc/init.d/lirc restart    To restart Lirc
+#   ctrl-alt-backspace          To restart the frontend
+
+# Updated January 30th 2008 BAK
+# for the Knoppmyth project
+
+################################### irexec ###################################
+# the lirc irexec program must be running for this section
+
+# Will perform a complete shutdown
+#begin
+#       prog   = irexec
+#       button = Power
+#       config = /usr/bin/sudo halt
+#end
+
+############################### Mythtv Section ###############################
+# MythTV Key Binding Editor     location
+# Mythtv Menu >>Utilities / Setup >>Edit Keys
+# Key Bindings can also be found in Myth Web
+
+# Record
+begin
+  prog   = mythtv
+  button = Record
+  config = R
+end
+
+# Stop
 begin
-    prog = mythtv
-    button = One
-    config = 1  
+  prog   = mythtv
+  button = Stop
+  config = Esc
 end
 
+# Pause
 begin
-    prog = mythtv
-    button = Two
-    config = 2  
+  prog   = mythtv
+  button = Pause
+  config = P
 end
 
+# Rewind (while viewing)
 begin
-    prog = mythtv
-    button = Three
-    config = 3  
+  prog   = mythtv
+  button = Rewind
+  repeat = 0
+  delay  = 1
+  config = <
 end
 
+# Fast forward (while viewing)
 begin
-    prog = mythtv
-    button = Four
-    config = 4  
+  prog   = mythtv
+  button = Forward
+  repeat = 0
+  delay  = 1
+  config = >
 end
 
+# Play
 begin
-    prog = mythtv
-    button = Five
-    config = 5  
+  prog   = mythtv
+  button = Play
+  config = L
 end
 
+# Skip backward (1 min default)
 begin
-    prog = mythtv
-    button = Six
-    config = 6  
+  prog   = mythtv
+  button = Replay
+  repeat = 4
+  delay  = 4
+  config = PgUp
 end
 
+# Skip forward (1 min default)
 begin
-    prog = mythtv
-    button = Seven
-    config = 7  
+  prog   = mythtv
+  button = Skip
+  repeat = 4
+  delay  = 4
+  config = PgDown
 end
 
+#<><><><><><><><><><><> Mythtv Control <><><><>
+
+# Escape/Exit/Back
 begin
-    prog = mythtv
-    button = Eight
-    config = 8  
+  prog   = mythtv
+  button = Back
+  config = Esc
 end
 
+# Bring up OSD info
 begin
-    prog = mythtv
-    button = Nine
-    config = 9  
+  prog   = mythtv
+  button = More
+  config = I
 end
 
 begin
-    prog = mythtv
-    button = Zero
-    config = 0  
+  prog   = mythtv
+  button = Left
+  repeat = 2
+  delay  = 4
+  config = Left
 end
 
 begin
-    prog = mythtv
-    button = Back
-    config = Esc
+  prog   = mythtv
+  button = Right
+  repeat = 2
+  delay  = 4
+  config = Right
 end
 
 begin
-    prog = mythtv
-    button = Guide
-    config = M  
+  prog   = mythtv
+  button = Up
+  repeat = 2
+  delay  = 4
+  config = Up
 end
 
 begin
-   prog = mythtv
-   button = More
-   config = I  
+  prog   = mythtv
+  button = Down
+  repeat = 2
+  delay  = 4
+  config = Down
 end
 
+# OK/Select
 begin
-  prog = mythtv
-  button = VolDown
-  config = F10  
+  prog   = mythtv
+  button = OK
+  config = Return
 end
 
+# The Start Button is really just a Menu key
 begin
-  prog = mythtv
-  button = VolUp
-  config = F11  
+  prog   = mythtv
+  button = Start
+  config = M
+end
+
+#<><><><><><><><><><><><><><><>
+
+# Volume-Up
+begin
+  prog   = mythtv
+  button = VolumeUp
+  repeat = 1
+  config = ]
+end
+
+# Volume-Down
+begin
+  prog   = mythtv
+  button = VolumeDown
+  repeat = 1
+  config = [
+end
+
+# Mute
+begin
+  prog   = mythtv
+  button = Mute
+  config = |
+end
+
+# Channel Up
+begin
+  prog   = mythtv
+  button = ChannelUp
+  repeat = 3
+# delay  = 1
+  config = Up
+end
+
+# Channel Down
+begin
+  prog   = mythtv
+  button = ChannelDown
+  config = Down
+  repeat = 3
+# delay  = 1
+end
+
+# Numbers 0-9 <><><><><><><><><><><>
+
+begin
+  prog   = mythtv
+  button = One
+# repeat = 2
+  config = 1
+end
+
+begin
+  prog   = mythtv
+  button = Two
+# repeat = 2
+  config = 2
+end
+
+begin
+  prog   = mythtv
+  button = Three
+# repeat = 2
+  config = 3
+end
+
+begin
+  prog   = mythtv
+  button = Four
+# repeat = 2
+  config = 4
+end
+
+begin
+  prog   = mythtv
+  button = Five
+# repeat = 2
+  config = 5
 end
 
 begin
-    prog = mythtv
-    button = Up
-    config = Up
+  prog   = mythtv
+  button = Six
+# repeat = 2
+  config = 6
 end
 
 begin
-    prog = mythtv
-    button = Down
-    config = Down
+  prog   = mythtv
+  button = Seven
+# repeat = 2
+  config = 7
 end
 
 begin
-    prog = mythtv
-    button = Left
-    config = Left
+  prog   = mythtv
+  button = Eight
+# repeat = 2
+  config = 8
+End
+
+begin
+  prog   = mythtv
+  button = Nine
+# repeat = 2
+  config = 9
 end
 
 begin
-    prog = mythtv
-    button = Right
-    config = Right
+  prog   = mythtv
+  button = Zero
+# repeat = 2
+  config = 0
 end
 
+#<><><><><><><><><><><><><><><><><><><><>
+# Seek to previous commercial cut point
+# or remove all cut points from the Editing Cutlist
 begin
-    prog = mythtv
-    button = Play
-    config = Return
+  prog   = mythtv
+  button = Star
+  config = Q
 end
 
+# Seek to next commercial cut point
+# or add commericial cut points to the Editing Cutlist
 begin
-    prog = mythtv
-    button = OK
-    config = Return
+  prog   = mythtv
+  button = Hash
+  config = Z
 end
 
+# Brings up the delete box
 begin
-    prog = mythtv
-    button = Mute
-    config = |  
+  prog   = mythtv
+  button = Clear
+  repeat = 0
+  config = D
 end
 
+# Toggle Editing Cutlist on or off
 begin
-    prog = mythtv
-    button = Rewind
-    config = Left  
+  prog   = mythtv
+  button = Enter
+  repeat = 0
+  config = E
 end
 
+#<><><><><><><><> Additional Remote Commands <><><><><><><><>
+# All buttons in this section must be configured using
+# MythTV's KeyBindings JumpPoints editor.
+# >>> Utilities/ Setup >>> Edit Keys >>> JumpPoints >>>
+
+# Listen to Myth Music
 begin
-    prog = mythtv
-    button = Forward
-    config = Right  
+  prog   = mythtv
+  button = Music
+  config = Ctrl+Alt+M
 end
 
+# at this time connects to MythStreem
 begin
   prog = mythtv
-  button = Record
-  config = R  
+  button = Radio
+  config = Ctrl+Alt+S
 end
 
+# View Pictures
 begin
-   prog = mythtv
-   button = Stop
-   config = O  
+  prog   = mythtv
+  button = Pictures
+  config = Ctrl+Alt+P
 end
 
+# Watch Videos
 begin
-    prog = mythtv
-    button = Pause
-    config = P  
+  prog   = mythtv
+  button = Videos
+  config = Ctrl+Alt+V
 end
 
-# Use for backwards commercial skip
+# Watch Live TV with Live TV Guide open
 begin
-   prog = mythtv
-   button = Replay
-   config = Q  
+  prog   = mythtv
+  button = TV
+  config = Ctrl+Alt+K
 end
 
-# Use for forward commercial skip
+# Watch Live TV
 begin
-   prog = mythtv
-   button = Skip
-   config = Z  
+  prog   = mythtv
+  button = LiveTV
+  config = Ctrl+Alt+L
 end
 
+# Recorded TV Programs
+begin
+  prog   = mythtv
+  button = RecordedTV
+  config = Ctrl+Alt+R
+end
 
-###################
-#
-#  MPlayer
-#
-###################
+# Program Guide
+begin
+  prog   = mythtv
+  button = Guide
+  config = Ctrl+Alt+G
+end
+
+# Play DVD
+# There must be a disk in the DVD drive or it dos nothing
 begin
-   prog = mplayer
-   button = Stop
-   config = quit
+  prog   = mythtv
+  button = DVDMenu
+  config = Ctrl+Alt+D
 end
 
+# unused key
+#begin
+#  prog   = mythtv
+#  button = Messenger
+#  config = Ctrl+Alt+A
+#end
+
+# <><><><><><><><><><><><><> Teletext Buttons <><><><><><><><><><><>
+
+# Teletext = Show interactive MHEG screens
 begin
-   prog = mplayer
-   button = Play
-   config = seek +1
+  prog   = mythtv
+  button = Teletext
+  config = F7
 end
-		   
+
+# Red = Red button for interactive screens.
 begin
-   prog = mplayer
-   button = More
-   config = osd
+  prog   = mythtv
+  button = Red
+  config = F2
 end
-			      
+
+# Green = Green button for interactive screens.
 begin
-   prog = mplayer
-   button = Replay
-   config = seek -10
-   repeat = 1
+  prog   = mythtv
+  button = Green
+  config = F3
 end
-							     
+
+# Yellow = Yellow button for interactive screens.
 begin
-   prog = mplayer
-   button = Skip
-   config = seek +10
-   repeat = 1
+  prog   = mythtv
+  button = Yellow
+  config = F4
 end
 
+# Blue = Blue button for interactive screens.
 begin
-   prog = mplayer
-   button = Rewind
-   config = seek -30
-   repeat = 1
+  prog   = mythtv
+  button = Blue
+  config = F5
 end
 
+
+######################## MPlayer Section #####################################
+# "mplayer -input keylist" Prints all keys that can be bound to commands.
+# "mplayer -input cmdlist" Prints all commands that can be bound to keys
+# "man mplayer" Prints documentation for MPlayer
+
+# Show OSD
 begin
-   prog = mplayer
-   button = Forward
-   config = seek +30
-   repeat = 1
+  prog   = mplayer
+  button = OK
+  config = osd
 end
 
+# Pause playback
 begin
-    prog = mplayer
-    button = Pause
-    config = pause
+  prog   = mplayer
+  button = Pause
+  config = pause
 end
-								    
+
+# If paused, resume playing
 begin
-   prog = mplayer
-   button = VolUp
-   config = volume +1
-   repeat = 1
+  prog   = mplayer
+  button = Play
+  config = pause
 end
 
+# Stop playback and exit
 begin
-   prog = mplayer
-   button = VolDown
-   config = volume -1
-   repeat = 1
+  prog   = mplayer
+  button = Stop
+  config = quit
 end
 
+# Volume-Up
 begin
-   prog = mplayer
-   button = Mute
-   config = mute
+  prog   = mplayer
+  button = VolumeUp
+  repeat = 2
+  config = volume +1
 end
 
-###################
-#
-#  Xine
+# Volume-Down
+begin
+  prog   = mplayer
+  button = VolumeDown
+  repeat = 2
+  config = volume -1
+end
+
+# Mute
+begin
+  prog   = mplayer
+  button = Mute
+  config = mute
+end
+
+# Seek back 60 seconds
+begin
+  prog   = mplayer
+  button = Left
+  repeat = 2
+  config = seek -60
+end
+
+# Seek forward 60 seconds
+begin
+  prog   = mplayer
+  button = Right
+  repeat = 2
+  config = seek +60
+end
+
+# Seek back 10 seconds
+begin
+  prog   = mplayer
+  button = Rewind
+  repeat = 2
+  config = seek -10
+end
+
+# Seek forward 30 seconds
+begin
+  prog   = mplayer
+  button = Forward
+  repeat = 2
+  config = seek +30
+end
+
+# Quit
+begin
+  prog   = mplayer
+  button = Back
+  config = quit
+end
+
+# Seek forward 10 minutes
+begin
+  prog   = mplayer
+  button = Skip
+  repeat = 2
+  config = seek +600
+end
+
+# Seek backward 10 minutes
+begin
+  prog   = mplayer
+  button = Replay
+  repeat = 2
+  config = seek -600
+end
+
+# increase brightness
+begin
+  prog   = mplayer
+  button = ChannelUp
+  repeat = 2
+  config = brightness +1
+end
+
+# decrease brightness
+begin
+  prog   = mplayer
+  button = ChannelDown
+  repeat = 2
+  config = brightness -1
+end
+
+# Toggle full-screen
+#begin
+#  prog   = mplayer
+#  button = #???????????????????????????
+#  repeat = 2
+#  config = vo_fullscreen
+#end
+
+
+########################## XINE Section ######################################
 #
-###################
-# Xine lirc setup
+# For a compleate list of Xine's Lirc Keybindings use comand
+#        xine --keymap=lirc>.lircrc.xine.keybindings
+# This creates a file in current directory called ".lircrc.xine.keybindings"
+# Note: Xine has diferent sets of keybindings for lirc and keyboard
+
+##  01/14/2008
+# xine key bindings.
+# Automatically generated by xine-ui version 0.99.6cvs.
+
+#<><><><><><><><><><> Xine Video Movement <><><><>
+
+# start playback
+begin
+  prog   = xine
+  button = Play
+  config = Play
+end
+
+# playback pause toggle
+begin
+  prog   = xine
+  button = Pause
+  config = Pause
+end
+
+# stop playback
+begin
+  prog   = xine
+  button = Stop
+  config = Stop
+end
+
+# take a snapshot
+#begin
+#   prog   = xine
+#   button = Record
+#   repeat = 2
+#   config = Snapshot
+#end
+
+begin
+  prog   = xine
+  button = Forward
+  repeat = 2
+# delay  = 1
+  config = SeekRelative+7
+end
+
 begin
-prog = xine
-button = Play
-repeat = 3
-config = Play
+  prog   = xine
+  button = Rewind
+  repeat = 2
+# delay  = 1
+  config = SeekRelative-7
 end
 
+# set position to -60 seconds in current stream
 begin
-prog = xine
-button = Stop
-repeat = 3
-config = Stop
+  prog   = xine
+  button = Replay
+  repeat = 2
+  delay  = 1
+  config = SeekRelative-60
 end
 
+# set position to +60 seconds in current stream
 begin
-prog = xine
-button = Back
-repeat = 3
-config = Quit
+  prog   = xine
+  button = Skip
+  repeat = 2
+  delay  = 1
+  config = SeekRelative+60
 end
+#<><><><><><><><><><><><>Xine Control<><><><><><><><><>
 
+# quit the program
 begin
-prog = xine
-button = Pause
-repeat = 3
-config = Pause
+  prog   = xine
+  button = Back
+  config = Quit
 end
 
+#display stream information using OSD
 begin
-prog = xine
-button = Up
-repeat = 3
-config = EventUp
+  prog   = xine
+  button = More
+  config = OSDStreamInfos
 end
 
+# menu navigate up
 begin
-prog = xine
-button = Down
-repeat = 3
-config = EventDown
+  prog   = xine
+  button = Up
+  repeat = 2
+  delay  = 2
+  config = EventUp
 end
 
+# menu navigate down
 begin
-prog = xine
-button = Left
-repeat = 3
-config = EventLeft
+  prog   = xine
+  button = Down
+  repeat = 2
+  delay  = 2
+  config = EventDown
 end
 
+# menu navigate left
 begin
-prog = xine
-button = Right
-repeat = 3
-config = EventRight
+  prog   = xine
+  button = Left
+  repeat = 2
+  delay  = 2
+  config = EventLeft
 end
 
+# menu navigate right
 begin
-prog = xine
-button = OK
-repeat = 3
-config = EventSelect
+  prog   = xine
+  button = Right
+  repeat = 2
+  delay  = 2
+  config = EventRight
 end
 
+# menu select
 begin
-prog = xine
-button = Home
-repeat = 3
-config = Menu
+  prog   = xine
+  button = OK
+  config = EventSelect
 end
 
+# jump to Root Menu
+begin
+  prog   = xine
+  button = Start
+  config = Menu
+end
+
+#<><><><><><><><><><><><><><><><><><><> Xine Volume / Channel <><><><><><><><>
+
+# increment audio volume
 begin
-prog = xine
-button = Forward
-repeat = 3
-config = SpeedFaster
+  prog   = xine
+  button = VolumeUp
+  repeat = 1
+  config = Volume+
 end
 
+# decrement audio volume
 begin
-prog = xine
-button = Rewind
-repeat = 3
-config = SpeedSlower
+  prog   = xine
+  button = VolumeDown
+  repeat = 1
+  config = Volume-
 end
 
+# audio muting toggle
 begin
-prog = xine
-button = VolUp
-repeat = 3
-config = Volume+
+  prog   = xine
+  button = Mute
+  config = Mute
 end
 
+# increase brightness by 10
 begin
-prog = xine
-button = VolDown
-repeat = 3
-config = Volume-
+  prog   = xine
+  button = ChannelUp
+  config = BrightnessControl+
 end
 
+# decrease brightness by 10
 begin
-prog = xine
-button = Mute
-repeat = 3
-config = Mute
+  prog   = xine
+  button = ChannelDown
+  config = BrightnessControl-
 end
 
+#<><><><><><><><><><><><><><><><><> Xine Menu <><><><>
+
+# unused key
+#begin
+#   prog   = xine
+#   button = RecordedTV
+#   config = ????????
+#end
+
+# visibility toggle of stream info window
 begin
-prog = xine
-button = ChanUp
-repeat = 3
-config = EventNext
+  prog   = xine
+  button = Guide
+  config = SetupShow
 end
 
+# unused key
+#begin
+#  prog   = xine
+#  button = LiveTV
+#  config = ????????
+#end
+
+# jump to Title Menu
 begin
-prog = xine
-button = ChanDown
-repeat = 3
-config = EventPrior
+  prog   = xine
+  button = DVDMenu
+  config = RootMenu
 end
 
+#<><><><><><><><><><><><><><><><><> Xine Stream Position <><><><>
+
+# set position in current stream
+
 begin
-prog = xine
-button = More
-repeat = 3
-config = OSDStreamInfos
-end 
+  prog   = xine
+  button = Zero
+  config = SetPosition0%
+end
+
+begin
+  prog   = xine
+  button = One
+  config = SetPosition10%
+end
+
+begin
+  prog   = xine
+  button = Two
+  config = SetPosition20%
+end
+
+begin
+  prog   = xine
+  button = Three
+  config = SetPosition30%
+end
+
+begin
+  prog   = xine
+  button = Four
+  config = SetPosition40%
+end
+
+begin
+  prog   = xine
+  button = Five
+  config = SetPosition50%
+end
+
+begin
+  prog   = xine
+  button = Six
+  config = SetPosition60%
+end
+
+begin
+  prog   = xine
+  button = Seven
+  config = SetPosition70%
+end
+
+begin
+  prog   = xine
+  button = Eight
+  config = SetPosition80%
+end
+
+begin
+  prog   = xine
+  button = Nine
+  config = SetPosition90%
+end
+
+#<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+
+# decrement playback speed (slow motion slowdown)
+begin
+  prog   = xine
+  button = Star
+  config = SpeedSlower
+end
+
+# increment playback speed (slow motion speedup)
+begin
+  prog   = xine
+  button = Hash
+  config = SpeedFaster
+end
+
+# reset playback speed
+begin
+  prog   = xine
+  button = Clear
+  config = SpeedReset
+end
+
+# set position to -30 seconds in current stream     config = SeekRelative-30
+# set position to +30 seconds in current stream     config = SeekRelative+30
+# eject the current medium                          config = Eject
+# zoom in                                           config = ZoomIn
+# zoom out                                          config = ZoomOut
+# fullscreen toggle                                 config = ToggleFullscreen
 
+##
+# End of xine .
+##
-- 
cgit v0.12

