]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
HID: input: Map unknown consumer page codes to KEY_UNKNOWN
authorHans de Goede <hdegoede@redhat.com>
Tue, 21 Oct 2014 21:11:00 +0000 (23:11 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 22 Oct 2014 09:59:58 +0000 (11:59 +0200)
commitafdb5cce979b7d3100d58bdce70c8be6093a8915
tree66e412aab6be50a550a03a969e1fd158d63c29dc
parent39520eea198a7fbba35f4c7cffb4323f78455716
HID: input: Map unknown consumer page codes to KEY_UNKNOWN

Currently unknown consumer page codes are ignored, which means that they cannot
later be mapped from userspace using udev / hwdb. Map them to KEY_UNKNOWN, so
that userspace can remap them for keyboards which make up their own consumer
page codes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c