Skip to content

TouchBar v0.1.0

Latest

Choose a tag to compare

@cameroncooper cameroncooper released this 06 Sep 18:39
· 14 commits to main since this release
v0.1.0
4016ea3

First tagged release of the TouchBar runtime and plugin platform.

This tag is the SDK toolchain reference. touchbarctl plugin new scaffolds packages that depend on touchbar-component-sdk from this repository at this tag, so it must exist for a scaffolded plugin to build.

What's here

  • touchbard — privileged hardware service owning DRM, raw touch and Fn input, backlight policy, and a restricted uinput keyboard
  • touchbar-sessiond — per-user GPU compositor and policy engine owning profiles, layout, themes, plugins, and interaction
  • touchbarctl — the administrative and plugin-authoring CLI
  • A WebAssembly component plugin host and capability supervisor with 13 scoped capabilities and an append-only audit log
  • A retained UI kit, package and catalog formats, a content-addressed plugin store
  • A deterministic replay harness with typed fixtures for every capability
  • An onscreen compositor simulator — touchbarctl plugin dev renders the real compositor's scene in a desktop window, so plugin development needs no Touch Bar hardware

Installing

There is no binary artifact yet; build from source, or use the Arch PKGBUILDs under packaging/aur/. Installation is inert — taking over the Touch Bar is a separate touchbar-activate, and touchbar-rollback hands it back to tiny-dfr.

Hardware

Verified on Apple M1 (MacBookPro17,1). Apple M2 (Mac14,7) is expected to work but is unverified. The Intel T2 (appletbdrm) presentation path is implemented but not yet hardware-verified.

Physical presentation is currently limited to ~29.9 Hz by the experimental ADP kernel driver; plugin rendering and compositing run at 60 FPS.