diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2006-10-17 18:28:10 -0300 |
---|---|---|
committer | Patrick Boettcher <pb@linuxtv.org> | 2006-10-17 18:28:10 -0300 |
commit | 41b8fccc310befbfcbd14da5c5005bfd570f7517 (patch) | |
tree | bf880a1ecf83ae2537cee25b5061b4daa4cdca35 /linux | |
parent | b57e88a501d92c3a86c4975d5606950383234b00 (diff) | |
download | mediapointer-dvb-s2-41b8fccc310befbfcbd14da5c5005bfd570f7517.tar.gz mediapointer-dvb-s2-41b8fccc310befbfcbd14da5c5005bfd570f7517.tar.bz2 |
dvb-usb/vp7045.c patch for extra key
From: Luke Deller <luke@deller.id.au>
Add support for more keys on the remote control included with the
DigitalNow tinyUSB2 DVB-T Receiver.
Signed-off-by: Luke Deller <luke@deller.id.au>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/vp7045.c | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/vp7045.c b/linux/drivers/media/dvb/dvb-usb/vp7045.c index 62651960e..0ddeb3fce 100644 --- a/linux/drivers/media/dvb/dvb-usb/vp7045.c +++ b/linux/drivers/media/dvb/dvb-usb/vp7045.c @@ -125,7 +125,33 @@ static struct dvb_usb_rc_key vp7045_rc_keys[] = { { 0x00, 0x00, KEY_TAB }, /* Tab */ { 0x00, 0x48, KEY_INFO }, /* Preview */ { 0x00, 0x04, KEY_LIST }, /* RecordList */ - { 0x00, 0x0f, KEY_TEXT } /* Teletext */ + { 0x00, 0x0f, KEY_TEXT }, /* Teletext */ + { 0x00, 0x41, KEY_PREVIOUSSONG }, + { 0x00, 0x42, KEY_NEXTSONG }, + { 0x00, 0x4b, KEY_UP }, + { 0x00, 0x51, KEY_DOWN }, + { 0x00, 0x4e, KEY_LEFT }, + { 0x00, 0x52, KEY_RIGHT }, + { 0x00, 0x4f, KEY_ENTER }, + { 0x00, 0x13, KEY_CANCEL }, + { 0x00, 0x4a, KEY_CLEAR }, + { 0x00, 0x54, KEY_PRINT }, /* Capture */ + { 0x00, 0x43, KEY_SUBTITLE }, /* Subtitle/CC */ + { 0x00, 0x08, KEY_VIDEO }, /* A/V */ + { 0x00, 0x07, KEY_SLEEP }, /* Hibernate */ + { 0x00, 0x45, KEY_ZOOM }, /* Zoom+ */ + { 0x00, 0x18, KEY_RED}, + { 0x00, 0x53, KEY_GREEN}, + { 0x00, 0x5e, KEY_YELLOW}, + { 0x00, 0x5f, KEY_BLUE} +#if 0 + /* not sure which linux key codes to use for the following buttons: */ + { 0x00, 0x46, ???}, /* Zoom- */ + { 0x00, 0x0e, ???}, /* Recall */ + { 0x00, 0x49, ???}, /* L/R */ + { 0x00, 0x47, ???}, /* PIP */ + { 0x00, 0x50, ???}, /* SAP */ +#endif }; static int vp7045_rc_query(struct dvb_usb_device *d, u32 *event, int *state) |