Dave and Bastien Nocera
83af40679a
elan: ELAN_0C42 always supports calibration
...
Split off calibration support checks into elan_supports_calibration()
2019-06-06 12:19:31 +02:00
Dave and Bastien Nocera
ce31c1d704
elan: Work-around one-byte responses being two-bytes long
...
On the ELAN_0C42 device, one-byte responses are 2 bytes long.
Adapt our expected response length.
2019-06-06 12:19:31 +02:00
Dave and Bastien Nocera
b20a74a22c
elan: Work-around sensors returning incorrect dimensions
...
The dimensions some sensors return is the maximum zero-based index
rather than the number of pixels. Assuming every sensor has an
even number of pixels is safe.
2019-06-06 12:19:31 +02:00
Dave and Bastien Nocera
66461e4c81
elan: Add quirk definition for device 04f3:0c42
2019-06-06 12:19:07 +02:00