mirror of
https://github.com/games-on-whales/inputtino.git
synced 2026-10-15 21:02:05 +00:00
[PR #10] [MERGED] fix: always set pen pressure/distance #22
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#22
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/10
Author: @cfalas
Created: 6/26/2024
Status: ✅ Merged
Merged: 6/26/2024
Merged by: @ABeltramo
Base:
stable← Head:stable📝 Commits (2)
2f71620fix: always set pen pressure/distancefe22599feat: added test and comment📊 Changes
2 files changed (+19 additions, -1 deletions)
View changed files
📝
src/uinput/pentablet.cpp(+5 -1)📝
tests/testLibinput.cpp(+14 -0)📄 Description
Some applications only depend on pressure (e.g. Xournal++), and hence the pen doesn't always 'release' when the pen is hovering. This is because the application completely disregards ABS_DISTANCE and only looks at ABS_PRESSURE, which contains the last updated pressure, which was when the pen was still touching.
This fixes the second part of https://github.com/LizardByte/Sunshine/issues/2756.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.