]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
HID: input: Set INPUT_PROP_-property for HID_UP_DIGITIZERS
authorTatsunosuke Tobita <junkpainting@gmail.com>
Wed, 8 Aug 2018 00:31:43 +0000 (09:31 +0900)
committerJiri Kosina <jkosina@suse.cz>
Wed, 5 Sep 2018 14:59:24 +0000 (16:59 +0200)
commit8473a93d1ba5385f63a128a285702ccc1d3ae2cc
treecdf727581a2f4d99c5f540894ff82d592857a93b
parentd7065620b89fcc183caa6fa6ea36de5e01211137
HID: input: Set INPUT_PROP_-property for HID_UP_DIGITIZERS

Some system may want to know if a detected digitizer device is either an
integrated or an external device.  In order to distinguish such condition,
setting either INPUT_PROP_DIRECT or INPUT_PROP_POINTER is required,
checking the member, "application", in "hid_field" structure.

Signed-off-by: Tatsunosuke Tobita <tobita.tatsunosuke@wacom.co.jp>
Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c