mirror of
https://github.com/games-on-whales/inputtino.git
synced 2026-10-15 12:52:02 +00:00
[PR #38] [MERGED] fix(mouse): send clicks and scrolls on active mouse device #41
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/inputtino#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/inputtino/pull/38
Author: @happyme531
Created: 5/13/2026
Status: ✅ Merged
Merged: 5/16/2026
Merged by: @ABeltramo
Base:
stable← Head:fix-absolute-mouse-buttons-scroll📝 Commits (2)
65227c7fix(mouse): send clicks and scrolls on active mouse device9336f0atest(mouse): cover absolute mouse review feedback📊 Changes
3 files changed (+94 additions, -6 deletions)
View changed files
📝
src/uinput/include/inputtino/protected_types.hpp(+2 -1)📝
src/uinput/mouse.cpp(+33 -5)📝
tests/testLibinput.cpp(+59 -0)📄 Description
Summary
Context
This fixes unreliable scrolling/clicking in remote desktop mouse mode when clients send absolute pointer motion. In that mode, movement was emitted from the absolute virtual mouse while buttons and scroll were emitted from the relative virtual mouse, so compositors/libinput could treat those events as coming from different pointers.
Refs moonlight-stream/moonlight-qt#1020
Testing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.