aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2018-07-13 16:13:48 +0200
committerJiri Kosina <jkosina@suse.cz>2018-07-17 15:33:47 +0200
commit01eaac7e57134cae4e75b36195a10d525939c7bf (patch)
tree80538e4cccd73d57434322359ef698ecce8b7d83 /include/linux/hid.h
parentHID: multitouch: ditch mt_report_id (diff)
downloadlinux-dev-01eaac7e57134cae4e75b36195a10d525939c7bf.tar.xz
linux-dev-01eaac7e57134cae4e75b36195a10d525939c7bf.zip
HID: multitouch: remove one copy of values
The current way of handling multitouch data is not very straightforward: - in mt_event() we do nothing - in mt_report() we: - do some gym to fetch the scantime and the contact count - then iterate over the input fields where we copy the data to a temporary place - when we see the last field in a slot, we then use this data to emit the input data A more streamlined way is to first get all of the address in the report of all fields, and then just pick the fields we are interested in in mt_report() Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
0 files changed, 0 insertions, 0 deletions