]> git.baikalelectronics.ru Git - kernel.git/commit
HID: extend mask for BUTTON usage page
authorJiri Kosina <jkosina@suse.cz>
Wed, 17 Feb 2010 08:36:35 +0000 (09:36 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 17 Feb 2010 08:36:35 +0000 (09:36 +0100)
commit52e29a07fef004c765b6588d507ade27ee17eb20
treec0c3caeb4cc296f42dffb65f5e0b8418389ad66e
parente00771821c13017b8bde8d8ff8283a534015088d
HID: extend mask for BUTTON usage page

Now that joystick button usages can expand over 15 buttons, we
have to properly mask out the code from hid usage to cover the
whole 0xffff available space.

Reported-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c