Skip to content

refactor(event-tap): replace delegate with output channel - #98

Merged
esphynox merged 1 commit into
mainfrom
refactor/event-tap-output-channel
Aug 13, 2026
Merged

refactor(event-tap): replace delegate with output channel#98
esphynox merged 1 commit into
mainfrom
refactor/event-tap-output-channel

Conversation

@esphynox

@esphynox esphynox commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Refactors EventTap to emit captured input and lifecycle updates through a single Output channel instead of the old delegate protocol.

This moves CaptureController to a single switch-based event handler, consolidates tap installation state into reusable Kind and InstalledTap types, and keeps tap failure reporting generic while preserving the existing localized error text. The pointer visualizer API was also renamed from noteMouseEvent to display to match the new event routing terminology.

Tests

  • tuist generate
  • xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS'
  • Other:

Run project commands from Apps/Keyty.

UI Changes

Attach screenshots or screen recordings for visible UI changes. Write N/A if there are none.

Before After
N/A N/A

Documentation

  • Updated relevant docs
  • No docs needed

Release Notes

Internal refactor of event tap routing. No user-visible changes.

@esphynox esphynox self-assigned this Aug 13, 2026
@esphynox
esphynox marked this pull request as ready for review August 13, 2026 19:51
@esphynox
esphynox merged commit f60a209 into main Aug 13, 2026
1 check passed
@esphynox
esphynox deleted the refactor/event-tap-output-channel branch August 13, 2026 19:51
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