diff options
author | Luke Deller <luke@deller.id.au> | 2006-10-17 17:28:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-10 05:50:59 -0500 |
commit | 3cc2e4c3a137075ee66e2d4ce95a95ba153bd7b9 (patch) | |
tree | 8346e038668555ce870a056880186bc658f83bfd /drivers/media/dvb/dvb-usb | |
parent | cc75aede1b1ce29a478911ad7dadee94ecd45bbf (diff) |
V4L/DVB (4765): Dvb-usb/vp7045.c patch for extra key
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r-- | drivers/media/dvb/dvb-usb/vp7045.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/vp7045.c b/drivers/media/dvb/dvb-usb/vp7045.c index 297806225f8..69a46b3607a 100644 --- a/drivers/media/dvb/dvb-usb/vp7045.c +++ b/drivers/media/dvb/dvb-usb/vp7045.c | |||
@@ -125,7 +125,25 @@ static struct dvb_usb_rc_key vp7045_rc_keys[] = { | |||
125 | { 0x00, 0x00, KEY_TAB }, /* Tab */ | 125 | { 0x00, 0x00, KEY_TAB }, /* Tab */ |
126 | { 0x00, 0x48, KEY_INFO }, /* Preview */ | 126 | { 0x00, 0x48, KEY_INFO }, /* Preview */ |
127 | { 0x00, 0x04, KEY_LIST }, /* RecordList */ | 127 | { 0x00, 0x04, KEY_LIST }, /* RecordList */ |
128 | { 0x00, 0x0f, KEY_TEXT } /* Teletext */ | 128 | { 0x00, 0x0f, KEY_TEXT }, /* Teletext */ |
129 | { 0x00, 0x41, KEY_PREVIOUSSONG }, | ||
130 | { 0x00, 0x42, KEY_NEXTSONG }, | ||
131 | { 0x00, 0x4b, KEY_UP }, | ||
132 | { 0x00, 0x51, KEY_DOWN }, | ||
133 | { 0x00, 0x4e, KEY_LEFT }, | ||
134 | { 0x00, 0x52, KEY_RIGHT }, | ||
135 | { 0x00, 0x4f, KEY_ENTER }, | ||
136 | { 0x00, 0x13, KEY_CANCEL }, | ||
137 | { 0x00, 0x4a, KEY_CLEAR }, | ||
138 | { 0x00, 0x54, KEY_PRINT }, /* Capture */ | ||
139 | { 0x00, 0x43, KEY_SUBTITLE }, /* Subtitle/CC */ | ||
140 | { 0x00, 0x08, KEY_VIDEO }, /* A/V */ | ||
141 | { 0x00, 0x07, KEY_SLEEP }, /* Hibernate */ | ||
142 | { 0x00, 0x45, KEY_ZOOM }, /* Zoom+ */ | ||
143 | { 0x00, 0x18, KEY_RED}, | ||
144 | { 0x00, 0x53, KEY_GREEN}, | ||
145 | { 0x00, 0x5e, KEY_YELLOW}, | ||
146 | { 0x00, 0x5f, KEY_BLUE} | ||
129 | }; | 147 | }; |
130 | 148 | ||
131 | static int vp7045_rc_query(struct dvb_usb_device *d, u32 *event, int *state) | 149 | static int vp7045_rc_query(struct dvb_usb_device *d, u32 *event, int *state) |