[PR #327] implement (small, up to 4k) clipboard sharing over DTLS #373

Open
opened 2026-05-05 22:17:47 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/feschber/lan-mouse/pull/327
Author: @dnakov
Created: 10/8/2025
Status: 🔄 Open

Base: mainHead: clipboard-sharing


📝 Commits (1)

  • f309f74 implement (small, up to 4k) clipboard sharing over DTLS

📊 Changes

22 files changed (+2017 additions, -659 deletions)

View changed files

📝 Cargo.lock (+1204 -600)
📝 input-capture/Cargo.toml (+1 -0)
input-capture/src/clipboard.rs (+149 -0)
📝 input-capture/src/lib.rs (+3 -2)
📝 input-capture/src/macos.rs (+1 -1)
📝 input-emulation/Cargo.toml (+1 -0)
input-emulation/src/clipboard.rs (+105 -0)
📝 input-emulation/src/lib.rs (+1 -0)
📝 input-emulation/src/libei.rs (+4 -0)
📝 input-emulation/src/macos.rs (+4 -0)
📝 input-emulation/src/windows.rs (+5 -0)
📝 input-emulation/src/wlroots.rs (+7 -2)
📝 input-emulation/src/xdg_desktop_portal.rs (+5 -1)
📝 input-event/src/lib.rs (+25 -1)
📝 input-event/src/libei.rs (+1 -1)
📝 lan-mouse-proto/src/lib.rs (+79 -5)
📝 src/capture.rs (+29 -18)
📝 src/config.rs (+9 -0)
📝 src/connect.rs (+116 -16)
📝 src/emulation.rs (+27 -1)

...and 2 more files

📄 Description

Adds bidirectional clipboard sharing between all connected machines.
Clipboard sharing is enabled by default. To disable, add to ~/.config/lan-mouse/config.toml:
enable_clipboard = false

4KB max, no chunking, text only


🔄 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/327 **Author:** [@dnakov](https://github.com/dnakov) **Created:** 10/8/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `clipboard-sharing` --- ### 📝 Commits (1) - [`f309f74`](https://github.com/feschber/lan-mouse/commit/f309f7488f562e20635073b944f4891a6700e3ea) implement (small, up to 4k) clipboard sharing over DTLS ### 📊 Changes **22 files changed** (+2017 additions, -659 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+1204 -600) 📝 `input-capture/Cargo.toml` (+1 -0) ➕ `input-capture/src/clipboard.rs` (+149 -0) 📝 `input-capture/src/lib.rs` (+3 -2) 📝 `input-capture/src/macos.rs` (+1 -1) 📝 `input-emulation/Cargo.toml` (+1 -0) ➕ `input-emulation/src/clipboard.rs` (+105 -0) 📝 `input-emulation/src/lib.rs` (+1 -0) 📝 `input-emulation/src/libei.rs` (+4 -0) 📝 `input-emulation/src/macos.rs` (+4 -0) 📝 `input-emulation/src/windows.rs` (+5 -0) 📝 `input-emulation/src/wlroots.rs` (+7 -2) 📝 `input-emulation/src/xdg_desktop_portal.rs` (+5 -1) 📝 `input-event/src/lib.rs` (+25 -1) 📝 `input-event/src/libei.rs` (+1 -1) 📝 `lan-mouse-proto/src/lib.rs` (+79 -5) 📝 `src/capture.rs` (+29 -18) 📝 `src/config.rs` (+9 -0) 📝 `src/connect.rs` (+116 -16) 📝 `src/emulation.rs` (+27 -1) _...and 2 more files_ </details> ### 📄 Description Adds bidirectional clipboard sharing between all connected machines. Clipboard sharing is enabled by default. To disable, add to `~/.config/lan-mouse/config.toml`: `enable_clipboard = false` 4KB max, no chunking, text only --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror added the
pull-request
label 2026-05-05 22:17:47 -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#373
No description provided.