aboutsummaryrefslogtreecommitdiffstats
path: root/docs/example.lircrc
blob: f231e1e6a28ebfa7a6b93f68eba91df83bb8313f (plain)
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
# 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 = VOL_UP
    config = tvtime-command MIXER_UP
    repeat = 2
end
begin
    prog = irexec
    button = VOL_DOWN
    config = tvtime-command MIXER_DOWN
    repeat = 2
end
begin
    prog = irexec
    button = MUTE
    config = tvtime-command TOGGLE_MUTE
end

begin
    prog = irexec
    button = CH+
    config = tvtime-command KEY_EVENT up
    repeat = 1
end
begin
    prog = irexec
    button = CH-
    config = tvtime-command KEY_EVENT down
    repeat = 1
end
begin
    prog = irexec
    button = RECALL
    config = tvtime-command KEY_EVENT backspace
    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 KEY_EVENT enter
end

Privacy Policy