ozone: evdev: Disallow Z axis on touchscreens that left click
This slightly reduces the scope of the change to allow touchscreens with
mouse buttons - it no longer applies if there is a Z axis.
It's a targeted workaround for an extra device on Elo optical touch
that's detected as a touchscreen in addition to the main device. We
don't support 2 touchscreens for the same display currently.
A better fix would be to allow multiple touchscreens robustly in ash but
this is too large a change for M44.
The targeted device is as follows:
I: Bus=0003 Vendor=04e7 Product=0080 Version=0111
N: Name="Elo TouchSystems Optical Touchscreen 02.04.22.02."
P: Phys=usb-0000:00:14.0-5.2/input2
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.2/1-5.2:1.2/input/input21
U: Uniq=XREDACTEDXX
H: Handlers=event8 js1
B: PROP=0
B: EV=1b
EV_SYN
EV_KEY
EV_ABS
EV_MSC
B: KEY=3f0000 0 0 0 0
BTN_LEFT
BTN_RIGHT
BTN_MIDDLE
BTN_SIDE
BTN_EXTRA
BTN_FORWARD
B: ABS=
1000000000f
ABS_X
ABS_Y
ABS_Z
ABS_RX
ABS_MISC
B: MSC=10
MSC_SCAN
It's not clear what this device is for, but it's not working as the
touchscreen so don't detect it as such.
BUG=505842
TEST=none
Review URL: https://codereview.chromium.org/
1231603006
Cr-Commit-Position: refs/heads/master@{#338506}