Messages in this thread | | | Subject | Re: [PATCH 2/3] v4l: saa7134: enable ir-remote for 10moons TM300 card | From | Tony Wan <> | Date | Thu, 10 May 2007 16:54:21 +0800 |
| |
Hi, Nickolay: Thanks for you suggestion!
On Thu, 2007-05-10 at 10:14 +0400, Nickolay V. Shmyrev wrote: > Size of 256 is not required. You've just selected incorrect keymask, > that's why you have so big values. Look through your values, in the > upper 4 bits only two bits are used - 0x80 and 0x10. So you should > probably use mask_keycode with 0x47800000 instead of mask_keycode = > 0x7f80000. Or even smaller mask. Include only bits which change the > values, nothing more. >
The key codes confused me for some time and now I get solutions. I'll change the mask value and calculate the new codes later.
Best regards.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |