Skip to content

Add Samsung Flip Pro WM55B support and screen-edge touch behavior - #1

Open
mickfa-dai wants to merge 1 commit into
koshi545:mainfrom
mickfa-dai:wm55b-tested-2026-08-24
Open

Add Samsung Flip Pro WM55B support and screen-edge touch behavior#1
mickfa-dai wants to merge 1 commit into
koshi545:mainfrom
mickfa-dai:wm55b-tested-2026-08-24

Conversation

@mickfa-dai

Copy link
Copy Markdown

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:

  1. Multi-touch calibration

Calibration initially failed with:

the four samples are collinear or identical

The 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 MultiTouchParser when 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.

  1. Screen-edge hover in CGEvent mouse emulation

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:

  • touching the top edge reveals the macOS menu bar
  • touching the bottom edge reveals the Dock
  • moving back into the normal screen area allows both to auto-hide again

Tested hardware

Samsung Flip Pro WM55B / LH55WMB

  • Samsung HID Multi-Touch
  • 1920 × 1080 target display
  • direct USB-C connection
  • Apple Silicon MacBook Pro
  • macOS 26
  • Mouse Emulation (CGEvent)

Verified

  • four-point calibration
  • one-finger touch operation
  • drawing in Microsoft Whiteboard
  • multi-touch detection
  • two-finger pinch-to-zoom
  • menu bar reveal and auto-hide
  • Dock reveal and auto-hide
  • all 128 existing core self-tests passed

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

@mickfa-dai
mickfa-dai force-pushed the wm55b-tested-2026-08-24 branch from 579f689 to d946237 Compare August 25, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant