Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
full_keymap.rb
def lookup key
key = key.to_sym if key.is_a?(String)
case key
when :channel_up, :ch_up
0
when :channel_down, :ch_down
1
when :volume_up, :vol_up
2
when :volume_down, :vol_down
3
when :unknown4
4
when :unknown5
5
when :right
6
when :left
7
when :off, :power_off
8
when :mute
9
when :audio_language
10
when :input
11
when :unknown12
12
when :unknown13
13
when :sleep_timer
14
when :tv_radio
15
when 0
16
when 1
17
when 2
18
when 3
19
when 4
20
when 5
21
when 6
22
when 7
23
when 8
24
when 9
25
when :q_view, :quick_view, :channel_back, :flash_back
26
when :unknown27
27
when :unknown28
28
when :unknown29
29
when :favorites, :fav
30
when :unknown31
31
when :teletext, :text
32
when :t_opt
33
when :unknown34
34
when :status_bar, :top_info_bar, :info_bar
35
when :unknown36
36
when :unknown37
37
when :unknown38
38
when :unknown39
39
when :back, :return
40
when :unknown41
41
when :unknown42
42
when :unknown43
43
when :unknown44
44
when :unknown45
45
when :unknown46
46
when :unknown47
47
when :av_mode
48
when :unknown49
49
when :unknown50
50
when :unknown51
51
when :unknown52
52
when :unknown53
53
when :unknown54
54
when :unknown55
55
when :unknown56
56
when :subtitle, :subtitle_language
57
when :unknown58
58
when :unknown59
59
when :unknown60
60
when :unknown61
61
when :unknown62
62
when :unknown63
63
when :up
64
when :down
65
when :home, :menu
67
when :select, :enter
68
when :qmenu, :quick_menu
69
when :unknown70
70
when :unknown71
71
when :unknown72
72
when :unknown73
73
when :unknown74
74
when :unknown75
75
when :underscore, :dash, :char, :text_input
76
when :picture_mode
77
when :unknown78
78
when :unknown79
79
when :unknown80
80
when :unknown81
81
when :sound_mode
82
when :channel_list
83
when :unknown84
84
when :unknown85, :greyed_out_add_button?
85
when :unknown86
86
when :unknown87
87
when :unknown88
88
when :premium, :netcast
89
when :av1
90
when :exit
91
when :unknown92
92
when :unknown93
93
when :unknown94
94
when :unknown95
95
when :unknown96
96
when :blue
97
when :unknown98
98
when :yellow
99
when :unknown100
100
when :unknown101
101
when :unknown102
102
when :unknown103
103
when :unknown104
104
when :unknown105
105
when :unknown106
106
when :unknown107
107
when :unknown108
108
when :unknown109
109
when :unknown110
110
when :unknown111
111
when :unknown112
112
when :green
113
when :red
114
when :unknown115
115
when :unknown116
116
when :unknown117
117
when :ratio43, :ratio4_3
118
when :ratio169, :ratio16_9
119
when :unknown120
120
when :ratio, :aspect_ratio
121
when :unknown122
122
when :unknown123
123
when :usb, :device_selection, :usb_devices, :usb1_usb2
124
when :unknown125
125
when :simplink
126
when :unknown127
127
when :unknown128
128
when :unknown129
129
when :unknown130
130
when :unknown131
131
when :fast_forward, :skip_forward
142
when :rewind, :skip_backward
143
when :unknown144
144
when :audio_description, :ad
145
when :unknown146
146
when :unknown147
147
when :unknown148
148
when :green_eye_check, :energy_saving, :green_leaf
149
when :quick_input, :input_fast, :component_rgb_hdmi, :external_inputs
152
when :unknown153, :this_function_is_not_available_now?
153
when :unknown154
154
when :unknown155
155
when :unknown156
156
when :unknown157
157
when :live_tv
158
when :unknown159
159
when :unknown160
160
when :unknown161
161
when :unknown162
162
when :unknown163
163
when :self_diagnosis
164
when :self_diagnosis2
165
when :slideshow_usb2
168
when :programme_guide, :guide, :epg
169
when :programme_info, :info
170
when :programme_guide, :guide, :epg
171
when :unknown172
172
when :self_diagnosis3
173
when :unknown174
174
when :cinema_zoom, :zoom_level
175
when :play
176
when :stop
177
when :unknown178
178
when :unknown179
179
when :unknown180
180
when :unknown181
181
when :unknown182
182
when :unknown183
183
when :unknown184
184
when :unknown185
185
when :pause
186
when :unknown187
187
when :self_diagnosis4
188
when :record
189
when :self_diagnosis5
190
when :component, :component_fast
191
when :unknown192
192
when :unknown193
193
when :unknown194
194
when :unknown195
195
when :unknown196
196
when :unknown197
197
when :hdmi, :hdmis, :hdmi_fast, :hdmi_inputs, :cycle_hdmis
198
when :unknown199
199
when :usb, :device_selection, :usb_devices, :usb1_usb2
200
when :unknown201
201
when :unknown202
202
when :unknown203
203
when :hdmi2
204
when :unknown205
205
when :hdmi1
206
# Hotel settings menu, TV Link Loader menu, Set password, Set ID (used in RS232 command mode)
# Clone and restore settings to USB stick (FAT formatted, 128Mb+, recommended method)
# USB backup Saves to a numbered .TLL file. When restoring, you can select from multiple .TLL backups on the same USB stick
# Alternatively, the old style commercial device, called "LG TV Link Loader" (TLL-1100A) is also supported
when :installation_menu, :usb_backup_restore, :hotel_menu, :tv_link_loader, :usb_backup, :usb_restore
207
when :av2
208
when :av3
209
when :unknown210
210
when :unknown211
211
when :status_bar, :top_info_bar, :info_bar
212
when :rgb
213
when :tv_radio
214
when :rgb
215
when :unknown216
216
when :status_bar, :top_info_bar, :info_bar
217
when :hdmi4
218
when :unknown219
219
when :_3d_mode, :_3d
220
when :unknown221
221
when :unknown222
222
when :unknown223
223
when :unknown224
224
when :unknown225
225
when :unknown226
226
when :unknown227
227
when :unknown228
228
when :unknown229
229
when :unknown230
230
when :unknown231
231
when :unknown232
232
when :hdmi3
233
when :unknown234
234
when :unknown235
235
when :unknown236
236
when :unknown237
237
when :slideshow_usb1
238
when :unknown239
239
when :tv_radio
240
when :unknown241
241
when :unknown242
242
when :unknown243
243
when :unknown244
244
when :unknown245
245
when :unknown246
246
when :unknown247
247
when :unknown248
248
when :scanning_greys_test, :gradient_text
249
# when :reset, :danger_reset!, :instop_processing_is_in_progress_dont_remote_the_power_cable
# 250
when :factory_menu1, :in_start, :factory_menus, :factory_extended_info_and_adjustments, :potentially_very_dangerous
251
when :p_check, :picture_check, :factory_picture_check, :cycle_trough_color_tints
252
when :s_check, :sound_check, :factory_sound_check, :cycle_through_sound_volume_balance
253
# when :danger!, :power_only_mode, :things_stop_working, :scews_up_network_settings
# 254
when :factory_menu2, :ez_adjust, :ez_adjust_menu, :advanced_mcu_controls, :mcu_hardware_settings, :potentially_very_dangerous
255
# No known commands above 255
else
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.