Page MenuHomeFreeBSD

wsp(4): Add evdev support.
ClosedPublic

Authored by wulf on Aug 24 2021, 1:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 27, 10:21 PM
Unknown Object (File)
Nov 27 2025, 7:50 AM
Unknown Object (File)
Nov 27 2025, 3:02 AM
Unknown Object (File)
Nov 15 2025, 7:29 PM
Unknown Object (File)
Nov 9 2025, 2:01 AM
Unknown Object (File)
Nov 7 2025, 3:12 AM
Unknown Object (File)
Oct 31 2025, 12:10 PM
Unknown Object (File)
Oct 28 2025, 4:59 AM
Subscribers

Details

Summary

Although patch is rather big, it mostly consists of multitouch code
refactoring required to import EBM-solver implementation from OpenBSD
and of EBM-solver itself which is required for touch tracking.

"Touch tracking is a process of assignment of unique trackingID to each
initiated contact on the surface. Keeping the trackingIDs persistent
across multitouch reports requires solving of so called Euclidian
Bipartite Matching problem."

Tested by Greg V, Constantin Furst<constantin_AT_fuersten_DOT_info>
MFC after 2 weeks
PR 252236

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41178
Build 38067: arc lint + arc unit

Event Timeline

wulf requested review of this revision.Aug 24 2021, 1:02 AM
sys/dev/evdev/evdev.h
167

s/__inline/inline

__inline is only used if you need to compile the code without inline.

sys/dev/usb/input/wsp.c
215

name this structure "wsp_tp"

  1. s/__inline/inline/
  2. Change both structure and global variable names from tp to wsp_tp

Looks good for USB's point of view.

This revision is now accepted and ready to land.Aug 24 2021, 1:57 PM
This revision was automatically updated to reflect the committed changes.