[PR #238] [MERGED] Wlroots modifier emulation support #341

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

📋 Pull Request Information

Original PR: https://github.com/feschber/lan-mouse/pull/238
Author: @Vassili-Dev
Created: 11/26/2024
Status: Merged
Merged: 1/24/2025
Merged by: @feschber

Base: mainHead: wlroots-modifier-emulation-support


📝 Commits (5)

📊 Changes

2 files changed (+96 additions, -2 deletions)

View changed files

📝 input-emulation/Cargo.toml (+1 -0)
📝 input-emulation/src/wlroots.rs (+95 -2)

📄 Description

Fixes https://github.com/feschber/lan-mouse/issues/204

Change Summary:

WLRoots Emulation

  • Internally track modifier state via VirtualInput.modifiers
    • On KeyboardEvent::Key: If key matches modifiers, either depress or toggle respective mod
    • On KeyboardEvent::Modifiers: Set internal modifiers state to match the event
  • Add current time to discrete scroll event (Fixes scrolling)

🔄 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/238 **Author:** [@Vassili-Dev](https://github.com/Vassili-Dev) **Created:** 11/26/2024 **Status:** ✅ Merged **Merged:** 1/24/2025 **Merged by:** [@feschber](https://github.com/feschber) **Base:** `main` ← **Head:** `wlroots-modifier-emulation-support` --- ### 📝 Commits (5) - [`0ce45ac`](https://github.com/feschber/lan-mouse/commit/0ce45ac80ac479f8a666e0559c70ad2296748b39) Keep modifier state in WLRoots input emulator - [`9098167`](https://github.com/feschber/lan-mouse/commit/9098167fa0ae03cf7698617327140e0c91b58aa6) Handle locks (Caps/Num/Scroll) - [`ec26cb7`](https://github.com/feschber/lan-mouse/commit/ec26cb778d1c1ec8a372bfea7c7276a274c41c06) Remove redundant dep - [`ef6364f`](https://github.com/feschber/lan-mouse/commit/ef6364fd8660316e111478cffe7cb97f1ce1d85b) Remove newline - [`151f681`](https://github.com/feschber/lan-mouse/commit/151f681d0bf32e1ff8c76030a95c4787baaa7e2f) Clippy changes ### 📊 Changes **2 files changed** (+96 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `input-emulation/Cargo.toml` (+1 -0) 📝 `input-emulation/src/wlroots.rs` (+95 -2) </details> ### 📄 Description Fixes https://github.com/feschber/lan-mouse/issues/204 ## Change Summary: ### WLRoots Emulation - Internally track modifier state via `VirtualInput.modifiers` - On `KeyboardEvent::Key`: If key matches modifiers, either depress or toggle respective mod - On `KeyboardEvent::Modifiers`: Set internal modifiers state to match the event - Add current time to discrete scroll event (Fixes scrolling) --- <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:17:10 -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#341
No description provided.