
On 17 December 2011 14:15, Brian May <brian@microcomaustralia.com.au> wrote:
Then, look up rc-hauppauge in the kernel source, I find the linux-source-3.0.0/drivers/media/rc/keymaps/rc-hauppauge.c file. However, this has more entries then what is shown by "keytable -r". In particular, the kernel source has codes prefixed with 0x1e, and ox1f that don't show. I have traced the code, but can't see why the list is being filtered. So this is one aspect I don't understand.
Ooops. Just noticed that rc_register_device() calls ir_setkeytable() which calls ir_establish_scancode() which does the masking. So one issue explained.... Looks like it should really be masking the input scancode before comparing it though, it seems this isn't happening. -- Brian May <brian@microcomaustralia.com.au>