Skip to content

Conversation

@Ayush2k02
Copy link
Contributor

@Ayush2k02 Ayush2k02 commented Dec 29, 2025

Have'nt tested this locally since I don't have a tablet on me . But like 0HyperCube suggested, using the from_bits_truncate here . Don't see any other or better approach to this as well

Closes #3521

@Ayush2k02 Ayush2k02 marked this pull request as draft December 29, 2025 07:42
@Ayush2k02 Ayush2k02 marked this pull request as ready for review December 29, 2025 07:42
@Ayush2k02
Copy link
Contributor Author

Any updates on this !

@Keavon
Copy link
Member

Keavon commented Jan 2, 2026

Not yet, still working to get caught up on PR reviews. Don't let this block you in other threads of work you're interested in, though!

Copy link
Member

@TrueDoctor TrueDoctor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, in the future it would be nice to be able to support these inputs, but until we have proper tablet support it is probably best to ignore the flags.

@TrueDoctor TrueDoctor force-pushed the fix/pen-tablet-eraser-mouse-buttons branch from 83d4acd to fdde1a8 Compare January 11, 2026 22:02
@TrueDoctor TrueDoctor changed the title fix: ignore out-of-range mouse button values using from_bits_truncate Ignore out-of-range mouse button values using from_bits_truncate Jan 11, 2026
@TrueDoctor TrueDoctor enabled auto-merge (squash) January 11, 2026 22:03
@TrueDoctor TrueDoctor merged commit 5dd11bf into GraphiteEditor:master Jan 11, 2026
3 checks 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.

Crash when receiving pen-tablet input event

3 participants