File: example.lircrc

package info (click to toggle)
tvtime 1.0.2-10
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 7,464 kB
  • sloc: ansic: 30,160; sh: 9,612; makefile: 624; pascal: 504; yacc: 316; asm: 249; perl: 192; cpp: 164
file content (148 lines) | stat: -rw-r--r-- 2,903 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148

# This is an example config file for your LIRC remote.  All buttons
# depend on what you have configured in your lircd.conf file.  Please
# refer to this and adjust the labels below accordingly.
#
# tvtime is controlled through a separate program called tvtime-command.
# For a list of commands, see 'man tvtime-command'.  Key events can
# be 'faked' using the command KEY_EVENT, which allows for mapping a
# single remote control button to both a menu mode command and a normal
# mode command.
#
# begin
#    prog = irexec
#    button = DISPLAY
#    config = tvtime-command DISPLAY_INFO
# end


# This section includes two configs, what this does is that it allows
# you to open tvtime and close tvtime with one button.  If your remote
# has seperate buttons for this, then you can break it apart.
begin
    prog = irexec
    button = POWER
    config = tvtime &
    config = tvtime-command QUIT
end


# The following defines most of the common buttons found on a remote and
# what commads they would map to inside tvtime.
begin
    prog = irexec
    button = source
    config = tvtime-command TOGGLE_INPUT
end
begin
    prog = irexec
    button = DISPLAY
    config = tvtime-command DISPLAY_INFO
    repeat = 1
end
begin
    prog = irexec
    button = FULLSCREEN
    config = tvtime-command TOGGLE_FULLSCREEN
end
begin
    prog = irexec
    button = CC
    config = tvtime-command TOGGLE_CC
end

begin
    prog = irexec
    button = MUTE
    config = tvtime-command TOGGLE_MUTE
end

# Menu navigation.
begin
    prog = irexec
    button = CH+
    config = tvtime-command UP
    repeat = 1
end
begin
    prog = irexec
    button = CH-
    config = tvtime-command DOWN
    repeat = 1
end
begin
    prog = irexec
    button = VOL_UP
    config = tvtime-command RIGHT
    repeat = 2
end
begin
    prog = irexec
    button = VOL_DOWN
    config = tvtime-command LEFT
    repeat = 2
end

begin
    prog = irexec
    button = RECALL
    config = tvtime-command CHANNEL_JUMP
    repeat = 1
end

begin
    prog   = irexec
    button = 1
    config = tvtime-command CHANNEL_1
end
begin
    prog   = irexec
    button = 2
    config = tvtime-command CHANNEL_2
end
begin
    prog   = irexec
    button = 3
    config = tvtime-command CHANNEL_3
end
begin
    prog   = irexec
    button = 4
    config = tvtime-command CHANNEL_4
end
begin
    prog   = irexec
    button = 5
    config = tvtime-command CHANNEL_5
end
begin
    prog   = irexec
    button = 6
    config = tvtime-command CHANNEL_6
end
begin
    prog   = irexec
    button = 7
    config = tvtime-command CHANNEL_7
end
begin
    prog   = irexec
    button = 8
    config = tvtime-command CHANNEL_8
end
begin
    prog   = irexec
    button = 9
    config = tvtime-command CHANNEL_9
end
begin
    prog   = irexec
    button = 0
    config = tvtime-command CHANNEL_0
end
begin
    prog = irexec
    button = ENTER
    config = tvtime-command ENTER
end