summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/imt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* On some laptops that have a Windows Precision Touchpad (imt) andjcs2020-07-091-4/+10
| | | | | | | | | | | also a trackstick or separate physical buttons, imt was claiming all report ids of the ihidev device preventing the trackstick/buttons from attaching as a separate ims device on other report ids. Just claim the report ids that imt needs and let ims attach to others it may find. Fixes two Dell Latitude laptops and tested in snaps for a bit.
* Add umt(4) for USB Windows Precision Touchpad devicesjcs2018-08-251-2/+2
| | | | | | | | Based on imt(4) Rename HIDMT_INPUT_MODE_MT to HIDMT_INPUT_MODE_MT_TOUCHPAD ok deraadt
* Move HID->bus constant conversion for HID report types out of ihidevjcs2018-08-251-1/+2
| | | | | | | | | | | | | | | | | | | | | into hidmt. The HID code uses hid_feature, hid_input, and hid_output constants to refer to report types internally that then need to be converted to their bus-level counterparts before actually getting sent out (so hid_feature becomes UHID_FEATURE_REPORT for USB, I2C_HID_REPORT_TYPE_FEATURE for i2c). This conversion was hard-coded in ihidev but ihidev_[gs]et_report should assume the type passed is already an i2c-level define, not a hid one. This is how uhidev does it. Add a conversion routine callback that any hidmt callers need to set so that hidmt can convert hid constants to the bus-level versions. Also add a similar conversion function to uhidev. ok deraadt
* this is imt, not imsjcs2017-07-231-7/+7
|
* add hidmt, a HID-layer driver for multitouch touchpads that conformjcs2016-01-201-0/+247
to the "Windows Precision Touchpad" standard. when a compatible device is found, hidmt claims all report ids and switches the device into multitouch packet mode. add imt, an i2c-HID driver that sits between ihidev and hidmt