Griffin PowerMate driver for modern macOS

· media · Source ↗

TLDR

  • Open-source Swift driver resurrects the Griffin PowerMate USB knob (VID 0x077d, PID 0x0410) on macOS 13+ with scroll, click, and LED control.

Key Takeaways

  • Uses kIOHIDOptionsTypeSeizeDevice for exclusive HID access; only one process can hold the device at a time.
  • Exposes onRotate(delta:rate:), onButtonDown, onButtonClick, and onButtonLongPress closures; long-press threshold defaults to 0.4s and is tunable.
  • Menu-aware: when Accessibility API detects a focused menu, rotation sends arrow keys and short press sends Return instead of scroll/click.
  • LED supports static brightness (0-255), built-in pulse modes, and custom pulse tables via USB vendor control requests matching the Linux driver protocol.
  • Requires Input Monitoring permission on first run; Accessibility permission needed for submenu navigation without fallback 5-second menu mode.

Hacker News Comment Review

  • No substantive HN discussion yet; the single comment reflects the likely common situation: hardware is owned but physically misplaced in a USB junk drawer.

Original | Discuss on HN