From 338facd2f16924a986dc272cc2496e40e7ce0e0a Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 17 Apr 2015 13:40:47 +0000 Subject: system-templates: streamzap: add Lircmap.xml. closes #994 --- abs/core/system-templates/PKGBUILD | 2 +- .../remotes/favorites/streamzap/Lircmap.xml | 351 +++++++++++++++++++++ .../favorites/streamzap/lircd.conf.streamzap | 8 +- .../templates/remotes/favorites/streamzap/lircrc | 28 +- 4 files changed, 370 insertions(+), 19 deletions(-) create mode 100644 abs/core/system-templates/templates/remotes/favorites/streamzap/Lircmap.xml diff --git a/abs/core/system-templates/PKGBUILD b/abs/core/system-templates/PKGBUILD index 26e2013..7ee11fc 100755 --- a/abs/core/system-templates/PKGBUILD +++ b/abs/core/system-templates/PKGBUILD @@ -1,6 +1,6 @@ pkgname=system-templates pkgver=8.3 -pkgrel=8 +pkgrel=9 conflicts=( ) pkgdesc="Templates used for system configuration" depends=() diff --git a/abs/core/system-templates/templates/remotes/favorites/streamzap/Lircmap.xml b/abs/core/system-templates/templates/remotes/favorites/streamzap/Lircmap.xml new file mode 100644 index 0000000..ed0a2b2 --- /dev/null +++ b/abs/core/system-templates/templates/remotes/favorites/streamzap/Lircmap.xml @@ -0,0 +1,351 @@ + + + + + LinHES - Lircmap.xml + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + +
+ +

Lircmap.xml

+ +
+

+ mattbatt, 04/16/2015 08:18 pm

+

Download (1.9 kB)

+ +
+  +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
1
<!-- ~/.kodi/userdata/Lircmap.xml                                                 -->
+
2
<!--                                                                              -->
+
3
<!-- This file maps XBMC_buttons to LIRC_buttons                                  -->
+
4
<!-- and is works with a custom ~/.kodi/userdata/remote.xml which maps            -->
+
5
<!-- XBMC_buttons to actions                                                      -->
+
6
<!--                                                                              -->
+
7
<!-- How to add remotes                                                           -->
+
8
<!-- <remote device="name_Lirc_calls_the_remote">                                 -->
+
9
<!--                                                                              -->
+
10
<!-- For the commands the layout following layout is used                         -->
+
11
<!-- <XBMC_button>LIRC_button</XBMC_button>                                       -->
+
12
+
13
<lircmap>
+
14
  <remote device="Streamzap_PC_Remote">
+
15
    <power>POWER</power>
+
16
    <play>PLAY</play>
+
17
    <pause>PAUSE</pause>
+
18
    <stop>STOP</stop>
+
19
    <forward>FOWARD</forward>
+
20
    <reverse>REWIND</reverse>
+
21
    <left>LEFT</left>
+
22
    <right>RIGHT</right>
+
23
    <up>UP</up>
+
24
    <down>DOWN</down>
+
25
    <pageplus>CHANNELUP</pageplus>
+
26
    <pageminus>CHANNELDOWN</pageminus>
+
27
    <select>OK</select>
+
28
    <back>EXIT</back>
+
29
    <menu>MENU</menu>
+
30
    <title>RED</title>
+
31
    <info>GREEN</info>
+
32
    <display>YELLOW</display>
+
33
    <blue>BLUE</blue>
+
34
    <skipplus>NEXT</skipplus>
+
35
    <skipminus>PREVIOUS</skipminus>
+
36
    <record>RECORD</record>
+
37
    <volumeplus>VOLUMEUP</volumeplus>
+
38
    <volumeminus>VOLUMEDOWN</volumeminus>
+
39
    <mute>MUTE</mute>
+
40
    <record>RECORD</record>
+
41
    <one>1</one>
+
42
    <two>2</two>
+
43
    <three>3</three>
+
44
    <four>4</four>
+
45
    <five>5</five>
+
46
    <six>6</six>
+
47
    <seven>7</seven>
+
48
    <eight>8</eight>
+
49
    <nine>9</nine>
+
50
    <zero>0</zero>
+
51
  </remote>
+
52
</lircmap>
+
+
+ + + + + + +
+
+
+ + + + +
+
+ + + diff --git a/abs/core/system-templates/templates/remotes/favorites/streamzap/lircd.conf.streamzap b/abs/core/system-templates/templates/remotes/favorites/streamzap/lircd.conf.streamzap index 36b52fa..c2a88da 100644 --- a/abs/core/system-templates/templates/remotes/favorites/streamzap/lircd.conf.streamzap +++ b/abs/core/system-templates/templates/remotes/favorites/streamzap/lircd.conf.streamzap @@ -53,11 +53,11 @@ begin remote PLAY 0x17 PAUSE 0x18 STOP 0x19 - |<< 0x1A - >>| 0x1B + PREVIOUS 0x1A + NEXT 0x1B RECORD 0x1C - << 0x1D - >> 0x1E + REWIND 0x1D + FOWARD 0x1E RED 0x20 GREEN 0x21 YELLOW 0x22 diff --git a/abs/core/system-templates/templates/remotes/favorites/streamzap/lircrc b/abs/core/system-templates/templates/remotes/favorites/streamzap/lircrc index 5e668b5..089c5d7 100644 --- a/abs/core/system-templates/templates/remotes/favorites/streamzap/lircrc +++ b/abs/core/system-templates/templates/remotes/favorites/streamzap/lircrc @@ -278,14 +278,14 @@ end begin prog = mythtv # skip backward -button = |<< +button = PREVIOUS config = PgUp end begin prog = mythtv # skip forward -button = >>| +button = NEXT config = PgDown end @@ -298,14 +298,14 @@ end begin prog = mythtv # rewind -button = << +button = REWIND config = Home end begin prog = mythtv # fast forward -button = >> +button = FOWARD config = End end @@ -418,28 +418,28 @@ end begin prog = mplayer # skip backward -button = |<< +button = PREVIOUS config = seek -600 end begin prog = mplayer # skip forward -button = >>| +button = NEXT config = seek +600 end begin prog = mplayer # slow forward -button = << +button = REWIND config = speed_mult 0.5 end begin prog = mplayer # fast forward -button = >> +button = FOWARD config = speed_mult 2.0 end @@ -507,14 +507,14 @@ end begin prog = xine -button = << +button = REWIND repeat = 4 config = SeekRelative-30 end begin prog = xine -button = >> +button = FOWARD repeat = 4 #config = SeekRelative+30 config = SpeedFaster @@ -719,25 +719,25 @@ begin xmms begin prog = xmms - button = >>| + button = NEXT config = NEXT end begin prog = xmms - button = |<< + button = PREVIOUS config = PREV end begin prog = xmms - button = << + button = FOWARD config = FWD 10 repeat = 2 end begin prog = xmms - button = << + button = REWIND config = BWD 10 repeat = 2 end -- cgit v0.12