HID: hid-input: Add eraser usage to hidinput_configure_usage
authorPing Cheng <pinglinux@gmail.com>
Tue, 3 Oct 2017 22:05:41 +0000 (15:05 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 5 Oct 2017 09:20:12 +0000 (11:20 +0200)
commit654c192a72ffa7e415a9f58a4f4c5f4368b754e7
tree9c4d81150c6b8758aa466a031578762819a6c596
parentfc5431dc06d442828c8f92fb913257f7df3079aa
HID: hid-input: Add eraser usage to hidinput_configure_usage

Some tablets report eraser usage to indicate the eraser tool tip
is touching the surface. But, hidinput_configure_usage didn't
support the usage, which led it falls into default as ABS_MISC.

Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c