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 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
|
begin
flags = startup_mode
mode = TV-off
end
begin TV-off
begin
button = RESERVED
repeat = 0
prog = irexec
config = if xset q | grep "DPMS is Enabled" > /dev/null ; then xset -dpms; else xset dpms force off; fi
end
begin
prog = kradio
config = eventmap
end
begin
button = TV
repeat = 0
prog = irexec
config = xset -dpms && sleep 1 && tvtime &
end
begin
button = TV
mode = TV-on
flags = quit
end
end TV-off
begin TV-on
# 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 = FULL_SCREEN
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 = 0
end
begin
prog = irexec
button = CH-
config = tvtime-command DOWN
repeat = 0
end
begin
prog = irexec
button = VOL+
config = tvtime-command RIGHT
config = tvtime-command RIGHT
repeat = 1
end
begin
prog = irexec
button = VOL-
config = tvtime-command LEFT
config = tvtime-command LEFT
repeat = 1
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
begin
prog = irexec
button = RESERVED
config = tvtime-command QUIT
end
begin
prog = irexec
button = MINIMIZE
config = tvtime-command QUIT
end
begin
prog = irexec
button = RADIO
config = tvtime-command QUIT
end
begin
prog = irexec
button = TV
config = tvtime-command QUIT
end
begin
button = RESERVED
mode = TV-off
flags = quit
end
begin
button = TV
mode = TV-off
flags = quit
end
begin
button = MINIMIZE
mode = TV-off
flags = quit
end
begin
button = RADIO
mode = TV-off
flags = quit
end
end TV-on
|