summaryrefslogtreecommitdiffstats
path: root/samples/hidraw/hid-example.c
diff options
context:
space:
mode:
authorDmitry Torokhov2015-03-04 23:10:26 +0100
committerJiri Kosina2015-03-04 23:31:36 +0100
commitf3dddf2432e3123ef34b470129295641f7513d26 (patch)
tree566ea08d262f831f2eb66b651416ada0816f82db /samples/hidraw/hid-example.c
parentHID: remove 2 unused usb.h includes (diff)
downloadkernel-qcow2-linux-f3dddf2432e3123ef34b470129295641f7513d26.tar.gz
kernel-qcow2-linux-f3dddf2432e3123ef34b470129295641f7513d26.tar.xz
kernel-qcow2-linux-f3dddf2432e3123ef34b470129295641f7513d26.zip
HID: map telephony usage page
Currently HID code maps usages from telephony page into BTN_0, BTN_1, etc keys which get interpreted by mousedev and userspace as left/right/middle button clicks, which is not really helpful. This change adds mappings for usages that have corresponding input event definitions, and leaves the rest unmapped. This can be changed when there are userspace consumers for more telephony usages. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples/hidraw/hid-example.c')
0 files changed, 0 insertions, 0 deletions