diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-27 08:28:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 11:19:24 -0400 |
commit | 97fd4f7fb62b018ff7afc0aea8cfffa2d79e59cd (patch) | |
tree | a512543ce3b80b34d38de4c8473aa7241c44ed03 /drivers/media/common | |
parent | 436e7e7c07ff153be6ee22220f47c7fa62176a26 (diff) |
V4L/DVB (12557): Use C99 comment CodingStyle
The ir-keymaps.c has frequent additions. As people tend to copy an old
keyboard entry, a bad CodingStyle at an ancient entry may result on a
freshly bad CodingStyle patch.
So, better to fix the CodingStyle for the entire file.
This patch is the first of a series of patches fixing it, generated by
some perl magic plus manual handling.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/ir-keymaps.c | 354 |
1 files changed, 168 insertions, 186 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c index c222b7f15184..13878b047a3d 100644 --- a/drivers/media/common/ir-keymaps.c +++ b/drivers/media/common/ir-keymaps.c | |||
@@ -64,41 +64,41 @@ IR_KEYTAB_TYPE ir_codes_proteus_2309[IR_KEYTAB_SIZE] = { | |||
64 | EXPORT_SYMBOL_GPL(ir_codes_proteus_2309); | 64 | EXPORT_SYMBOL_GPL(ir_codes_proteus_2309); |
65 | /* Matt Jesson <dvb@jesson.eclipse.co.uk */ | 65 | /* Matt Jesson <dvb@jesson.eclipse.co.uk */ |
66 | IR_KEYTAB_TYPE ir_codes_avermedia_dvbt[IR_KEYTAB_SIZE] = { | 66 | IR_KEYTAB_TYPE ir_codes_avermedia_dvbt[IR_KEYTAB_SIZE] = { |
67 | [ 0x28 ] = KEY_0, //'0' / 'enter' | 67 | [ 0x28 ] = KEY_0, /* '0' / 'enter' */ |
68 | [ 0x22 ] = KEY_1, //'1' | 68 | [ 0x22 ] = KEY_1, /* '1' */ |
69 | [ 0x12 ] = KEY_2, //'2' / 'up arrow' | 69 | [ 0x12 ] = KEY_2, /* '2' / 'up arrow' */ |
70 | [ 0x32 ] = KEY_3, //'3' | 70 | [ 0x32 ] = KEY_3, /* '3' */ |
71 | [ 0x24 ] = KEY_4, //'4' / 'left arrow' | 71 | [ 0x24 ] = KEY_4, /* '4' / 'left arrow' */ |
72 | [ 0x14 ] = KEY_5, //'5' | 72 | [ 0x14 ] = KEY_5, /* '5' */ |
73 | [ 0x34 ] = KEY_6, //'6' / 'right arrow' | 73 | [ 0x34 ] = KEY_6, /* '6' / 'right arrow' */ |
74 | [ 0x26 ] = KEY_7, //'7' | 74 | [ 0x26 ] = KEY_7, /* '7' */ |
75 | [ 0x16 ] = KEY_8, //'8' / 'down arrow' | 75 | [ 0x16 ] = KEY_8, /* '8' / 'down arrow' */ |
76 | [ 0x36 ] = KEY_9, //'9' | 76 | [ 0x36 ] = KEY_9, /* '9' */ |
77 | 77 | ||
78 | [ 0x20 ] = KEY_LIST, // 'source' | 78 | [ 0x20 ] = KEY_LIST, /* 'source' */ |
79 | [ 0x10 ] = KEY_TEXT, // 'teletext' | 79 | [ 0x10 ] = KEY_TEXT, /* 'teletext' */ |
80 | [ 0x00 ] = KEY_POWER, // 'power' | 80 | [ 0x00 ] = KEY_POWER, /* 'power' */ |
81 | [ 0x04 ] = KEY_AUDIO, // 'audio' | 81 | [ 0x04 ] = KEY_AUDIO, /* 'audio' */ |
82 | [ 0x06 ] = KEY_ZOOM, // 'full screen' | 82 | [ 0x06 ] = KEY_ZOOM, /* 'full screen' */ |
83 | [ 0x18 ] = KEY_VIDEO, // 'display' | 83 | [ 0x18 ] = KEY_VIDEO, /* 'display' */ |
84 | [ 0x38 ] = KEY_SEARCH, // 'loop' | 84 | [ 0x38 ] = KEY_SEARCH, /* 'loop' */ |
85 | [ 0x08 ] = KEY_INFO, // 'preview' | 85 | [ 0x08 ] = KEY_INFO, /* 'preview' */ |
86 | [ 0x2a ] = KEY_REWIND, // 'backward <<' | 86 | [ 0x2a ] = KEY_REWIND, /* 'backward <<' */ |
87 | [ 0x1a ] = KEY_FASTFORWARD, // 'forward >>' | 87 | [ 0x1a ] = KEY_FASTFORWARD, /* 'forward >>' */ |
88 | [ 0x3a ] = KEY_RECORD, // 'capture' | 88 | [ 0x3a ] = KEY_RECORD, /* 'capture' */ |
89 | [ 0x0a ] = KEY_MUTE, // 'mute' | 89 | [ 0x0a ] = KEY_MUTE, /* 'mute' */ |
90 | [ 0x2c ] = KEY_RECORD, // 'record' | 90 | [ 0x2c ] = KEY_RECORD, /* 'record' */ |
91 | [ 0x1c ] = KEY_PAUSE, // 'pause' | 91 | [ 0x1c ] = KEY_PAUSE, /* 'pause' */ |
92 | [ 0x3c ] = KEY_STOP, // 'stop' | 92 | [ 0x3c ] = KEY_STOP, /* 'stop' */ |
93 | [ 0x0c ] = KEY_PLAY, // 'play' | 93 | [ 0x0c ] = KEY_PLAY, /* 'play' */ |
94 | [ 0x2e ] = KEY_RED, // 'red' | 94 | [ 0x2e ] = KEY_RED, /* 'red' */ |
95 | [ 0x01 ] = KEY_BLUE, // 'blue' / 'cancel' | 95 | [ 0x01 ] = KEY_BLUE, /* 'blue' / 'cancel' */ |
96 | [ 0x0e ] = KEY_YELLOW, // 'yellow' / 'ok' | 96 | [ 0x0e ] = KEY_YELLOW, /* 'yellow' / 'ok' */ |
97 | [ 0x21 ] = KEY_GREEN, // 'green' | 97 | [ 0x21 ] = KEY_GREEN, /* 'green' */ |
98 | [ 0x11 ] = KEY_CHANNELDOWN, // 'channel -' | 98 | [ 0x11 ] = KEY_CHANNELDOWN, /* 'channel -' */ |
99 | [ 0x31 ] = KEY_CHANNELUP, // 'channel +' | 99 | [ 0x31 ] = KEY_CHANNELUP, /* 'channel +' */ |
100 | [ 0x1e ] = KEY_VOLUMEDOWN, // 'volume -' | 100 | [ 0x1e ] = KEY_VOLUMEDOWN, /* 'volume -' */ |
101 | [ 0x3e ] = KEY_VOLUMEUP, // 'volume +' | 101 | [ 0x3e ] = KEY_VOLUMEUP, /* 'volume +' */ |
102 | }; | 102 | }; |
103 | 103 | ||
104 | EXPORT_SYMBOL_GPL(ir_codes_avermedia_dvbt); | 104 | EXPORT_SYMBOL_GPL(ir_codes_avermedia_dvbt); |
@@ -225,32 +225,32 @@ IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE] = { | |||
225 | [ 0x08 ] = KEY_8, | 225 | [ 0x08 ] = KEY_8, |
226 | [ 0x09 ] = KEY_9, | 226 | [ 0x09 ] = KEY_9, |
227 | [ 0x00 ] = KEY_0, | 227 | [ 0x00 ] = KEY_0, |
228 | [ 0x17 ] = KEY_LAST, // +100 | 228 | [ 0x17 ] = KEY_LAST, /* +100 */ |
229 | [ 0x0a ] = KEY_LIST, // recall | 229 | [ 0x0a ] = KEY_LIST, /* recall */ |
230 | 230 | ||
231 | 231 | ||
232 | [ 0x1c ] = KEY_TUNER, // TV/FM | 232 | [ 0x1c ] = KEY_TUNER, /* TV/FM */ |
233 | [ 0x15 ] = KEY_SEARCH, // scan | 233 | [ 0x15 ] = KEY_SEARCH, /* scan */ |
234 | [ 0x12 ] = KEY_POWER, // power | 234 | [ 0x12 ] = KEY_POWER, /* power */ |
235 | [ 0x1f ] = KEY_VOLUMEDOWN, // vol up | 235 | [ 0x1f ] = KEY_VOLUMEDOWN, /* vol up */ |
236 | [ 0x1b ] = KEY_VOLUMEUP, // vol down | 236 | [ 0x1b ] = KEY_VOLUMEUP, /* vol down */ |
237 | [ 0x1e ] = KEY_CHANNELDOWN, // chn up | 237 | [ 0x1e ] = KEY_CHANNELDOWN, /* chn up */ |
238 | [ 0x1a ] = KEY_CHANNELUP, // chn down | 238 | [ 0x1a ] = KEY_CHANNELUP, /* chn down */ |
239 | 239 | ||
240 | [ 0x11 ] = KEY_VIDEO, // video | 240 | [ 0x11 ] = KEY_VIDEO, /* video */ |
241 | [ 0x0f ] = KEY_ZOOM, // full screen | 241 | [ 0x0f ] = KEY_ZOOM, /* full screen */ |
242 | [ 0x13 ] = KEY_MUTE, // mute/unmute | 242 | [ 0x13 ] = KEY_MUTE, /* mute/unmute */ |
243 | [ 0x10 ] = KEY_TEXT, // min | 243 | [ 0x10 ] = KEY_TEXT, /* min */ |
244 | 244 | ||
245 | [ 0x0d ] = KEY_STOP, // freeze | 245 | [ 0x0d ] = KEY_STOP, /* freeze */ |
246 | [ 0x0e ] = KEY_RECORD, // record | 246 | [ 0x0e ] = KEY_RECORD, /* record */ |
247 | [ 0x1d ] = KEY_PLAYPAUSE, // stop | 247 | [ 0x1d ] = KEY_PLAYPAUSE, /* stop */ |
248 | [ 0x19 ] = KEY_PLAY, // play | 248 | [ 0x19 ] = KEY_PLAY, /* play */ |
249 | 249 | ||
250 | [ 0x16 ] = KEY_GOTO, // osd | 250 | [ 0x16 ] = KEY_GOTO, /* osd */ |
251 | [ 0x14 ] = KEY_REFRESH, // default | 251 | [ 0x14 ] = KEY_REFRESH, /* default */ |
252 | [ 0x0c ] = KEY_KPPLUS, // fine tune >>>> | 252 | [ 0x0c ] = KEY_KPPLUS, /* fine tune >>>> */ |
253 | [ 0x18 ] = KEY_KPMINUS // fine tune <<<< | 253 | [ 0x18 ] = KEY_KPMINUS /* fine tune <<<< */ |
254 | }; | 254 | }; |
255 | 255 | ||
256 | EXPORT_SYMBOL_GPL(ir_codes_apac_viewcomp); | 256 | EXPORT_SYMBOL_GPL(ir_codes_apac_viewcomp); |
@@ -259,38 +259,20 @@ EXPORT_SYMBOL_GPL(ir_codes_apac_viewcomp); | |||
259 | 259 | ||
260 | IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE] = { | 260 | IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE] = { |
261 | 261 | ||
262 | [ 0x1e ] = KEY_POWER, // power | 262 | [ 0x1e ] = KEY_POWER, /* power */ |
263 | [ 0x07 ] = KEY_MEDIA, // source | 263 | [ 0x07 ] = KEY_MEDIA, /* source */ |
264 | [ 0x1c ] = KEY_SEARCH, // scan | 264 | [ 0x1c ] = KEY_SEARCH, /* scan */ |
265 | 265 | ||
266 | /* FIXME: duplicate keycodes? | ||
267 | * | ||
268 | * These four keys seem to share the same GPIO as CH+, CH-, <<< and >>> | ||
269 | * The GPIO values are | ||
270 | * 6397fb for both "Scan <" and "CH -", | ||
271 | * 639ffb for "Scan >" and "CH+", | ||
272 | * 6384fb for "Tune <" and "<<<", | ||
273 | * 638cfb for "Tune >" and ">>>", regardless of the mask. | ||
274 | * | ||
275 | * [ 0x17 ] = KEY_BACK, // fm scan << | ||
276 | * [ 0x1f ] = KEY_FORWARD, // fm scan >> | ||
277 | * | ||
278 | * [ 0x04 ] = KEY_LEFT, // fm tuning < | ||
279 | * [ 0x0c ] = KEY_RIGHT, // fm tuning > | ||
280 | * | ||
281 | * For now, these four keys are disabled. Pressing them will generate | ||
282 | * the CH+/CH-/<<</>>> events | ||
283 | */ | ||
284 | 266 | ||
285 | [ 0x03 ] = KEY_TUNER, // TV/FM | 267 | [ 0x03 ] = KEY_TUNER, /* TV/FM */ |
286 | 268 | ||
287 | [ 0x00 ] = KEY_RECORD, | 269 | [ 0x00 ] = KEY_RECORD, |
288 | [ 0x08 ] = KEY_STOP, | 270 | [ 0x08 ] = KEY_STOP, |
289 | [ 0x11 ] = KEY_PLAY, | 271 | [ 0x11 ] = KEY_PLAY, |
290 | 272 | ||
291 | [ 0x1a ] = KEY_PLAYPAUSE, // freeze | 273 | [ 0x1a ] = KEY_PLAYPAUSE, /* freeze */ |
292 | [ 0x19 ] = KEY_ZOOM, // zoom | 274 | [ 0x19 ] = KEY_ZOOM, /* zoom */ |
293 | [ 0x0f ] = KEY_TEXT, // min | 275 | [ 0x0f ] = KEY_TEXT, /* min */ |
294 | 276 | ||
295 | [ 0x01 ] = KEY_1, | 277 | [ 0x01 ] = KEY_1, |
296 | [ 0x0b ] = KEY_2, | 278 | [ 0x0b ] = KEY_2, |
@@ -302,21 +284,21 @@ IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE] = { | |||
302 | [ 0x0a ] = KEY_8, | 284 | [ 0x0a ] = KEY_8, |
303 | [ 0x12 ] = KEY_9, | 285 | [ 0x12 ] = KEY_9, |
304 | [ 0x02 ] = KEY_0, | 286 | [ 0x02 ] = KEY_0, |
305 | [ 0x10 ] = KEY_LAST, // +100 | 287 | [ 0x10 ] = KEY_LAST, /* +100 */ |
306 | [ 0x13 ] = KEY_LIST, // recall | 288 | [ 0x13 ] = KEY_LIST, /* recall */ |
307 | 289 | ||
308 | [ 0x1f ] = KEY_CHANNELUP, // chn down | 290 | [ 0x1f ] = KEY_CHANNELUP, /* chn down */ |
309 | [ 0x17 ] = KEY_CHANNELDOWN, // chn up | 291 | [ 0x17 ] = KEY_CHANNELDOWN, /* chn up */ |
310 | [ 0x16 ] = KEY_VOLUMEUP, // vol down | 292 | [ 0x16 ] = KEY_VOLUMEUP, /* vol down */ |
311 | [ 0x14 ] = KEY_VOLUMEDOWN, // vol up | 293 | [ 0x14 ] = KEY_VOLUMEDOWN, /* vol up */ |
312 | 294 | ||
313 | [ 0x04 ] = KEY_KPMINUS, // <<< | 295 | [ 0x04 ] = KEY_KPMINUS, /* <<< */ |
314 | [ 0x0e ] = KEY_SETUP, // function | 296 | [ 0x0e ] = KEY_SETUP, /* function */ |
315 | [ 0x0c ] = KEY_KPPLUS, // >>> | 297 | [ 0x0c ] = KEY_KPPLUS, /* >>> */ |
316 | 298 | ||
317 | [ 0x0d ] = KEY_GOTO, // mts | 299 | [ 0x0d ] = KEY_GOTO, /* mts */ |
318 | [ 0x1d ] = KEY_REFRESH, // reset | 300 | [ 0x1d ] = KEY_REFRESH, /* reset */ |
319 | [ 0x18 ] = KEY_MUTE // mute/unmute | 301 | [ 0x18 ] = KEY_MUTE /* mute/unmute */ |
320 | }; | 302 | }; |
321 | 303 | ||
322 | EXPORT_SYMBOL_GPL(ir_codes_pixelview); | 304 | EXPORT_SYMBOL_GPL(ir_codes_pixelview); |
@@ -957,31 +939,31 @@ IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = { | |||
957 | [ 0x0c ] = KEY_8, | 939 | [ 0x0c ] = KEY_8, |
958 | [ 0x0d ] = KEY_9, | 940 | [ 0x0d ] = KEY_9, |
959 | 941 | ||
960 | [ 0x0e ] = KEY_MODE, // Air/Cable | 942 | [ 0x0e ] = KEY_MODE, /* Air/Cable */ |
961 | [ 0x11 ] = KEY_VIDEO, // Video | 943 | [ 0x11 ] = KEY_VIDEO, /* Video */ |
962 | [ 0x15 ] = KEY_AUDIO, // Audio | 944 | [ 0x15 ] = KEY_AUDIO, /* Audio */ |
963 | [ 0x00 ] = KEY_POWER, // Power | 945 | [ 0x00 ] = KEY_POWER, /* Power */ |
964 | [ 0x18 ] = KEY_TUNER, // AV Source | 946 | [ 0x18 ] = KEY_TUNER, /* AV Source */ |
965 | [ 0x02 ] = KEY_ZOOM, // Fullscreen | 947 | [ 0x02 ] = KEY_ZOOM, /* Fullscreen */ |
966 | [ 0x1a ] = KEY_LANGUAGE, // Stereo | 948 | [ 0x1a ] = KEY_LANGUAGE, /* Stereo */ |
967 | [ 0x1b ] = KEY_MUTE, // Mute | 949 | [ 0x1b ] = KEY_MUTE, /* Mute */ |
968 | [ 0x14 ] = KEY_VOLUMEUP, // Volume + | 950 | [ 0x14 ] = KEY_VOLUMEUP, /* Volume + */ |
969 | [ 0x17 ] = KEY_VOLUMEDOWN, // Volume - | 951 | [ 0x17 ] = KEY_VOLUMEDOWN, /* Volume - */ |
970 | [ 0x12 ] = KEY_CHANNELUP, // Channel + | 952 | [ 0x12 ] = KEY_CHANNELUP, /* Channel + */ |
971 | [ 0x13 ] = KEY_CHANNELDOWN, // Channel - | 953 | [ 0x13 ] = KEY_CHANNELDOWN, /* Channel - */ |
972 | [ 0x06 ] = KEY_AGAIN, // Recall | 954 | [ 0x06 ] = KEY_AGAIN, /* Recall */ |
973 | [ 0x10 ] = KEY_ENTER, // Enter | 955 | [ 0x10 ] = KEY_ENTER, /* Enter */ |
974 | 956 | ||
975 | [ 0x19 ] = KEY_BACK, // Rewind ( <<< ) | 957 | [ 0x19 ] = KEY_BACK, /* Rewind ( <<< ) */ |
976 | [ 0x1f ] = KEY_FORWARD, // Forward ( >>> ) | 958 | [ 0x1f ] = KEY_FORWARD, /* Forward ( >>> ) */ |
977 | [ 0x0a ] = KEY_ANGLE, // (no label, may be used as the PAUSE button) | 959 | [ 0x0a ] = KEY_ANGLE, /* (no label, may be used as the PAUSE button) */ |
978 | }; | 960 | }; |
979 | 961 | ||
980 | EXPORT_SYMBOL_GPL(ir_codes_flyvideo); | 962 | EXPORT_SYMBOL_GPL(ir_codes_flyvideo); |
981 | 963 | ||
982 | IR_KEYTAB_TYPE ir_codes_flydvb[IR_KEYTAB_SIZE] = { | 964 | IR_KEYTAB_TYPE ir_codes_flydvb[IR_KEYTAB_SIZE] = { |
983 | [ 0x01 ] = KEY_ZOOM, // Full Screen | 965 | [ 0x01 ] = KEY_ZOOM, /* Full Screen */ |
984 | [ 0x00 ] = KEY_POWER, // Power | 966 | [ 0x00 ] = KEY_POWER, /* Power */ |
985 | 967 | ||
986 | [ 0x03 ] = KEY_1, | 968 | [ 0x03 ] = KEY_1, |
987 | [ 0x04 ] = KEY_2, | 969 | [ 0x04 ] = KEY_2, |
@@ -992,30 +974,30 @@ IR_KEYTAB_TYPE ir_codes_flydvb[IR_KEYTAB_SIZE] = { | |||
992 | [ 0x0b ] = KEY_7, | 974 | [ 0x0b ] = KEY_7, |
993 | [ 0x0c ] = KEY_8, | 975 | [ 0x0c ] = KEY_8, |
994 | [ 0x0d ] = KEY_9, | 976 | [ 0x0d ] = KEY_9, |
995 | [ 0x06 ] = KEY_AGAIN, // Recall | 977 | [ 0x06 ] = KEY_AGAIN, /* Recall */ |
996 | [ 0x0f ] = KEY_0, | 978 | [ 0x0f ] = KEY_0, |
997 | [ 0x10 ] = KEY_MUTE, // Mute | 979 | [ 0x10 ] = KEY_MUTE, /* Mute */ |
998 | [ 0x02 ] = KEY_RADIO, // TV/Radio | 980 | [ 0x02 ] = KEY_RADIO, /* TV/Radio */ |
999 | [ 0x1b ] = KEY_LANGUAGE, // SAP (Second Audio Program) | 981 | [ 0x1b ] = KEY_LANGUAGE, /* SAP (Second Audio Program) */ |
1000 | 982 | ||
1001 | [ 0x14 ] = KEY_VOLUMEUP, // VOL+ | 983 | [ 0x14 ] = KEY_VOLUMEUP, /* VOL+ */ |
1002 | [ 0x17 ] = KEY_VOLUMEDOWN, // VOL- | 984 | [ 0x17 ] = KEY_VOLUMEDOWN, /* VOL- */ |
1003 | [ 0x12 ] = KEY_CHANNELUP, // CH+ | 985 | [ 0x12 ] = KEY_CHANNELUP, /* CH+ */ |
1004 | [ 0x13 ] = KEY_CHANNELDOWN, // CH- | 986 | [ 0x13 ] = KEY_CHANNELDOWN, /* CH- */ |
1005 | [ 0x1d ] = KEY_ENTER, // Enter | 987 | [ 0x1d ] = KEY_ENTER, /* Enter */ |
1006 | 988 | ||
1007 | [ 0x1a ] = KEY_MODE, // PIP | 989 | [ 0x1a ] = KEY_MODE, /* PIP */ |
1008 | [ 0x18 ] = KEY_TUNER, // Source | 990 | [ 0x18 ] = KEY_TUNER, /* Source */ |
1009 | 991 | ||
1010 | [ 0x1e ] = KEY_RECORD, // Record/Pause | 992 | [ 0x1e ] = KEY_RECORD, /* Record/Pause */ |
1011 | [ 0x15 ] = KEY_ANGLE, // Swap (no label on key) | 993 | [ 0x15 ] = KEY_ANGLE, /* Swap (no label on key) */ |
1012 | [ 0x1c ] = KEY_PAUSE, // Timeshift/Pause | 994 | [ 0x1c ] = KEY_PAUSE, /* Timeshift/Pause */ |
1013 | [ 0x19 ] = KEY_BACK, // Rewind << | 995 | [ 0x19 ] = KEY_BACK, /* Rewind << */ |
1014 | [ 0x0a ] = KEY_PLAYPAUSE, // Play/Pause | 996 | [ 0x0a ] = KEY_PLAYPAUSE, /* Play/Pause */ |
1015 | [ 0x1f ] = KEY_FORWARD, // Forward >> | 997 | [ 0x1f ] = KEY_FORWARD, /* Forward >> */ |
1016 | [ 0x16 ] = KEY_PREVIOUS, // Back |<< | 998 | [ 0x16 ] = KEY_PREVIOUS, /* Back |<< */ |
1017 | [ 0x11 ] = KEY_STOP, // Stop | 999 | [ 0x11 ] = KEY_STOP, /* Stop */ |
1018 | [ 0x0e ] = KEY_NEXT, // End >>| | 1000 | [ 0x0e ] = KEY_NEXT, /* End >>| */ |
1019 | }; | 1001 | }; |
1020 | 1002 | ||
1021 | EXPORT_SYMBOL_GPL(ir_codes_flydvb); | 1003 | EXPORT_SYMBOL_GPL(ir_codes_flydvb); |
@@ -1033,15 +1015,15 @@ IR_KEYTAB_TYPE ir_codes_cinergy[IR_KEYTAB_SIZE] = { | |||
1033 | [ 0x09 ] = KEY_9, | 1015 | [ 0x09 ] = KEY_9, |
1034 | 1016 | ||
1035 | [ 0x0a ] = KEY_POWER, | 1017 | [ 0x0a ] = KEY_POWER, |
1036 | [ 0x0b ] = KEY_PROG1, // app | 1018 | [ 0x0b ] = KEY_PROG1, /* app */ |
1037 | [ 0x0c ] = KEY_ZOOM, // zoom/fullscreen | 1019 | [ 0x0c ] = KEY_ZOOM, /* zoom/fullscreen */ |
1038 | [ 0x0d ] = KEY_CHANNELUP, // channel | 1020 | [ 0x0d ] = KEY_CHANNELUP, /* channel */ |
1039 | [ 0x0e ] = KEY_CHANNELDOWN, // channel- | 1021 | [ 0x0e ] = KEY_CHANNELDOWN, /* channel- */ |
1040 | [ 0x0f ] = KEY_VOLUMEUP, | 1022 | [ 0x0f ] = KEY_VOLUMEUP, |
1041 | [ 0x10 ] = KEY_VOLUMEDOWN, | 1023 | [ 0x10 ] = KEY_VOLUMEDOWN, |
1042 | [ 0x11 ] = KEY_TUNER, // AV | 1024 | [ 0x11 ] = KEY_TUNER, /* AV */ |
1043 | [ 0x12 ] = KEY_NUMLOCK, // -/-- | 1025 | [ 0x12 ] = KEY_NUMLOCK, /* -/-- */ |
1044 | [ 0x13 ] = KEY_AUDIO, // audio | 1026 | [ 0x13 ] = KEY_AUDIO, /* audio */ |
1045 | [ 0x14 ] = KEY_MUTE, | 1027 | [ 0x14 ] = KEY_MUTE, |
1046 | [ 0x15 ] = KEY_UP, | 1028 | [ 0x15 ] = KEY_UP, |
1047 | [ 0x16 ] = KEY_DOWN, | 1029 | [ 0x16 ] = KEY_DOWN, |
@@ -1049,7 +1031,7 @@ IR_KEYTAB_TYPE ir_codes_cinergy[IR_KEYTAB_SIZE] = { | |||
1049 | [ 0x18 ] = KEY_RIGHT, | 1031 | [ 0x18 ] = KEY_RIGHT, |
1050 | [ 0x19 ] = BTN_LEFT, | 1032 | [ 0x19 ] = BTN_LEFT, |
1051 | [ 0x1a ] = BTN_RIGHT, | 1033 | [ 0x1a ] = BTN_RIGHT, |
1052 | [ 0x1b ] = KEY_WWW, // text | 1034 | [ 0x1b ] = KEY_WWW, /* text */ |
1053 | [ 0x1c ] = KEY_REWIND, | 1035 | [ 0x1c ] = KEY_REWIND, |
1054 | [ 0x1d ] = KEY_FORWARD, | 1036 | [ 0x1d ] = KEY_FORWARD, |
1055 | [ 0x1e ] = KEY_RECORD, | 1037 | [ 0x1e ] = KEY_RECORD, |
@@ -1066,38 +1048,38 @@ EXPORT_SYMBOL_GPL(ir_codes_cinergy); | |||
1066 | * updates from Job D. R. Borges <jobdrb@ig.com.br> */ | 1048 | * updates from Job D. R. Borges <jobdrb@ig.com.br> */ |
1067 | IR_KEYTAB_TYPE ir_codes_eztv[IR_KEYTAB_SIZE] = { | 1049 | IR_KEYTAB_TYPE ir_codes_eztv[IR_KEYTAB_SIZE] = { |
1068 | [ 0x12 ] = KEY_POWER, | 1050 | [ 0x12 ] = KEY_POWER, |
1069 | [ 0x01 ] = KEY_TV, // DVR | 1051 | [ 0x01 ] = KEY_TV, /* DVR */ |
1070 | [ 0x15 ] = KEY_DVD, // DVD | 1052 | [ 0x15 ] = KEY_DVD, /* DVD */ |
1071 | [ 0x17 ] = KEY_AUDIO, // music | 1053 | [ 0x17 ] = KEY_AUDIO, /* music */ |
1072 | // DVR mode / DVD mode / music mode | 1054 | /* DVR mode / DVD mode / music mode */ |
1073 | 1055 | ||
1074 | [ 0x1b ] = KEY_MUTE, // mute | 1056 | [ 0x1b ] = KEY_MUTE, /* mute */ |
1075 | [ 0x02 ] = KEY_LANGUAGE, // MTS/SAP / audio / autoseek | 1057 | [ 0x02 ] = KEY_LANGUAGE, /* MTS/SAP / audio / autoseek */ |
1076 | [ 0x1e ] = KEY_SUBTITLE, // closed captioning / subtitle / seek | 1058 | [ 0x1e ] = KEY_SUBTITLE, /* closed captioning / subtitle / seek */ |
1077 | [ 0x16 ] = KEY_ZOOM, // full screen | 1059 | [ 0x16 ] = KEY_ZOOM, /* full screen */ |
1078 | [ 0x1c ] = KEY_VIDEO, // video source / eject / delall | 1060 | [ 0x1c ] = KEY_VIDEO, /* video source / eject / delall */ |
1079 | [ 0x1d ] = KEY_RESTART, // playback / angle / del | 1061 | [ 0x1d ] = KEY_RESTART, /* playback / angle / del */ |
1080 | [ 0x2f ] = KEY_SEARCH, // scan / menu / playlist | 1062 | [ 0x2f ] = KEY_SEARCH, /* scan / menu / playlist */ |
1081 | [ 0x30 ] = KEY_CHANNEL, // CH surfing / bookmark / memo | 1063 | [ 0x30 ] = KEY_CHANNEL, /* CH surfing / bookmark / memo */ |
1082 | 1064 | ||
1083 | [ 0x31 ] = KEY_HELP, // help | 1065 | [ 0x31 ] = KEY_HELP, /* help */ |
1084 | [ 0x32 ] = KEY_MODE, // num/memo | 1066 | [ 0x32 ] = KEY_MODE, /* num/memo */ |
1085 | [ 0x33 ] = KEY_ESC, // cancel | 1067 | [ 0x33 ] = KEY_ESC, /* cancel */ |
1086 | 1068 | ||
1087 | [ 0x0c ] = KEY_UP, // up | 1069 | [ 0x0c ] = KEY_UP, /* up */ |
1088 | [ 0x10 ] = KEY_DOWN, // down | 1070 | [ 0x10 ] = KEY_DOWN, /* down */ |
1089 | [ 0x08 ] = KEY_LEFT, // left | 1071 | [ 0x08 ] = KEY_LEFT, /* left */ |
1090 | [ 0x04 ] = KEY_RIGHT, // right | 1072 | [ 0x04 ] = KEY_RIGHT, /* right */ |
1091 | [ 0x03 ] = KEY_SELECT, // select | 1073 | [ 0x03 ] = KEY_SELECT, /* select */ |
1092 | 1074 | ||
1093 | [ 0x1f ] = KEY_REWIND, // rewind | 1075 | [ 0x1f ] = KEY_REWIND, /* rewind */ |
1094 | [ 0x20 ] = KEY_PLAYPAUSE, // play/pause | 1076 | [ 0x20 ] = KEY_PLAYPAUSE, /* play/pause */ |
1095 | [ 0x29 ] = KEY_FORWARD, // forward | 1077 | [ 0x29 ] = KEY_FORWARD, /* forward */ |
1096 | [ 0x14 ] = KEY_AGAIN, // repeat | 1078 | [ 0x14 ] = KEY_AGAIN, /* repeat */ |
1097 | [ 0x2b ] = KEY_RECORD, // recording | 1079 | [ 0x2b ] = KEY_RECORD, /* recording */ |
1098 | [ 0x2c ] = KEY_STOP, // stop | 1080 | [ 0x2c ] = KEY_STOP, /* stop */ |
1099 | [ 0x2d ] = KEY_PLAY, // play | 1081 | [ 0x2d ] = KEY_PLAY, /* play */ |
1100 | [ 0x2e ] = KEY_SHUFFLE, // snapshot / shuffle | 1082 | [ 0x2e ] = KEY_SHUFFLE, /* snapshot / shuffle */ |
1101 | 1083 | ||
1102 | [ 0x00 ] = KEY_0, | 1084 | [ 0x00 ] = KEY_0, |
1103 | [ 0x05 ] = KEY_1, | 1085 | [ 0x05 ] = KEY_1, |
@@ -1112,11 +1094,11 @@ IR_KEYTAB_TYPE ir_codes_eztv[IR_KEYTAB_SIZE] = { | |||
1112 | 1094 | ||
1113 | [ 0x2a ] = KEY_VOLUMEUP, | 1095 | [ 0x2a ] = KEY_VOLUMEUP, |
1114 | [ 0x11 ] = KEY_VOLUMEDOWN, | 1096 | [ 0x11 ] = KEY_VOLUMEDOWN, |
1115 | [ 0x18 ] = KEY_CHANNELUP, // CH.tracking up | 1097 | [ 0x18 ] = KEY_CHANNELUP, /* CH.tracking up */ |
1116 | [ 0x19 ] = KEY_CHANNELDOWN, // CH.tracking down | 1098 | [ 0x19 ] = KEY_CHANNELDOWN, /* CH.tracking down */ |
1117 | 1099 | ||
1118 | [ 0x13 ] = KEY_ENTER, // enter | 1100 | [ 0x13 ] = KEY_ENTER, /* enter */ |
1119 | [ 0x21 ] = KEY_DOT, // . (decimal dot) | 1101 | [ 0x21 ] = KEY_DOT, /* . (decimal dot) */ |
1120 | }; | 1102 | }; |
1121 | 1103 | ||
1122 | EXPORT_SYMBOL_GPL(ir_codes_eztv); | 1104 | EXPORT_SYMBOL_GPL(ir_codes_eztv); |
@@ -1314,7 +1296,7 @@ IR_KEYTAB_TYPE ir_codes_manli[IR_KEYTAB_SIZE] = { | |||
1314 | [ 0x13 ] = KEY_MUTE, | 1296 | [ 0x13 ] = KEY_MUTE, |
1315 | [ 0x19 ] = KEY_RECORD, /*XXX*/ | 1297 | [ 0x19 ] = KEY_RECORD, /*XXX*/ |
1316 | 1298 | ||
1317 | // 0x1d unused ? | 1299 | /* 0x1d unused ? */ |
1318 | }; | 1300 | }; |
1319 | 1301 | ||
1320 | EXPORT_SYMBOL_GPL(ir_codes_manli); | 1302 | EXPORT_SYMBOL_GPL(ir_codes_manli); |