Add Samsung Flip Pro WM55B support and screen-edge touch behavior - #1
Open
mickfa-dai wants to merge 1 commit into
Open
Add Samsung Flip Pro WM55B support and screen-edge touch behavior#1mickfa-dai wants to merge 1 commit into
mickfa-dai wants to merge 1 commit into
Conversation
mickfa-dai
force-pushed
the
wm55b-tested-2026-08-24
branch
from
August 25, 2026 08:45
579f689 to
d946237
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
thank you for HIDTouch. I tested it with a Samsung Flip Pro WM55B (LH55WMB) on macOS 26 using a direct USB-C connection and was able to get it working reliably.
This PR contains two compatibility improvements discovered during the WM55B setup:
Calibration initially failed with:
the four samples are collinear or identicalThe normal multi-touch path already uses the descriptor-derived
MultiTouchParser, while calibration was still using the generic single-touch parser.The calibration path now uses
MultiTouchParserwhen a multi-touch layout is available, with the original parser retained as the fallback for single-touch panels.On the Samsung Flip Pro WM55B this fixed calibration and resulted in a mean residual of approximately 0.3 px.
A one-finger touch is normally injected as a pressed mouse event. At the top or bottom screen edge this prevented macOS from behaving like normal pointer hover, so an auto-hidden menu bar or Dock would not reliably appear.
The change adds a mouse-move-only edge path:
Tested hardware
Samsung Flip Pro WM55B / LH55WMB
Verified
Additional hardware notes and the test report are included under
docs/wm55b/.I also experimented with three-finger navigation gestures, but deliberately removed that code from this contribution because the real panel's contact-count transitions were not deterministic enough for a stable implementation.
If you would prefer the calibration fix and the screen-edge behavior as separate PRs, I can split them.
Thank you for making HIDTouch available.
Best regards
Michael