2 #include "protocols/sircprotocol.h"
12 addControlledDevice(Sony_Make, "KV-M1420D", TV_Device);
13 addControlledDevice(Sony_Make, "KV-20FV10", TV_Device);
14 addControlledDevice(Sony_Make, "KV-2184MT", TV_Device);
15 addControlledDevice(Sony_Make, "KV-27FX210", TV_Device);
16 addControlledDevice(Sony_Make, "KV-32FS210", TV_Device);
17 addControlledDevice(Sony_Make, "KV-36FS210", TV_Device);
18 addControlledDevice(Sony_Make, "KV-36FS13", TV_Device);
19 addControlledDevice(Sony_Make, "KDL-23B4030", TV_Device);
20 addControlledDevice(Sony_Make, "KDL-40EX403", TV_Device);
21 addControlledDevice(Sony_Make, "KDL-40X2000", TV_Device);
22 addControlledDevice(Sony_Make, "KDL-52X2000", TV_Device);
23 addControlledDevice(Sony_Make, "KDL-46X2000", TV_Device);
24 addControlledDevice(Sony_Make, "KP-46WT520", TV_Device);
28 void SonyTV1::populateProtocol(
31 if (threadableProtocol)
33 // If the pointer is not null, the keyset must already be populated.
37 threadableProtocol = new SIRCProtocol(guiObject, index);
39 addSIRC12Key("1", One_Key, 0x01, 0x00);
40 addSIRC12Key("2", Two_Key, 0x01, 0x01);
41 addSIRC12Key("3", Three_Key, 0x01, 0x02);
42 addSIRC12Key("4", Four_Key, 0x01, 0x03);
43 addSIRC12Key("5", Five_Key, 0x01, 0x04);
44 addSIRC12Key("6", Six_Key, 0x01, 0x05);
45 addSIRC12Key("7", Seven_Key, 0x01, 0x06);
46 addSIRC12Key("8", Eight_Key, 0x01, 0x07);
47 addSIRC12Key("9", Nine_Key, 0x01, 0x08);
48 addSIRC12Key("0", Zero_Key, 0x01, 0x09);
49 addSIRC12Key("enter", Enter_Key, 0x01, 0x0B);
50 addSIRC12Key("1-", Unmapped_Key, 0x01, 0x0C);
51 addSIRC12Key("2-", Unmapped_Key, 0x01, 0x0D);
52 addSIRC12Key("C", Clear_Key, 0x01, 0x0E); // "C00"
53 addSIRC12Key("CHANNEL/PAGE+", ChannelUp_Key, 0x01, 0x10);
54 addSIRC12Key("CHANNEL/PAGE-", ChannelDown_Key, 0x01, 0x11);
55 addSIRC12Key("VOLUME+", VolumeUp_Key, 0x01, 0x12);
56 addSIRC12Key("VOLUME-", VolumeDown_Key, 0x01, 0x13);
57 addSIRC12Key("MUTE", Mute_Key, 0x01, 0x14);
58 addSIRC12Key("POWER", Power_Key, 0x01, 0x15);
59 addSIRC12Key("normalise", Reset_Key, 0x01, 0x16); // "reset"
60 addSIRC12Key("a/b", Audio_Key, 0x01, 0x17); // "mts", "sap", "language"
61 addSIRC12Key("picture_up", ContrastUp_Key, 0x01, 0x18); // "Contrast Up"
62 addSIRC12Key("picture_down", ContrastDown_Key, 0x1, 0x19); // "Contrast Down"
63 addSIRC12Key("-/--", DoubleDigit_Key, 0x01, 0x1D);
64 addSIRC12Key("tv/video", Input_Key, 0x01, 0x25);
65 addSIRC12Key("bucket", Unmapped_Key, 0x01, 0x28);
66 addSIRC12Key("stereo", Surround_Key, 0x01, 0x29);
67 addSIRC12Key("ANT", AntennaInput_Key, 0x01, 0x2A);
68 addSIRC12Key("time", Clock_Key, 0x01, 0x2B);
69 addSIRC12Key("timer/block", Timer_Key, 0x01, 0x30);
70 addSIRC12Key("right", Right_Key, 0x01, 0x33);
71 addSIRC12Key("left", Left_Key, 0x01, 0x34);
72 addSIRC12Key("sleep", Sleep_Key, 0x01, 0x36);
73 addSIRC12Key("TV-RETURN", Unmapped_Key, 0x01, 0x38); // "analog"
74 addSIRC12Key("?/INFO", Info_Key, 0x01, 0x3A); // Teletext Index
75 addSIRC12Key("prev_ch", PrevChannel_Key, 0x01, 0x3B); // "jump"
76 addSIRC12Key("off/repeat", Repeat_Key, 0x01, 0x3C);
77 addSIRC12Key("TELETXT", Teletext_Key, 0x01, 0x3F);
78 addSIRC12Key("favourite", Unmapped_Key, 0x01, 0x4A); // separate keyset?
79 addSIRC12Key("cable", CableInput_Key, 0x01, 0x4E);
80 addSIRC12Key("Sat", SatInput_Key, 0x01, 0x51);
81 addSIRC12Key("pip_ch+", PIPChannelUp_Key, 0x01, 0x58);
82 addSIRC12Key("pip_ch-", PIPChannelDown_Key, 0x01, 0x59);
83 addSIRC12Key("piptv_video", PIPSource_Key, 0x01, 0x5A);
84 addSIRC12Key("PIP", PIP_Key, 0x01, 0x5B);
85 addSIRC12Key("pipfreeze", PIPPause_Key, 0x01, 0x5C);
86 addSIRC12Key("PIP_POSITION", PIPMove_Key, 0x01, 0x5E);
87 addSIRC12Key("PIP_SWAP", PIPSwap_Key, 0x01, 0x5F);
88 addSIRC12Key("MENU", Menu_Key, 0x01, 0x60);
89 addSIRC12Key("Settup_V", Unmapped_Key, 0x01, 0x61); // alternate pic mode
90 addSIRC12Key("Settup_A", Unmapped_Key, 0x01, 0x62); // alternate sound mode
91 addSIRC12Key("EXIT", Exit_Key, 0x01, 0x63);
92 addSIRC12Key("picturemode", PictureMode_Key, 0x01, 0x64);
93 addSIRC12Key("OK", Select_Key, 0x01, 0x65); // "return", "select", "enter"
94 addSIRC12Key("output", Unmapped_Key, 0x01, 0x66);
95 addSIRC12Key("PIP_SOURCE", Unmapped_Key, 0x01, 0x67); // separate keyset?
96 addSIRC12Key("asterisk", Unmapped_Key, 0x01, 0x68); // "TV System"
97 addSIRC12Key("auto_program", Unmapped_Key, 0x01, 0x6B);
98 addSIRC12Key("setup", Program_Key, 0x01, 0x6C);
99 addSIRC12Key("tune_down", Unmapped_Key, 0x01, 0x6F); // "search -"
100 addSIRC12Key("tune_up", Unmapped_Key, 0x01, 0x6E); // "search +"
101 addSIRC12Key("up", Up_Key, 0x01, 0x74);
102 addSIRC12Key("down", Down_Key, 0x01, 0x75);
103 addSIRC12Key("diamond", Unmapped_Key, 0x01, 0x78); // "add"
104 addSIRC12Key("erase", Unmapped_Key, 0x01, 0x79);
105 addSIRC12Key("select", Unmapped_Key, 0x01, 0x7C); // PictureMode_Key?
107 addSIRC12Key("vt_inf", TeletextIndex_Key, 0x03, 0x48); // "Teletext Home"
108 addSIRC12Key("expand", TeletextSize_Key, 0x03, 0x49);
109 addSIRC12Key("Teletext Hold", TeletextHold_Key, 0x03, 0x4A); // "shrink"
110 addSIRC12Key("subtitles", Unmapped_Key, 0x03, 0x4B); // Teletext subtitles
111 addSIRC12Key("LEFT/-/RED", Red_Key, 0x03, 0x4C);
112 addSIRC12Key("UP/GREEN", Green_Key, 0x03, 0x4D);
113 addSIRC12Key("RIGHT/+/YELLOW", Yellow_Key, 0x03, 0x4E);
114 addSIRC12Key("DOWN/BLUE", Blue_Key, 0x03, 0x4F);
116 addSIRC15Key("SYNC_MENU", Unmapped_Key, 0x1A, 0x58);
117 addSIRC15Key("SCENE", Unmapped_Key, 0x1A, 0x78);
118 addSIRC15Key("INTERNET_VIDEO", Unmapped_Key, 0x1A, 0x79);
119 addSIRC15Key("I-MANUAL", Unmapped_Key, 0x1A, 0x7B);
121 addSIRC15Key("DIGITAL_ANALOG", Unmapped_Key, 0x77, 0x0D);
122 addSIRC15Key("DIGITAL", Unmapped_Key, 0x77, 0x52);
123 addSIRC15Key("theatre", Unmapped_Key, 0x77, 0x60); // "Home Theater"
124 addSIRC15Key("FAVORITES", Favorites_Key, 0x77, 0x76);
126 addSIRC15Key("STOP", Stop_Key, 0x97, 0x18);
127 addSIRC15Key("PAUSE", Pause_Key, 0x97, 0x19);
128 addSIRC15Key("PLAY", Play_Key, 0x97, 0x1A);
129 addSIRC15Key("FBACKWARD", Rewind_Key, 0x97, 0x1B);
130 addSIRC15Key("FFORWARD", FastForward_Key, 0x97, 0x1C);
131 addSIRC15Key("DOT", Unmapped_Key, 0x97, 0x1D);
132 addSIRC15Key("RETURN", Unmapped_Key, 0x97, 0x23); // exit?
133 addSIRC15Key("TOOLS", Unmapped_Key, 0x97, 0x36); // "OPTIONS"
134 addSIRC15Key("PREVIOUS", Previous_Key, 0x97, 0x3C);
135 addSIRC15Key("NEXT", Next_Key, 0x97, 0x3D);
136 addSIRC15Key("REPLAY", Replay_Key, 0x97, 0x79);
137 addSIRC15Key("ADVANCE", Advance_Key, 0x97, 0x78);
138 addSIRC15Key("SOUND", Unmapped_Key, 0x97, 0x7B);
140 addSIRC15Key("Surround_Mode", Unmapped_Key, 0xA4, 0x1F); // "Music"
141 addSIRC15Key("16:9", AspectRatio_Key, 0xA4, 0x3D); // "WIDE"
142 addSIRC15Key("EPG", Guide_Key, 0xA4, 0x5B);
143 addSIRC15Key("PIP_Audio", Unmapped_Key, 0xA4, 0x7C);
151 setKeysetName("TV Keyset 1a");
153 addControlledDevice(Sony_Make, "KDW-25", TV_Device);
157 void SonyTV1a::populateProtocol(
160 if (threadableProtocol)
162 // If the pointer is not null, the keyset must already be populated.
166 SonyTV1::populateProtocol(guiObject);
168 addSIRC12Key("LEFT/-/RED", Left_Key, 0x03, 0x4C);
169 addSIRC12Key("UP/GREEN", Up_Key, 0x03, 0x4D);
170 addSIRC12Key("RIGHT/+/YELLOW", Right_Key, 0x03, 0x4E);
171 addSIRC12Key("DOWN/BLUE", Down_Key, 0x03, 0x4F);
179 setKeysetName("TV Keyset 1b");
183 void SonyTV1b::populateProtocol(
186 if (threadableProtocol)
188 // If the pointer is not null, the keyset must already be populated.
192 SonyTV1a::populateProtocol(guiObject);
194 addSIRC12Key("clear", Unmapped_Key, 0x01, 0x34); // "Clock Clear"
195 addSIRC12Key("level_plus", Unmapped_Key, 0x01, 0x74);
196 addSIRC12Key("level_minus", Unmapped_Key, 0x01, 0x75);
197 addSIRC12Key("am/pm", Unmapped_Key, 0x01, 0x33);
201 // Not sure about these codes:
206 setKeysetName("TV Keyset 1c");
210 void SonyTV1c::populateProtocol(
213 if (threadableProtocol)
215 // If the pointer is not null, the keyset must already be populated.
219 SonyTV1::populateProtocol(guiObject);
221 addSIRC12Key(">>", FastForward_Key, 0x01, 0x58);
222 addSIRC12Key("<<", Rewind_Key, 0x01, 0x59);
223 addSIRC12Key("rec", Record_Key, 0x01, 0x5A);
224 addSIRC12Key("pause", Pause_Key, 0x01, 0x5C);
225 addSIRC12Key("stop", Stop_Key, 0x01, 0x5E);
226 addSIRC12Key("play", Play_Key, 0x01, 0x5F);
228 addSIRC15Key("BLUE", Blue_Key, 0x97, 0x24);
229 addSIRC15Key("RED", Red_Key, 0x97, 0x25);
230 addSIRC15Key("GREEN", Green_Key, 0x97, 0x26);
231 addSIRC15Key("YELLOW", Yellow_Key, 0x97, 0x27);
232 addSIRC15Key("SUBTITLES", Captions_Key, 0x97, 0x28);
236 // These controls don't quite match other SIRC data. (some do, some don't)
237 // This all taken from LIRC "AMPIR" config file.
248 void SonyAmp1::populateProtocol(
251 if (threadableProtocol)
253 // If the pointer is not null, the keyset must already be populated.
257 threadableProtocol = new SIRCProtocol(guiObject, index);
259 addSIRC12Key("1", One_Key, 0x0C, 0x00);
260 addSIRC12Key("2", Two_Key, 0x0C, 0x01);
261 addSIRC12Key("3", Three_Key, 0x0C, 0x02);
262 addSIRC12Key("4", Four_Key, 0x0C, 0x03);
263 addSIRC12Key("5", Five_Key, 0x0C, 0x04);
264 addSIRC12Key("6", Six_Key, 0x0C, 0x05);
265 addSIRC12Key("7", Seven_Key, 0x0C, 0x06);
266 addSIRC12Key("8", Eight_Key, 0x0C, 0x07);
267 addSIRC12Key("9", Nine_Key, 0x0C, 0x08);
268 addSIRC12Key("0", Zero_Key, 0x0C, 0x09);
269 addSIRC12Key("ENTER", Enter_Key, 0x0C, 0x0B);
270 addSIRC12Key("DIGITAL", Unmapped_Key, 0x0C, 0x0C);
271 addSIRC12Key("VIDEO3", Unmapped_Key, 0x0C, 0x0A);
272 addSIRC12Key("VIDEO4", Unmapped_Key, 0x0C, 0x0B);
273 addSIRC12Key("VOL+", VolumeUp_Key, 0x0C, 0x12);
274 addSIRC12Key("VOL-", VolumeDown_Key, 0x0C, 0x13);
275 addSIRC12Key("MUTE", Mute_Key, 0x0C, 0x14);
276 addSIRC12Key("POWER", Power_Key, 0x0C, 0x15);
277 addSIRC12Key("LD", LDInput_Key, 0x0C, 0x19);
278 addSIRC12Key("TV", CableInput_Key, 0x0C, 0x18);
279 addSIRC12Key("VIDEO2", Unmapped_Key, 0x0C, 0x1E);
280 addSIRC12Key("PHONO", PhonoInput_Key, 0x0C, 0x20);
281 addSIRC12Key("TUNER", TunerInput_Key, 0x0C, 0x21);
282 addSIRC12Key("VIDEO1", Unmapped_Key, 0x0C, 0x22);
283 addSIRC12Key("TAPE", TapeInput_Key, 0x0C, 0x23);
284 addSIRC12Key("CD", CDInput_Key, 0x0C, 0x25);
285 addSIRC12Key("DAT", Unmapped_Key, 0x0C, 0x46);
286 addSIRC12Key("SLEEP", Sleep_Key, 0x0C, 0x60);
287 addSIRC12Key("MD", MDInput_Key, 0x0C, 0x69);
288 addSIRC12Key("TV2", Unmapped_Key, 0x0C, 0x6A);
289 addSIRC12Key("5.1CH", Unmapped_Key, 0x0C, 0x72);
290 addSIRC12Key("DVD", DVDInput_Key, 0x0C, 0x7D);
294 // These taken from LIRC config file "RM-AV2100T".
305 void SonyAmp2::populateProtocol(
308 if (threadableProtocol)
310 // If the pointer is not null, the keyset must already be populated.
314 threadableProtocol = new SIRCProtocol(guiObject, index);
316 addSIRC12Key("up", Up_Key, 0x0C, 0x78);
317 addSIRC12Key("down", Down_Key, 0x0C, 0x79);
318 addSIRC12Key("left", Left_Key, 0x0C, 0x7A);
319 addSIRC12Key("right", Right_Key, 0x0C, 0x7B);
321 addSIRC12Key("program_+", ChannelUp_Key, 0x0D, 0x10);
322 addSIRC12Key("program_-", ChannelDown_Key, 0x0D, 0x11);
323 addSIRC12Key("shift", Unmapped_Key, 0x0D, 0x55);
325 addSIRC12Key("1", One_Key, 0x10, 0x00);
326 addSIRC12Key("2", Two_Key, 0x10, 0x01);
327 addSIRC12Key("3", Three_Key, 0x10, 0x02);
328 addSIRC12Key("4", Four_Key, 0x10, 0x03);
329 addSIRC12Key("5", Five_Key, 0x10, 0x04);
330 addSIRC12Key("6", Six_Key, 0x10, 0x05);
331 addSIRC12Key("7", Seven_Key, 0x10, 0x06);
332 addSIRC12Key("8", Eight_Key, 0x10, 0x07);
333 addSIRC12Key("9", Nine_Key, 0x10, 0x08);
334 addSIRC12Key("0", Zero_Key, 0x10, 0x09);
335 addSIRC12Key("enter", Enter_Key, 0x10, 0x0C);
336 addSIRC12Key("vol_+", VolumeUp_Key, 0x10, 0x12);
337 addSIRC12Key("vol_-", VolumeDown_Key, 0x10, 0x13);
338 addSIRC12Key("mute", Mute_Key, 0x10, 0x14);
339 addSIRC12Key("power", Power_Key, 0x10, 0x15);
340 addSIRC12Key("aux/vdp", AuxInput_Key, 0x10, 0x1D);
341 addSIRC12Key("video2", Unmapped_Key, 0x10, 0x1E);
342 addSIRC12Key("phono", PhonoInput_Key, 0x10, 0x20);
343 addSIRC12Key("tuner", TunerInput_Key, 0x10, 0x21);
344 addSIRC12Key("video1", Unmapped_Key, 0x10, 0x22);
345 addSIRC12Key("tape", TapeInput_Key, 0x10, 0x23);
346 addSIRC12Key("cd", CDInput_Key, 0x10, 0x25);
347 addSIRC12Key("power_on", PowerOn_Key, 0x10, 0x2E);
348 addSIRC12Key("video3", Unmapped_Key, 0x10, 0x42);
349 addSIRC12Key("tv", CableInput_Key, 0x10, 0x6A);
350 addSIRC12Key("dvd", DVDInput_Key, 0x10, 0x7D);
352 addSIRC15Key("md/dat", MDInput_Key, 0x10, 0x69);
356 SonyAudio1::SonyAudio1(
366 void SonyAudio1::populateProtocol(
369 if (threadableProtocol)
371 // If the pointer is not null, the keyset must already be populated.
375 threadableProtocol = new SIRCProtocol(guiObject, index);
377 addSIRC12Key("tv_video", Input_Key, 0x01, 0x25);
379 addSIRC12Key("DSG", Unmapped_Key, 0x0C, 0x31);
381 addSIRC12Key("MEMORY", Program_Key, 0x0D, 0x0E);
382 addSIRC12Key("TUNER-BAND", TunerBand_Key, 0x0D, 0x0F);
383 addSIRC12Key("TUNING_MODE", Unmapped_Key, 0x0D, 0x17);
384 addSIRC12Key("STEREO-MONO", FMMode_Key, 0x0D, 0x21);
386 addSIRC12Key("DIR_MODE", Unmapped_Key, 0x0E, 0x14);
387 addSIRC12Key("REC", Record_Key, 0x0E, 0x1E);
388 addSIRC12Key("TAPE", TapeInput_Key, 0x0E, 0x34);
390 addSIRC12Key("tuner", TunerInput_Key, 0x10, 0x0F); // "Tune Up"
391 addSIRC12Key("VOL+", VolumeUp_Key, 0x10, 0x12);
392 addSIRC12Key("VOL-", VolumeDown_Key, 0x10, 0x13);
393 addSIRC12Key("ON-OFF", Power_Key, 0x10, 0x15);
394 addSIRC12Key("effect_on_off", Unmapped_Key, 0x10, 0x1F);
395 addSIRC12Key("cd", CDInput_Key, 0x10, 0x25);
396 addSIRC12Key("DISPLAY", Info_Key, 0x10, 0x4B);
397 addSIRC12Key("dimmer", Unmapped_Key, 0x10, 0x4D);
398 addSIRC12Key("karaoke_mpx", Unmapped_Key, 0x10, 0x5F);
399 addSIRC12Key("SLEEP", Sleep_Key, 0x10, 0x60);
400 addSIRC12Key("TIMER_SELECT", Unmapped_Key, 0x10, 0x62); // "clock_select"
401 addSIRC12Key("TIMER_SET", Timer_Key, 0x10, 0x65);
402 addSIRC12Key("md", Unmapped_Key, 0x10, 0x69);
403 addSIRC12Key("game", Unmapped_Key, 0x10, 0x7C);
405 addSIRC12Key("CD_REPEAT", Repeat_Key, 0x11, 0x2C);
406 addSIRC12Key("CD", Unmapped_Key, 0x11, 0x32);
407 addSIRC12Key("PLAY_MODE", Unmapped_Key, 0x11, 0x6C);
409 addSIRC15Key("cinema_effect", Unmapped_Key, 0x90, 0x08);
410 addSIRC15Key("game_mixing", Unmapped_Key, 0x90, 0x33);
411 addSIRC15Key("spectrum", Unmapped_Key, 0x90, 0x34);
412 addSIRC15Key("p_file", Unmapped_Key, 0x90, 0x39);
413 addSIRC15Key("surround_speaker_mode", Surround_Key, 0x90, 0x5F);
414 addSIRC15Key("music_eq", Unmapped_Key, 0x90, 0x60);
415 addSIRC15Key("movie_eq", Unmapped_Key, 0x90, 0x61);
416 addSIRC15Key("game_eq", Unmapped_Key, 0x90, 0x62);
418 addSIRC20Key("return", Exit_Key, 0x31, 0x1A, 0x0E);
419 addSIRC20Key("prev_r", Unmapped_Key, 0x31, 0x1A, 0x36);
420 addSIRC20Key("next_r", Unmapped_Key, 0x31, 0x1A, 0x37);
421 addSIRC20Key("special_menu", Menu_Key, 0x31, 0x1A, 0x53);
422 addSIRC20Key("on_screen", Unmapped_Key, 0x31, 0x1A, 0x55);
423 addSIRC20Key("sharp", Unmapped_Key, 0x31, 0x1A, 0x6B);
424 addSIRC20Key("flat", Unmapped_Key, 0x31, 0x1A, 0x6C);
425 addSIRC20Key("album-", Unmapped_Key, 0x31, 0x1A, 0x6E);
426 addSIRC20Key("album+", Unmapped_Key, 0x31, 0x1A, 0x6F);
428 addSIRC20Key("1", One_Key, 0x39, 0x1A, 0x00);
429 addSIRC20Key("2", Two_Key, 0x39, 0x1A, 0x01);
430 addSIRC20Key("3", Three_Key, 0x39, 0x1A, 0x02);
431 addSIRC20Key("4", Four_Key, 0x39, 0x1A, 0x03);
432 addSIRC20Key("5", Five_Key, 0x39, 0x1A, 0x04);
433 addSIRC20Key("6", Six_Key, 0x39, 0x1A, 0x05);
434 addSIRC20Key("7", Seven_Key, 0x39, 0x1A, 0x06);
435 addSIRC20Key("8", Eight_Key, 0x39, 0x1A, 0x07);
436 addSIRC20Key("9", Nine_Key, 0x39, 0x1A, 0x08);
437 addSIRC20Key("0", Zero_Key, 0x39, 0x1A, 0x09);
438 addSIRC20Key("KEY_ENTER", Enter_Key, 0x39, 0x1A, 0x0C);
439 addSIRC20Key("gt_10", DoubleDigit_Key, 0x39, 0x1A, 0x0D);
440 addSIRC20Key("clear", Clear_Key, 0x39, 0x1A, 0x0F);
441 addSIRC20Key("repeat", Repeat_Key, 0x39, 0x1A, 0x2C);
442 addSIRC20Key("KEY_PREV_SONG", Previous_Key, 0x39, 0x1A, 0x30);
443 addSIRC20Key("KEY_NEXT_SONG", Next_Key, 0x39, 0x1A, 0x31);
444 addSIRC20Key("KEY_PREV", Rewind_Key, 0x39, 0x1A, 0x33); // "Rewind"
445 addSIRC20Key("KEY_NEXT", FastForward_Key, 0x39, 0x1A, 0x34); // "Fast Forward"
446 addSIRC20Key("KEY_STOP", Stop_Key, 0x39, 0x1A, 0x38);
447 addSIRC20Key("KEY_PAUSE", Pause_Key, 0x39, 0x1A, 0x39);
448 addSIRC20Key("d_skip", NextDisc_Key, 0x39, 0x1A, 0x3E);
449 addSIRC20Key("up", Up_Key, 0x39, 0x1A, 0x78);
450 addSIRC20Key("down", Down_Key, 0x39, 0x1A, 0x79);
451 addSIRC20Key("left", Left_Key, 0x39, 0x1A, 0x7A);
452 addSIRC20Key("right", Right_Key, 0x39, 0x1A, 0x7B);
453 addSIRC20Key("Select", Select_Key, 0x39, 0x1A, 0x7C);
457 SonyAudio1a::SonyAudio1a(
461 setKeysetName("Audio Keyset 1a");
465 void SonyAudio1a::populateProtocol(
468 if (threadableProtocol)
470 // If the pointer is not null, the keyset must already be populated.
474 SonyAudio1::populateProtocol(guiObject);
476 addSIRC12Key("tape", TapeInput_Key, 0x10, 0x23);
478 // addSIRC20Key("select", Select_Key, 0x39, 0x1A, 0x32); // Doesn't make sense
479 addSIRC20Key("play", Play_Key, 0x39, 0x1A, 0x32);
480 addSIRC20Key("play_mode", Unmapped_Key, 0x39, 0x1A, 0x26);
481 addSIRC20Key("enter", Select_Key, 0x39, 0x1A, 0x7C);
495 void SonyDAT1::populateProtocol(
498 if (threadableProtocol)
500 // If the pointer is not null, the keyset must already be populated.
504 threadableProtocol = new SIRCProtocol(guiObject, index);
506 setPostData(0x07, 5);
508 addSIRC12Key("1", One_Key, 0x1C, 0x00);
509 addSIRC12Key("2", Two_Key, 0x1C, 0x01);
510 addSIRC12Key("3", Three_Key, 0x1C, 0x02);
511 addSIRC12Key("4", Four_Key, 0x1C, 0x03);
512 addSIRC12Key("5", Five_Key, 0x1C, 0x04);
513 addSIRC12Key("6", Six_Key, 0x1C, 0x05);
514 addSIRC12Key("7", Seven_Key, 0x1C, 0x06);
515 addSIRC12Key("8", Eight_Key, 0x1C, 0x07);
516 addSIRC12Key("9", Nine_Key, 0x1C, 0x08);
517 addSIRC12Key("0", Zero_Key, 0x1C, 0x14);
518 addSIRC12Key("PLAY", Play_Key, 0x1C, 0x3A);
519 addSIRC12Key("PAUSE", Pause_Key, 0x1C, 0x39);
520 addSIRC12Key("STOP", Stop_Key, 0x1C, 0x38);
521 addSIRC12Key("<<", Rewind_Key, 0x1C, 0x3B);
522 addSIRC12Key(">>", FastForward_Key, 0x1C, 0x3C);
523 addSIRC12Key("|<<", Previous_Key, 0x1C, 0x68);
524 addSIRC12Key(">>|", Next_Key, 0x1C, 0x69);
525 addSIRC12Key("RECORD", Record_Key, 0x1C, 0x3E);
526 addSIRC12Key("Open/Close", Eject_Key, 0x1C, 0x20);
528 // The following commands are dubious:
529 addSIRC12Key("VOL+", VolumeUp_Key, 0x1C, 0x12);
530 addSIRC12Key("VOL-", VolumeDown_Key, 0x1C, 0x13);
531 addSIRC12Key("POWER_ON", PowerOn_Key, 0x1C, 0x2E);
532 addSIRC12Key("POWER_OFF", PowerOff_Key, 0x1C, 0x2F);
533 addSIRC12Key("MUTE", Mute_Key, 0x1C, 0x14); // Makes no sense...
534 addSIRC12Key("POWER", Power_Key, 0x1C, 0x15);
535 addSIRC12Key("ENTER", Enter_Key, 0x1C, 0x0B);
546 addControlledDevice(Sony_Make, "DVP-CX985V", DVD_Device);
550 void SonyDVD1::populateProtocol(
553 if (threadableProtocol)
555 // If the pointer is not null, the keyset must already be populated.
559 threadableProtocol = new SIRCProtocol(guiObject, index);
561 addSIRC20Key("1", One_Key, 0x49, 0x1A, 0x00);
562 addSIRC20Key("2", Two_Key, 0x49, 0x1A, 0x01);
563 addSIRC20Key("3", Three_Key, 0x49, 0x1A, 0x02);
564 addSIRC20Key("4", Four_Key, 0x49, 0x1A, 0x03);
565 addSIRC20Key("5", Five_Key, 0x49, 0x1A, 0x04);
566 addSIRC20Key("6", Six_Key, 0x49, 0x1A, 0x05);
567 addSIRC20Key("7", Seven_Key, 0x49, 0x1A, 0x06);
568 addSIRC20Key("8", Eight_Key, 0x49, 0x1A, 0x07);
569 addSIRC20Key("9", Nine_Key, 0x49, 0x1A, 0x08);
570 addSIRC20Key("0", Zero_Key, 0x49, 0x1A, 0x09);
571 addSIRC20Key("select", Select_Key, 0x49, 0x1A, 0x0B); //"Enter"
572 addSIRC20Key("Disc Explorer", Unmapped_Key, 0x49, 0x1A, 0x0C);
573 addSIRC20Key("Ent", Enter_Key, 0x49, 0x1A, 0x0D); // "Set"
574 addSIRC20Key("return", Exit_Key, 0x49, 0x1A, 0x0E);
575 addSIRC20Key("CLEAR", Clear_Key, 0x49, 0x1A, 0x0F);
576 addSIRC20Key("-/--", DoubleDigit_Key, 0x49, 0x1A, 0x0F);
578 addSIRC20Key("Input", Input_Key, 0x49, 0x1A, 0x12);
579 addSIRC20Key("prog+", ChannelUp_Key, 0x49, 0x1A, 0x13);
580 addSIRC20Key("prog-", ChannelDown_Key, 0x49, 0x1A, 0x14);
581 addSIRC20Key("power", Power_Key, 0x49, 0x1A, 0x15);
582 addSIRC20Key("open/close", Eject_Key, 0x49, 0x1A, 0x16);
583 addSIRC20Key("rec", Record_Key, 0x49, 0x1A, 0x19);
584 addSIRC20Key("top_menu", DiscTitle_Key, 0x49, 0x1A, 0x1A); // "Title"
585 addSIRC20Key("dvd_menu", DiscMenu_Key, 0x49, 0x1A, 0x1B);
586 addSIRC20Key("program", Program_Key, 0x49, 0x1A, 0x1F);
587 addSIRC20Key("step/search -", StepBack_Key, 0x49, 0x1A, 0x20);
588 addSIRC20Key("step/search +", StepForward_Key, 0x49, 0x1A, 0x21);
589 addSIRC20Key("scan/slow -", SlowMinus_Key, 0x49, 0x1A, 0x22);
590 addSIRC20Key("scan/slow +", SlowPlus_Key, 0x49, 0x1A, 0x23);
591 addSIRC20Key("INDEX-", Unmapped_Key, 0x49, 0x1A, 0x26);
592 addSIRC20Key("INDEX+", Unmapped_Key, 0x49, 0x1A, 0x27);
593 addSIRC20Key("TIME", Unmapped_Key, 0x49, 0x1A, 0x28);
594 addSIRC20Key("JOG_STOP", Unmapped_Key, 0x49, 0x1A, 0x29); // "Pause"
595 addSIRC20Key("a-b", RepeatAB_Key, 0x49, 0x1A, 0x2A);
596 addSIRC20Key("repeat", Repeat_Key, 0x49, 0x1A, 0x2C);
597 addSIRC20Key("POWER_ON", PowerOn_Key, 0x49, 0x1A, 0x2E);
598 addSIRC20Key("POWER_OFF", PowerOff_Key, 0x49, 0x1A, 0x2F);
600 addSIRC20Key("prev", Previous_Key, 0x49, 0x1A, 0x30);
601 addSIRC20Key("next", Next_Key, 0x49, 0x1A, 0x31);
602 addSIRC20Key("play", Play_Key, 0x49, 0x1A, 0x32);
603 addSIRC20Key("rew", Rewind_Key, 0x49, 0x1A, 0x33);
604 addSIRC20Key("ffwd", FastForward_Key, 0x49, 0x1A, 0x34);
605 addSIRC20Key("shuffle", Random_Key, 0x49, 0x1A, 0x35);
606 addSIRC20Key("X2_BACK", Unmapped_Key, 0x49, 0x1A, 0x36);
607 addSIRC20Key("X2_FORWARD", Unmapped_Key, 0x49, 0x1A, 0x37);
608 addSIRC20Key("stop", Stop_Key, 0x49, 0x1A, 0x38);
609 addSIRC20Key("pause", Pause_Key, 0x49, 0x1A, 0x39);
610 addSIRC20Key("STEP_BACK", Unmapped_Key, 0x49, 0x1A, 0x3A); // "Jog Rev"
611 addSIRC20Key("STEP_FORWARD", Unmapped_Key, 0x49, 0x1A, 0x3B); // "Jog Fwd"
612 addSIRC20Key("RecStop", RecordStop_Key, 0x49, 0x1A, 0x3D);
613 addSIRC20Key("RecPause", RecordPause_Key, 0x49, 0x1A, 0x3E);
615 addSIRC20Key("DNR", NoiseReduction_Key, 0x49, 0x1A, 0x48);
616 addSIRC20Key("SEARCH_MODE", Unmapped_Key, 0x49, 0x1A, 0x4B);
617 addSIRC20Key("Picture_Navi", Unmapped_Key, 0x49, 0x1A, 0x50);
618 addSIRC20Key("TV_DVD", Unmapped_Key, 0x49, 0x1A, 0x51);
619 addSIRC20Key("menu", Menu_Key, 0x49, 0x1A, 0x53); // "setup"
620 addSIRC20Key("Display", Info_Key, 0x49, 0x1A, 0x54);
621 addSIRC20Key("surround", Surround_Key, 0x49, 0x1A, 0x5A);
622 addSIRC20Key("PICTUREMODE", PictureMode_Key, 0x49, 0x1A, 0x5B);
623 addSIRC20Key("Replay", Replay_Key, 0x49, 0x1A, 0x5C);
624 addSIRC20Key("SA-CD_MULTI/2CH", Unmapped_Key, 0x49, 0x1A, 0x5E);
625 addSIRC20Key("SA-CD/CD", Unmapped_Key, 0x49, 0x1A, 0x5F);
627 addSIRC20Key("SLOW_BACK", SlowMinus_Key, 0x49, 0x1A, 0x60);
628 addSIRC20Key("SLOW_FORWARD", SlowPlus_Key, 0x49, 0x1A, 0x61);
629 addSIRC20Key("SUBTITLE_ON_OFF", Captions_Key, 0x49, 0x1A, 0x62);
630 addSIRC20Key("Subtitle Change", Unmapped_Key, 0x49, 0x1A, 0x63);
631 addSIRC20Key("Language", Audio_Key, 0x49, 0x1A, 0x64); // "Audio"
632 addSIRC20Key("ANGLE_CHANGE", Angle_Key, 0x49, 0x1A, 0x65); // "Angle"
633 addSIRC20Key("up", Up_Key, 0x49, 0x1A, 0x79);
634 addSIRC20Key("down", Down_Key, 0x49, 0x1A, 0x7A);
635 addSIRC20Key("left", Left_Key, 0x49, 0x1A, 0x7B);
636 addSIRC20Key("right", Right_Key, 0x49, 0x1A, 0x7C);
638 addSIRC20Key("Advance", Advance_Key, 0x62, 0x1A, 0x14);
639 addSIRC20Key("Guide", Guide_Key, 0x62, 0x1A, 0x16);
640 addSIRC20Key("Options", Unmapped_Key, 0x62, 0x1A, 0x17); // "Tools"
641 addSIRC20Key("Dot", Unmapped_Key, 0x62, 0x1A, 0x1D);
642 addSIRC20Key("file", Unmapped_Key, 0x62, 0x1A, 0x20);
643 addSIRC20Key("sort", Unmapped_Key, 0x62, 0x1A, 0x21);
644 addSIRC20Key("edit", Unmapped_Key, 0x62, 0x1A, 0x22);
645 addSIRC20Key("ALBUM-MINUS", Unmapped_Key, 0x62, 0x1A, 0x29);
646 addSIRC20Key("ALBUM-PLUS", Unmapped_Key, 0x62, 0x1A, 0x2A);
647 addSIRC20Key("F1", Unmapped_Key, 0x62, 0x1A, 0x2E); // "HDD"
648 addSIRC20Key("F2", Unmapped_Key, 0x62, 0x1A, 0x2F); // "DVD"
649 addSIRC20Key("picture memory", Unmapped_Key, 0x62, 0x1A, 0x3C);
650 addSIRC20Key("disc skip -", PrevDisc_Key, 0x62, 0x1A, 0x3D);
651 addSIRC20Key("DiscSkip", NextDisc_Key, 0x62, 0x1A, 0x3E); // "disc skip +"
652 addSIRC20Key("folder", Unmapped_Key, 0x62, 0x1A, 0x40);
653 addSIRC20Key("Favorites", Favorites_Key, 0x62, 0x1A, 0x5E);
654 addSIRC20Key("Purple", Blue_Key, 0x62, 0x1A, 0x66);
655 addSIRC20Key("Red", Red_Key, 0x62, 0x1A, 0x67);
656 addSIRC20Key("Green", Green_Key, 0x62, 0x1A, 0x68);
657 addSIRC20Key("Yellow", Yellow_Key, 0x62, 0x1A, 0x69);
658 addSIRC20Key("ZOOM", Zoom_Key, 0x62, 0x1A, 0x79);
662 SonyDVD1a::SonyDVD1a(
666 setKeysetName("DVD Keyset 1a");
670 void SonyDVD1a::populateProtocol(
673 if (threadableProtocol)
675 // If the pointer is not null, the keyset must already be populated.
679 SonyDVD1::populateProtocol(guiObject);
681 addSIRC20Key("STEP_BACK", StepBack_Key, 0x49, 0x1A, 0x20);
682 addSIRC20Key("STEP_FORWARD", StepForward_Key, 0x49, 0x1A, 0x21);
683 addSIRC20Key("SLOW_BACK", SlowMinus_Key, 0x49, 0x1A, 0x22);
684 addSIRC20Key("SLOW_FORWARD", SlowPlus_Key, 0x49, 0x1A, 0x23);
688 SonyDVD1b::SonyDVD1b(
692 setKeysetName("DVD Keyset 1b");
696 void SonyDVD1b::populateProtocol(
699 if (threadableProtocol)
701 // If the pointer is not null, the keyset must already be populated.
705 SonyDVD1::populateProtocol(guiObject);
707 addSIRC20Key("SLOW-", SlowMinus_Key, 0x49, 0x1A, 0x72);
708 addSIRC20Key("SLOW+", SlowPlus_Key, 0x49, 0x1A, 0x73);
712 SonyDVD1c::SonyDVD1c(
716 setKeysetName("DVD Keyset 1c");
720 void SonyDVD1c::populateProtocol(
723 if (threadableProtocol)
725 // If the pointer is not null, the keyset must already be populated.
729 SonyDVD1::populateProtocol(guiObject);
731 addSIRC20Key("up", Up_Key, 0x49, 0x1A, 0x39);
732 addSIRC20Key("down", Down_Key, 0x49, 0x1A, 0x38);
733 addSIRC20Key("left", Left_Key, 0x49, 0x1A, 0x33);
734 addSIRC20Key("right", Right_Key, 0x49, 0x1A, 0x34);
735 addSIRC20Key("ok", Select_Key, 0x49, 0x1A, 0x32);
736 addSIRC20Key("enter", Enter_Key, 0x49, 0x1A, 0x0B);
750 void SonyVCR1::populateProtocol(
753 if (threadableProtocol)
755 // If the pointer is not null, the keyset must already be populated.
759 threadableProtocol = new SIRCProtocol(guiObject, index);
761 addSIRC12Key("VOL_UP", VolumeUp_Key, 0x01, 0x12);
762 addSIRC12Key("VOL_DOWN", VolumeDown_Key, 0x01, 0x13);
764 addSIRC12Key("red", Red_Key, 0x03, 0x4C);
765 addSIRC12Key("green", Green_Key, 0x03, 0x4D);
766 addSIRC12Key("Yellow", Yellow_Key, 0x03, 0x4E);
767 addSIRC12Key("blue", Blue_Key, 0x03, 0x4F);
769 addSIRC12Key("1", One_Key, 0x0B, 0x00);
770 addSIRC12Key("2", Two_Key, 0x0B, 0x01);
771 addSIRC12Key("3", Three_Key, 0x0B, 0x02);
772 addSIRC12Key("4", Four_Key, 0x0B, 0x03);
773 addSIRC12Key("5", Five_Key, 0x0B, 0x04);
774 addSIRC12Key("6", Six_Key, 0x0B, 0x05);
775 addSIRC12Key("7", Seven_Key, 0x0B, 0x06);
776 addSIRC12Key("8", Eight_Key, 0x0B, 0x07);
777 addSIRC12Key("9", Nine_Key, 0x0B, 0x08);
778 addSIRC12Key("0", Zero_Key, 0x0B, 0x09);
779 // addSIRC12Key("jump", PrevChannel_Key, 0x0B, 0x0A); // might be wrong
780 addSIRC12Key("-/--", DoubleDigit_Key, 0x0B, 0x0A);
781 addSIRC12Key("ENT", Enter_Key, 0x0B, 0x0B); // "Enter"
783 addSIRC12Key("prog-next", ChannelUp_Key, 0x0B, 0x10);
784 addSIRC12Key("prog-prev", ChannelDown_Key, 0x0B, 0x11);
785 addSIRC12Key("pwon", Power_Key, 0x0B, 0x15);
786 addSIRC12Key("stop", Stop_Key, 0x0B, 0x18);
787 addSIRC12Key("pause", Pause_Key, 0x0B, 0x19);
788 addSIRC12Key("play", Play_Key, 0x0B, 0x1A);
789 addSIRC12Key("<<", Rewind_Key, 0x0B, 0x1B);
790 addSIRC12Key(">>", FastForward_Key, 0x0B, 0x1C);
791 addSIRC12Key("rec", Record_Key, 0x0B, 0x1D);
792 addSIRC12Key("ant/sw", AntennaInput_Key, 0x0B, 0x2A); // "tv/vcr"
793 addSIRC12Key("power_on", PowerOn_Key, 0x0B, 0x2E);
794 addSIRC12Key("Power Off", PowerOff_Key, 0x0B, 0x2F);
795 addSIRC12Key("menu", Menu_Key, 0x0B, 0x4D);
796 addSIRC12Key("input", Input_Key, 0x0B, 0x4F);
797 addSIRC12Key("display", Info_Key, 0x0B, 0x5A);
799 // Odd cursor keys, overlap with media controls:
800 addSIRC12Key("down", Down_Key, 0x0B, 0x18);
801 addSIRC12Key("up", Up_Key, 0x0B, 0x19);
802 addSIRC12Key("ok", Select_Key, 0x0B, 0x1A);
803 addSIRC12Key("left", Left_Key, 0x0B, 0x1B);
804 addSIRC12Key("right", Right_Key, 0x0B, 0x1C);
808 SonyVCR1a::SonyVCR1a(
812 setKeysetName("VCR Keyset 1a");
816 void SonyVCR1a::populateProtocol(
819 if (threadableProtocol)
821 // If the pointer is not null, the keyset must already be populated.
825 SonyVCR1::populateProtocol(guiObject);
827 // These are the expected cursor keys:
828 addSIRC12Key("up", Up_Key, 0x0B, 0x42);
829 addSIRC12Key("down", Down_Key, 0x0B, 0x43);
830 addSIRC12Key("left", Left_Key, 0x0B, 0x62);
831 addSIRC12Key("right", Right_Key, 0x0B, 0x61);
832 addSIRC12Key("execute", Select_Key, 0x0B, 0x51); //"OK"
834 // addKey("SLEEP", Sleep_Key, 0x0B, 0x4F); // odd
838 // Extra codes off of hifi-remote website:
839 SonyVCR1b::SonyVCR1b(
843 setKeysetName("VCR Keyset 1b");
847 void SonyVCR1b::populateProtocol(
850 if (threadableProtocol)
852 // If the pointer is not null, the keyset must already be populated.
856 SonyVCR1a::populateProtocol(guiObject);
858 addSIRC12Key("Volume Up", VolumeUp_Key, 0x0B, 0x12);
859 addSIRC12Key("Volume Down", VolumeDown_Key, 0x0B, 0x13);
860 addSIRC12Key("Eject", Eject_Key, 0x0B, 0x16);
861 addSIRC12Key("Record Pause", RecordPause_Key, 0x0B, 0x1E);
862 addSIRC12Key("Record Mute", RecordMute_Key, 0x0B, 0x1F);
863 addSIRC12Key("Auto Tracking", AutoTracking_Key, 0x0B, 0x27);
864 addSIRC12Key("Frame Reverse", StepBack_Key, 0x0B, 0x30);
865 addSIRC12Key("Frame Advance", StepForward_Key, 0x0B, 0x31);
866 addSIRC12Key("Mute", Mute_Key, 0x0B, 0x35);
867 addSIRC12Key("Sleep", Sleep_Key, 0x0B, 0x36);
868 addSIRC12Key("Slow +", SlowPlus_Key, 0x0B, 0x3D);
869 addSIRC12Key("Slow -", SlowMinus_Key, 0x0B, 0x3E);
870 addSIRC12Key("Tracking Up", TrackingPlus_Key, 0x0B, 0x44);
871 addSIRC12Key("Tracking Down", TrackingMinus_Key, 0x0B, 0x45);
872 addSIRC12Key("SP/EP", VHSSpeed_Key, 0x0B, 0x58);
876 SonyReceiver1::SonyReceiver1(
886 void SonyReceiver1::populateProtocol(
889 if (threadableProtocol)
891 // If the pointer is not null, the keyset must already be populated.
895 threadableProtocol = new SIRCProtocol(guiObject, index);
897 addSIRC15Key("1", One_Key, 0x30, 0x00);
898 addSIRC15Key("2", Two_Key, 0x30, 0x01);
899 addSIRC15Key("3", Three_Key, 0x30, 0x02);
900 addSIRC15Key("4", Four_Key, 0x30, 0x03);
901 addSIRC15Key("5", Five_Key, 0x30, 0x04);
902 addSIRC15Key("6", Six_Key, 0x30, 0x05);
903 addSIRC15Key("7", Seven_Key, 0x30, 0x06);
904 addSIRC15Key("8", Eight_Key, 0x30, 0x07);
905 addSIRC15Key("9", Nine_Key, 0x30, 0x08);
906 addSIRC15Key("0", Zero_Key, 0x30, 0x09);
907 addSIRC15Key("SELECT", Select_Key, 0x30, 0x0C);
908 addSIRC15Key("VOLUME_UP", VolumeUp_Key, 0x30, 0x12);
909 addSIRC15Key("VOLUME_DOWN", VolumeDown_Key, 0x30, 0x13);
910 addSIRC15Key("MUTING", Mute_Key, 0x30, 0x14);
911 addSIRC15Key("POWER", Power_Key, 0x30, 0x15);
912 addSIRC15Key("VIDEO2", Unmapped_Key, 0x30, 0x1E);
913 addSIRC15Key("TUNER", TunerInput_Key, 0x30, 0x21);
914 addSIRC15Key("VIDEO1", Unmapped_Key, 0x30, 0x22);
915 addSIRC15Key("SA_CD", Unmapped_Key, 0x30, 0x25);
916 addSIRC15Key("VIDEO3", Unmapped_Key, 0x30, 0x42);
917 addSIRC15Key("DISPLAY", Info_Key, 0x30, 0x4B);
918 addSIRC15Key("SLEEP", Sleep_Key, 0x30, 0x60);
919 addSIRC15Key("TV", Unmapped_Key, 0x30, 0x6A);
920 addSIRC15Key("DVD", DVDInput_Key, 0x30, 0x7D);
922 addSIRC15Key("SAT", SatInput_Key, 0xB0, 0x03);
923 addSIRC15Key("2CH", Unmapped_Key, 0xB0, 0x09);
924 addSIRC15Key("AFD", Unmapped_Key, 0xB0, 0x0A);
925 addSIRC15Key("MOVIE", Unmapped_Key, 0xB0, 0x0B);
926 addSIRC15Key("DVD_MENU", DiscMenu_Key, 0xB0, 0x2D); // Not sure about this
927 addSIRC15Key("MUSIC", Unmapped_Key, 0xB0, 0x49);
928 addSIRC15Key("AMP_MENU", Menu_Key, 0xB0, 0x77);
929 addSIRC15Key("UP", Up_Key, 0xB0, 0x78);
930 addSIRC15Key("DOWN", Down_Key, 0xB0, 0x79);
931 addSIRC15Key("LEFT", Left_Key, 0xB0, 0x7A);
932 addSIRC15Key("RIGHT", Right_Key, 0xB0, 0x7B);