diff options
author | Peter Naulls <peter@chocky.org> | 2006-08-08 08:10:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 10:53:17 -0400 |
commit | d1009bd733a9324baff74611e0635e17fce4dfa2 (patch) | |
tree | 1a24068f7ad17615b950717514d7996a1f136d5f /drivers/media/common | |
parent | 5dbaa2cb757545f8238319d55aa75cc8fabc8212 (diff) |
V4L/DVB (4361): Cx88: add support for Norwood PCI TV Tuner (non-pro)
This patch adds support for Norwood PCI TV Tuner (non-pro)
Signed-off-by: Peter Naulls <peter@chocky.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/ir-keymaps.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c index ca98d9478947..ce1281445dde 100644 --- a/drivers/media/common/ir-keymaps.c +++ b/drivers/media/common/ir-keymaps.c | |||
@@ -1473,3 +1473,51 @@ IR_KEYTAB_TYPE ir_codes_npgtech[IR_KEYTAB_SIZE] = { | |||
1473 | }; | 1473 | }; |
1474 | 1474 | ||
1475 | EXPORT_SYMBOL_GPL(ir_codes_npgtech); | 1475 | EXPORT_SYMBOL_GPL(ir_codes_npgtech); |
1476 | |||
1477 | /* Norwood Micro (non-Pro) TV Tuner | ||
1478 | By Peter Naulls <peter@chocky.org> | ||
1479 | Key comments are the functions given in the manual */ | ||
1480 | IR_KEYTAB_TYPE ir_codes_norwood[IR_KEYTAB_SIZE] = { | ||
1481 | /* Keys 0 to 9 */ | ||
1482 | [ 0x20 ] = KEY_0, | ||
1483 | [ 0x21 ] = KEY_1, | ||
1484 | [ 0x22 ] = KEY_2, | ||
1485 | [ 0x23 ] = KEY_3, | ||
1486 | [ 0x24 ] = KEY_4, | ||
1487 | [ 0x25 ] = KEY_5, | ||
1488 | [ 0x26 ] = KEY_6, | ||
1489 | [ 0x27 ] = KEY_7, | ||
1490 | [ 0x28 ] = KEY_8, | ||
1491 | [ 0x29 ] = KEY_9, | ||
1492 | |||
1493 | [ 0x78 ] = KEY_TUNER, /* Video Source */ | ||
1494 | [ 0x2c ] = KEY_EXIT, /* Open/Close software */ | ||
1495 | [ 0x2a ] = KEY_SELECT, /* 2 Digit Select */ | ||
1496 | [ 0x69 ] = KEY_AGAIN, /* Recall */ | ||
1497 | |||
1498 | [ 0x32 ] = KEY_BRIGHTNESSUP, /* Brightness increase */ | ||
1499 | [ 0x33 ] = KEY_BRIGHTNESSDOWN, /* Brightness decrease */ | ||
1500 | [ 0x6b ] = KEY_KPPLUS, /* (not named >>>>>) */ | ||
1501 | [ 0x6c ] = KEY_KPMINUS, /* (not named <<<<<) */ | ||
1502 | |||
1503 | [ 0x2d ] = KEY_MUTE, /* Mute */ | ||
1504 | [ 0x30 ] = KEY_VOLUMEUP, /* Volume up */ | ||
1505 | [ 0x31 ] = KEY_VOLUMEDOWN, /* Volume down */ | ||
1506 | [ 0x60 ] = KEY_CHANNELUP, /* Channel up */ | ||
1507 | [ 0x61 ] = KEY_CHANNELDOWN, /* Channel down */ | ||
1508 | |||
1509 | [ 0x3f ] = KEY_RECORD, /* Record */ | ||
1510 | [ 0x37 ] = KEY_PLAY, /* Play */ | ||
1511 | [ 0x36 ] = KEY_PAUSE, /* Pause */ | ||
1512 | [ 0x2b ] = KEY_STOP, /* Stop */ | ||
1513 | [ 0x67 ] = KEY_FASTFORWARD, /* Foward */ | ||
1514 | [ 0x66 ] = KEY_REWIND, /* Rewind */ | ||
1515 | [ 0x3e ] = KEY_SEARCH, /* Auto Scan */ | ||
1516 | [ 0x2e ] = KEY_CAMERA, /* Capture Video */ | ||
1517 | [ 0x6d ] = KEY_MENU, /* Show/Hide Control */ | ||
1518 | [ 0x2f ] = KEY_ZOOM, /* Full Screen */ | ||
1519 | [ 0x34 ] = KEY_RADIO, /* FM */ | ||
1520 | [ 0x65 ] = KEY_POWER, /* Computer power */ | ||
1521 | }; | ||
1522 | |||
1523 | EXPORT_SYMBOL_GPL(ir_codes_norwood); | ||