diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-05-29 12:56:24 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-05-29 12:56:24 -0400 |
commit | 80bc46fcfbad66fc60879ac3d4ae1fd4aed6b3ae (patch) | |
tree | 9e9fc12811506650f76e74f7468dea66711a196a /linux/drivers/media/video/cx88 | |
parent | da1ac9db3bc1449b70b3d1697ff35d734cff3a42 (diff) | |
download | mediapointer-dvb-s2-80bc46fcfbad66fc60879ac3d4ae1fd4aed6b3ae.tar.gz mediapointer-dvb-s2-80bc46fcfbad66fc60879ac3d4ae1fd4aed6b3ae.tar.bz2 |
cx88: IR remote support for DTV2000H
From: Malcolm Valentine <farkit@iinet.net.au>
Adds support for the Y0400052 remote supplied with this card.
In addition to adding a number of buttons to the current winfast definition,
it enables all the keys currently masked out with #ifdef 0.
It is supplied separately as it remaps two keys from the current definition,
The teletext button now sends KEY_TEXT instead of KEY_SUBTITLE, as that
keycode is used by the subtitle button.
KEY_BACK was changed to KEY_LAST to group it with KEY_NEXT.
Other then that the keys don't overlap, so this should support several
different versions of the Leadtek remotes.
Signed-off-by: Malcolm Valentine <farkit@iinet.net.au>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-input.c b/linux/drivers/media/video/cx88/cx88-input.c index 6f89109a0..8b8bbb1b5 100644 --- a/linux/drivers/media/video/cx88/cx88-input.c +++ b/linux/drivers/media/video/cx88/cx88-input.c @@ -192,12 +192,13 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci) ir_type = IR_TYPE_RC5; ir->sampling = 1; break; + case CX88_BOARD_WINFAST_DTV2000H: case CX88_BOARD_WINFAST2000XP_EXPERT: ir_codes = ir_codes_winfast; ir->gpio_addr = MO_GP0_IO; ir->mask_keycode = 0x8f8; ir->mask_keyup = 0x100; - ir->polling = 1; /* ms */ + ir->polling = 50; /* ms */ break; case CX88_BOARD_IODATA_GVBCTV7E: ir_codes = ir_codes_iodata_bctv7e; |