[PR #131] [MERGED] [WIP] MacOS inputcapture #297

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

📋 Pull Request Information

Original PR: https://github.com/feschber/lan-mouse/pull/131
Author: @meck
Created: 5/12/2024
Status: Merged
Merged: 8/26/2024
Merged by: @feschber

Base: mainHead: macos_inputcapture


📝 Commits (9)

📊 Changes

7 files changed (+623 additions, -27 deletions)

View changed files

📝 Cargo.lock (+5 -0)
📝 flake.nix (+5 -3)
📝 input-capture/Cargo.toml (+5 -0)
📝 input-capture/src/error.rs (+29 -6)
📝 input-capture/src/lib.rs (+1 -1)
📝 input-capture/src/macos.rs (+573 -14)
📝 nix/default.nix (+5 -3)

📄 Description

I had a stab at writing a macos input capture module as i was tired not being able to cross the pointer back and forth between mac and linux, and it seemed a good rust exercise. There as some things left mainly modifier handling and updating the bounds on a monitor config change. But i wanted to put it up as a draft for now if there is any other pointers or if i missed something in the architecture.


🔄 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/131 **Author:** [@meck](https://github.com/meck) **Created:** 5/12/2024 **Status:** ✅ Merged **Merged:** 8/26/2024 **Merged by:** [@feschber](https://github.com/feschber) **Base:** `main` ← **Head:** `macos_inputcapture` --- ### 📝 Commits (9) - [`c77c6e9`](https://github.com/feschber/lan-mouse/commit/c77c6e9bf9cf13765c106e40e25b1cee9a130c59) [WIP] MacOS inputcapture - [`ed033de`](https://github.com/feschber/lan-mouse/commit/ed033de61394d7dad3870777486a8577e0f05075) Update nix, fix clippy issues - [`1acf5ee`](https://github.com/feschber/lan-mouse/commit/1acf5ee5f52619bf8ad5be24001e6c0c9293211a) warn if event tap closes - [`8ba5775`](https://github.com/feschber/lan-mouse/commit/8ba577555aff3a47c26d6acf88479b482295d303) cleanup bounds code - [`95fca91`](https://github.com/feschber/lan-mouse/commit/95fca9140ac3992d289e17e68b747af27fa71cc9) Handle macos modifiers - [`b4aa7a4`](https://github.com/feschber/lan-mouse/commit/b4aa7a4572bf7ba029a11ffbdab95ac43369c6fc) fix issues - [`a314f35`](https://github.com/feschber/lan-mouse/commit/a314f35f2132c7b437690ac43ec99fe3397e519a) fix oversight - [`5d360c4`](https://github.com/feschber/lan-mouse/commit/5d360c45cea0ff83c0e954e625b963ef8c26ad25) formatting - [`1bd2356`](https://github.com/feschber/lan-mouse/commit/1bd2356226fda25b29f9d5769dbab6a9b9088743) fix clippy lints ### 📊 Changes **7 files changed** (+623 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+5 -0) 📝 `flake.nix` (+5 -3) 📝 `input-capture/Cargo.toml` (+5 -0) 📝 `input-capture/src/error.rs` (+29 -6) 📝 `input-capture/src/lib.rs` (+1 -1) 📝 `input-capture/src/macos.rs` (+573 -14) 📝 `nix/default.nix` (+5 -3) </details> ### 📄 Description I had a stab at writing a macos input capture module as i was tired not being able to cross the pointer back and forth between mac and linux, and it seemed a good rust exercise. There as some things left mainly modifier handling and updating the bounds on a monitor config change. But i wanted to put it up as a draft for now if there is any other pointers or if i missed something in the architecture. --- <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:16:09 -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#297
No description provided.