aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/ir-keymaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/ir-keymaps.c')
-rw-r--r--drivers/media/common/ir-keymaps.c82
1 files changed, 71 insertions, 11 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c
index a294d5c2c73f..ca98d9478947 100644
--- a/drivers/media/common/ir-keymaps.c
+++ b/drivers/media/common/ir-keymaps.c
@@ -618,7 +618,7 @@ IR_KEYTAB_TYPE ir_codes_em_terratec[IR_KEYTAB_SIZE] = {
618 618
619EXPORT_SYMBOL_GPL(ir_codes_em_terratec); 619EXPORT_SYMBOL_GPL(ir_codes_em_terratec);
620 620
621IR_KEYTAB_TYPE ir_codes_em_pinnacle_usb[IR_KEYTAB_SIZE] = { 621IR_KEYTAB_TYPE ir_codes_pinnacle_grey[IR_KEYTAB_SIZE] = {
622 [ 0x3a ] = KEY_0, 622 [ 0x3a ] = KEY_0,
623 [ 0x31 ] = KEY_1, 623 [ 0x31 ] = KEY_1,
624 [ 0x32 ] = KEY_2, 624 [ 0x32 ] = KEY_2,
@@ -670,7 +670,7 @@ IR_KEYTAB_TYPE ir_codes_em_pinnacle_usb[IR_KEYTAB_SIZE] = {
670 [ 0x27 ] = KEY_RECORD, 670 [ 0x27 ] = KEY_RECORD,
671}; 671};
672 672
673EXPORT_SYMBOL_GPL(ir_codes_em_pinnacle_usb); 673EXPORT_SYMBOL_GPL(ir_codes_pinnacle_grey);
674 674
675IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = { 675IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = {
676 [ 0x0f ] = KEY_0, 676 [ 0x0f ] = KEY_0,
@@ -1263,34 +1263,51 @@ IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = {
1263 [ 0x0f ] = KEY_9, 1263 [ 0x0f ] = KEY_9,
1264 1264
1265 [ 0x00 ] = KEY_POWER, 1265 [ 0x00 ] = KEY_POWER,
1266 [ 0x02 ] = KEY_TUNER, /* TV/FM */ 1266 [ 0x1b ] = KEY_AUDIO, /* Audio Source */
1267 [ 0x1e ] = KEY_VIDEO, 1267 [ 0x02 ] = KEY_TUNER, /* TV/FM, not on Y0400052 */
1268 [ 0x1e ] = KEY_VIDEO, /* Video Source */
1269 [ 0x16 ] = KEY_INFO, /* Display information */
1268 [ 0x04 ] = KEY_VOLUMEUP, 1270 [ 0x04 ] = KEY_VOLUMEUP,
1269 [ 0x08 ] = KEY_VOLUMEDOWN, 1271 [ 0x08 ] = KEY_VOLUMEDOWN,
1270 [ 0x0c ] = KEY_CHANNELUP, 1272 [ 0x0c ] = KEY_CHANNELUP,
1271 [ 0x10 ] = KEY_CHANNELDOWN, 1273 [ 0x10 ] = KEY_CHANNELDOWN,
1272 [ 0x03 ] = KEY_ZOOM, /* fullscreen */ 1274 [ 0x03 ] = KEY_ZOOM, /* fullscreen */
1273 [ 0x1f ] = KEY_SUBTITLE, /* closed caption/teletext */ 1275 [ 0x1f ] = KEY_TEXT, /* closed caption/teletext */
1274 [ 0x20 ] = KEY_SLEEP, 1276 [ 0x20 ] = KEY_SLEEP,
1277 [ 0x29 ] = KEY_CLEAR, /* boss key */
1275 [ 0x14 ] = KEY_MUTE, 1278 [ 0x14 ] = KEY_MUTE,
1276 [ 0x2b ] = KEY_RED, 1279 [ 0x2b ] = KEY_RED,
1277 [ 0x2c ] = KEY_GREEN, 1280 [ 0x2c ] = KEY_GREEN,
1278 [ 0x2d ] = KEY_YELLOW, 1281 [ 0x2d ] = KEY_YELLOW,
1279 [ 0x2e ] = KEY_BLUE, 1282 [ 0x2e ] = KEY_BLUE,
1280 [ 0x18 ] = KEY_KPPLUS, /* fine tune + */ 1283 [ 0x18 ] = KEY_KPPLUS, /* fine tune + , not on Y040052 */
1281 [ 0x19 ] = KEY_KPMINUS, /* fine tune - */ 1284 [ 0x19 ] = KEY_KPMINUS, /* fine tune - , not on Y040052 */
1285 [ 0x2a ] = KEY_MEDIA, /* PIP (Picture in picture */
1282 [ 0x21 ] = KEY_DOT, 1286 [ 0x21 ] = KEY_DOT,
1283 [ 0x13 ] = KEY_ENTER, 1287 [ 0x13 ] = KEY_ENTER,
1284 [ 0x22 ] = KEY_BACK, 1288 [ 0x11 ] = KEY_LAST, /* Recall (last channel */
1289 [ 0x22 ] = KEY_PREVIOUS,
1285 [ 0x23 ] = KEY_PLAYPAUSE, 1290 [ 0x23 ] = KEY_PLAYPAUSE,
1286 [ 0x24 ] = KEY_NEXT, 1291 [ 0x24 ] = KEY_NEXT,
1292 [ 0x25 ] = KEY_ARCHIVE, /* Time Shifting */
1287 [ 0x26 ] = KEY_STOP, 1293 [ 0x26 ] = KEY_STOP,
1288 [ 0x27 ] = KEY_RECORD 1294 [ 0x27 ] = KEY_RECORD,
1295 [ 0x28 ] = KEY_SAVE, /* Screenshot */
1296 [ 0x2f ] = KEY_MENU,
1297 [ 0x30 ] = KEY_CANCEL,
1298 [ 0x31 ] = KEY_CHANNEL, /* Channel Surf */
1299 [ 0x32 ] = KEY_SUBTITLE,
1300 [ 0x33 ] = KEY_LANGUAGE,
1301 [ 0x34 ] = KEY_REWIND,
1302 [ 0x35 ] = KEY_FASTFORWARD,
1303 [ 0x36 ] = KEY_TV,
1304 [ 0x37 ] = KEY_RADIO, /* FM */
1305 [ 0x38 ] = KEY_DVD
1289}; 1306};
1290 1307
1291EXPORT_SYMBOL_GPL(ir_codes_winfast); 1308EXPORT_SYMBOL_GPL(ir_codes_winfast);
1292 1309
1293IR_KEYTAB_TYPE ir_codes_pinnacle[IR_KEYTAB_SIZE] = { 1310IR_KEYTAB_TYPE ir_codes_pinnacle_color[IR_KEYTAB_SIZE] = {
1294 [ 0x59 ] = KEY_MUTE, 1311 [ 0x59 ] = KEY_MUTE,
1295 [ 0x4a ] = KEY_POWER, 1312 [ 0x4a ] = KEY_POWER,
1296 1313
@@ -1348,7 +1365,7 @@ IR_KEYTAB_TYPE ir_codes_pinnacle[IR_KEYTAB_SIZE] = {
1348 [ 0x0a ] = KEY_BACKSPACE, 1365 [ 0x0a ] = KEY_BACKSPACE,
1349}; 1366};
1350 1367
1351EXPORT_SYMBOL_GPL(ir_codes_pinnacle); 1368EXPORT_SYMBOL_GPL(ir_codes_pinnacle_color);
1352 1369
1353/* Hauppauge: the newer, gray remotes (seems there are multiple 1370/* Hauppauge: the newer, gray remotes (seems there are multiple
1354 * slightly different versions), shipped with cx88+ivtv cards. 1371 * slightly different versions), shipped with cx88+ivtv cards.
@@ -1413,3 +1430,46 @@ IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = {
1413 1430
1414EXPORT_SYMBOL_GPL(ir_codes_hauppauge_new); 1431EXPORT_SYMBOL_GPL(ir_codes_hauppauge_new);
1415 1432
1433IR_KEYTAB_TYPE ir_codes_npgtech[IR_KEYTAB_SIZE] = {
1434 [ 0x1d ] = KEY_SWITCHVIDEOMODE, /* switch inputs */
1435 [ 0x2a ] = KEY_FRONT,
1436
1437 [ 0x3e ] = KEY_1,
1438 [ 0x02 ] = KEY_2,
1439 [ 0x06 ] = KEY_3,
1440 [ 0x0a ] = KEY_4,
1441 [ 0x0e ] = KEY_5,
1442 [ 0x12 ] = KEY_6,
1443 [ 0x16 ] = KEY_7,
1444 [ 0x1a ] = KEY_8,
1445 [ 0x1e ] = KEY_9,
1446 [ 0x3a ] = KEY_0,
1447 [ 0x22 ] = KEY_NUMLOCK, /* -/-- */
1448 [ 0x20 ] = KEY_REFRESH,
1449
1450 [ 0x03 ] = KEY_BRIGHTNESSDOWN,
1451 [ 0x28 ] = KEY_AUDIO,
1452 [ 0x3c ] = KEY_UP,
1453 [ 0x3f ] = KEY_LEFT,
1454 [ 0x2e ] = KEY_MUTE,
1455 [ 0x3b ] = KEY_RIGHT,
1456 [ 0x00 ] = KEY_DOWN,
1457 [ 0x07 ] = KEY_BRIGHTNESSUP,
1458 [ 0x2c ] = KEY_TEXT,
1459
1460 [ 0x37 ] = KEY_RECORD,
1461 [ 0x17 ] = KEY_PLAY,
1462 [ 0x13 ] = KEY_PAUSE,
1463 [ 0x26 ] = KEY_STOP,
1464 [ 0x18 ] = KEY_FASTFORWARD,
1465 [ 0x14 ] = KEY_REWIND,
1466 [ 0x33 ] = KEY_ZOOM,
1467 [ 0x32 ] = KEY_KEYBOARD,
1468 [ 0x30 ] = KEY_GOTO, /* Pointing arrow */
1469 [ 0x36 ] = KEY_MACRO, /* Maximize/Minimize (yellow) */
1470 [ 0x0b ] = KEY_RADIO,
1471 [ 0x10 ] = KEY_POWER,
1472
1473};
1474
1475EXPORT_SYMBOL_GPL(ir_codes_npgtech);