Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: always set pen pressure/distance #10

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

cfalas
Copy link
Contributor

@cfalas cfalas commented Jun 26, 2024

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 LizardByte/Sunshine#2756.

cfalas and others added 2 commits June 26, 2024 10:52
Some applications depend on just pressure, and hence the pen doesn't always 'release' when the distance is positive, because it uses the last (non-zero) pressure
@ABeltramo ABeltramo merged commit f8f5a81 into games-on-whales:stable Jun 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants