From 4a103374957661399cf0a3c039f0756c3edb86cb Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Wed, 9 Mar 2011 21:22:55 -0800
Subject: system-templates:Added support for Jetway Ion top remote.

---
 abs/core/system-templates/PKGBUILD                 |   2 +-
 .../templates/remotes/Jetway/lircd.conf            | 172 ++++++
 .../templates/remotes/Jetway/lircrc                | 649 +++++++++++++++++++++
 .../templates/remotes/Jetway/preview.jpg           | Bin 0 -> 24517 bytes
 .../templates/remotes/receiver_usb.id              |   2 +-
 5 files changed, 823 insertions(+), 2 deletions(-)
 create mode 100644 abs/core/system-templates/templates/remotes/Jetway/lircd.conf
 create mode 100644 abs/core/system-templates/templates/remotes/Jetway/lircrc
 create mode 100644 abs/core/system-templates/templates/remotes/Jetway/preview.jpg

diff --git a/abs/core/system-templates/PKGBUILD b/abs/core/system-templates/PKGBUILD
index 7383068..1b3e3e3 100755
--- a/abs/core/system-templates/PKGBUILD
+++ b/abs/core/system-templates/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=system-templates
 pkgver=2.0
-pkgrel=2
+pkgrel=3
 conflicts=( )
 pkgdesc="Templates used for system configuration"
 depends=()
diff --git a/abs/core/system-templates/templates/remotes/Jetway/lircd.conf b/abs/core/system-templates/templates/remotes/Jetway/lircd.conf
new file mode 100644
index 0000000..9a4b31b
--- /dev/null
+++ b/abs/core/system-templates/templates/remotes/Jetway/lircd.conf
@@ -0,0 +1,172 @@
+#
+# brand:                        HP 
+# model no. of remote control:  TSGH-IR01
+# devices being controlled by this remote: HP Slimline S3100y
+#
+# RC-6 config file
+#
+# source: http://home.hccnet.nl/m.majoor/projects_remote_control.htm
+#         http://home.hccnet.nl/m.majoor/pronto.pdf
+#
+# used by: Philips
+#
+#########
+#
+# Philips Media Center Edition remote control
+# For use with the USB MCE ir receiver
+#
+# Dan Conti  dconti|acm.wwu.edu
+#
+# Updated with codes for MCE 2005 Remote additional buttons
+# *, #, Teletext, Red, Green, Yellow & Blue Buttons
+# Note: TV power button transmits no code until programmed.
+# Updated 12th September 2005
+# Graham Auld - mce|graham.auld.me.uk
+#
+# Radio, Print, RecTV are only available on the HP Media Center remote control
+#
+#
+# Updated with codes for MCE 2007 Remote additional buttons
+# Visualization, Aspect, SlideShow, Eject
+# Note: 
+# Renamed some buttons: DVD->DVDMenu, More->MoreInfo, Star->Asterisk, Hash->Pound
+# Note: 
+# Blue, Yellow, Green, Red, and Teletext buttons do not exist on the HP remote
+
+begin remote
+
+  name        mceusb
+  bits                 16
+  flags  RC6|CONST_LENGTH
+  eps                  30
+  aeps                100
+
+  header       2667   889
+  one           444   444
+  zero          444   444
+  pre_data_bits        21
+  pre_data        0x37FF0
+  gap              105000
+  toggle_bit           22
+  rc6_mask    0x100000000
+
+
+      begin codes
+
+#unused by HP remote
+	Blue	      0x00007ba1
+	Yellow	      0x00007ba2
+	Green	      0x00007ba3
+	Red	      0x00007ba4
+	Teletext      0x00007ba5
+
+#ba6 - bae unused 
+        BA6           0x00007ba6
+        BA7           0x00007ba7
+        BA8           0x00007ba8
+        BA9           0x00007ba9
+        BAA           0x00007baa
+        BAB           0x00007bab
+        BAC           0x00007bac
+        BAD           0x00007bad
+        BAE           0x00007bae
+
+        Radio         0x00007baf
+        Print         0x00007bb1
+
+#bb2 - bb4 unused  
+        BB2           0x00007bb2
+        BB3           0x00007bb3
+        BB4           0x00007bb4
+
+        Videos        0x00007bb5
+        Pictures      0x00007bb6
+        RecTV         0x00007bb7
+        Music         0x00007bb8
+        TV            0x00007bb9
+
+#bba - bbf unused 
+        BBA           0x00007bba
+        BBB           0x00007bbb
+        BBC           0x00007bbc
+        BBD           0x00007bbd
+        BBE           0x00007bbe
+        BBF           0x00007bbf
+#bc1 - bca unused 
+        BC1           0x00007bc1
+        BC2           0x00007bc2
+        BC3           0x00007bc3
+        BC4           0x00007bc4
+        BC5           0x00007bc5
+        BC6           0x00007bc6
+        BC7           0x00007bc7
+        BC8           0x00007bc8
+        BC9           0x00007bc9
+        BCA           0x00007bca
+
+        Eject         0x00007bcb
+        SlideShow     0x00007bcc
+        Visualization 0x00007bcd
+
+#bce - bcf unused 
+        BCE           0x00007bce
+        BCF           0x00007bcf
+#bd1 - bd7 unused 
+        BD1           0x00007bd1
+        BD2           0x00007bd2
+        BD3           0x00007bd3
+        BD4           0x00007bd4
+        BD5           0x00007bd5
+        BD6           0x00007bd6
+        BD7           0x00007bd7
+
+        Aspect        0x00007bd8
+        Guide         0x00007bd9
+        LiveTV        0x00007bda
+        DVD           0x00007bdb
+#NoGap
+        Back          0x00007bdc
+        OK            0x00007bdd
+        Right         0x00007bde
+        Left          0x00007bdf
+        Down          0x00007be0
+        Up            0x00007be1
+#NoGap
+        Star          0x00007be2
+        Hash          0x00007be3
+#NoGap
+        Replay        0x00007be4
+        Skip          0x00007be5
+        Stop          0x00007be6
+        Pause         0x00007be7
+        Record        0x00007be8
+        Play          0x00007be9
+        Rewind        0x00007bea
+        Forward       0x00007beb
+#NoGap
+        ChanDown      0x00007bec
+        ChanUp        0x00007bed
+        VolDown       0x00007bee
+        VolUp         0x00007bef
+#NoGap
+        More          0x00007bf0
+        Mute          0x00007bf1
+        Home          0x00007bf2
+        Power         0x00007bf3
+#NoGap
+        Enter         0x00007bf4
+        Clear         0x00007bf5
+#NoGap
+        Nine          0x00007bf6
+        Eight         0x00007bf7
+        Seven         0x00007bf8
+        Six           0x00007bf9
+        Five          0x00007bfa
+        Four          0x00007bfb
+        Three         0x00007bfc
+        Two           0x00007bfd
+        One           0x00007bfe
+        Zero          0x00007bff
+      end codes
+
+end remote
\ No newline at end of file
diff --git a/abs/core/system-templates/templates/remotes/Jetway/lircrc b/abs/core/system-templates/templates/remotes/Jetway/lircrc
new file mode 100644
index 0000000..b96f907
--- /dev/null
+++ b/abs/core/system-templates/templates/remotes/Jetway/lircrc
@@ -0,0 +1,649 @@
+begin
+    remote = mceusb
+    prog = mythtv
+    button = RecTV
+    config = R
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Guide
+    config = S
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Back
+    config = Escape
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = OK
+    config = Return
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Right
+    config = Right
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Left
+    config = Left
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Down
+    config = Down
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Up
+    config = Up
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Hash
+    config = D
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Replay
+    config = Q
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Skip
+    config = Z
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Stop
+    config = Escape
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Pause
+    config = P
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Record
+    config = R
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Play
+    config = P
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Rewind
+    config = <
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Forward
+    config = >
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = ChanDown
+    config = Down
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = ChanUp
+    config = Up
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = VolDown
+    config = [
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = VolUp
+    config = ]
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = More
+    config = I
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Mute
+    config = |
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Home
+    config = M
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Enter
+    config = Return
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Nine
+    config = 9
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Eight
+    config = 8
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Seven
+    config = 7
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Six
+    config = 6
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Five
+    config = 5
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Four
+    config = 4
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Three
+    config = 3
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Two
+    config = 2
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = One
+    config = 1
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mythtv
+    button = Zero
+    config = 0
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = OK
+    config = pause
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Right
+    config = seek +6 0
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Left
+    config = seek -6 0
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Down
+    config = seek -60 0
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Up
+    config = seek +60 0
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Replay
+    config = seek -15 0
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Skip
+    config = seek +15 0
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Stop
+    config = quit
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Pause
+    config = pause
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Play
+    config = pause
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Rewind
+    config = seek -30 0
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Forward
+    config = seek +30 0
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = VolDown
+    config = volume -1
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = VolUp
+    config = volume +1
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Mute
+    config = mute
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Home
+    config = vo_fullscreen
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Power
+    config = quit
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = mplayer
+    button = Enter
+    config = pause
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = DVD
+    config = RootMenu
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = OK
+    config = EventSelect
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Right
+    config = EventRight
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Left
+    config = EventLeft
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Down
+    config = EventDown
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Up
+    config = EventUp
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Replay
+    config = EvenPrior
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Skip
+    config = EventNext
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Stop
+    config = Quit
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Pause
+    config = Pause
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Play
+    config = Play
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Rewind
+    config = SeekRelative-15
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Forward
+    config = SeekRelative+15
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = VolDown
+    config = Volume-
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = VolUp
+    config = Volume+
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = More
+    config = OSDStreamInfos
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Mute
+    config = Mute
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Home
+    config = Menu
+    repeat = 0
+    delay = 0
+end
+
+begin
+    remote = mceusb
+    prog = xine
+    button = Enter
+    config = EventSelect
+    repeat = 0
+    delay = 0
+end
+
+
diff --git a/abs/core/system-templates/templates/remotes/Jetway/preview.jpg b/abs/core/system-templates/templates/remotes/Jetway/preview.jpg
new file mode 100644
index 0000000..38f8740
Binary files /dev/null and b/abs/core/system-templates/templates/remotes/Jetway/preview.jpg differ
diff --git a/abs/core/system-templates/templates/remotes/receiver_usb.id b/abs/core/system-templates/templates/remotes/receiver_usb.id
index f76442a..02b7ee3 100644
--- a/abs/core/system-templates/templates/remotes/receiver_usb.id
+++ b/abs/core/system-templates/templates/remotes/receiver_usb.id
@@ -32,4 +32,4 @@
 1784:0007|mceusb|  "Topseed HP eHome Infrared Transceiver 1784/0007"
 1784:0008|mceusb|  "Topseed eHome Infrared Transceiver 1784/0008"
 045e:006d|mceusb-old|  "USB Microsoft IR Transceiver Driver 045e/006d"
-
+0019:00b4|Jetway|  "Nuvoton w836x7hg Infrared Remote Transceiver"
-- 
cgit v0.12