Skip to content

macOS: keyboard simulation types only 'a' regardless of input #2

Description

@tomcek42

Problem

The CGEvent-based keyboard simulation on macOS only types the letter a, regardless of what text the user enters. The keystroke mapping appears broken — every character produces the same keycode.

Current state

  • macOS port code is in master (Rust code isolated via #[cfg(target_os = "macos")])
  • CGEvent keyboard simulation implemented in src-tauri/src/main.rs
  • Accessibility permission check and user guidance banner working
  • CI/CD pipeline adjusted for macOS builds
  • No other macOS functionality has been tested beyond basic app launch

Impact

  • Windows version is fully functional and unaffected
  • macOS code compiles but keyboard simulation is unusable

Priority

Low — parked for now. Windows is the active development platform. Will revisit when capacity allows.

Notes

  • The macOS code remains in master intentionally (doesn't affect Windows builds, avoids branch divergence)
  • When resuming, start by debugging the CGEvent keycode mapping in main.rs

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions