[PR #385] [MERGED] Linux -> macOS fixes #398

Closed
opened 2026-05-05 22:18:14 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/feschber/lan-mouse/pull/385
Author: @kenichi
Created: 2/11/2026
Status: Merged
Merged: 2/22/2026
Merged by: @feschber

Base: mainHead: linux_to_macos_fix


📝 Commits (2)

  • c92fed8 fix: linux to macos - release modifier keys properly
  • b3b43d2 cargo fmt

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 input-emulation/src/macos.rs (+4 -1)

📄 Description

  • address #357 - When handling a KeyboardEvent::Key for a modifier key, emit a CGEventType::FlagsChanged event so macOS updates its system modifier state, rather than relying solely on a KeyboardEvent::Modifiers event that Linux/libei never sends.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/feschber/lan-mouse/pull/385 **Author:** [@kenichi](https://github.com/kenichi) **Created:** 2/11/2026 **Status:** ✅ Merged **Merged:** 2/22/2026 **Merged by:** [@feschber](https://github.com/feschber) **Base:** `main` ← **Head:** `linux_to_macos_fix` --- ### 📝 Commits (2) - [`c92fed8`](https://github.com/feschber/lan-mouse/commit/c92fed864c54683100eae860ad94311036b2e659) fix: linux to macos - release modifier keys properly - [`b3b43d2`](https://github.com/feschber/lan-mouse/commit/b3b43d2878c06f67883f54c628e5923dd2f59d0d) cargo fmt ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `input-emulation/src/macos.rs` (+4 -1) </details> ### 📄 Description * address #357 - When handling a KeyboardEvent::Key for a modifier key, emit a CGEventType::FlagsChanged event so macOS updates its system modifier state, rather than relying solely on a KeyboardEvent::Modifiers event that Linux/libei never sends. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 22:18:14 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#398
No description provided.