Add support for fast eink + marker access#61
Open
declan-wtg wants to merge 3 commits into
Open
Conversation
Author
|
Because of AppLoad/xochitl limitations, you can't get access to the raw evdev device that you need to directly handle marker events, so it's based off the mouse events you get instead. This makes it pretty... bad:
Am working on erasers, but I think that's application side for now, since this already has |
Author
|
Just added support for marker, exposed through This basically fixes all the issues with palm rejection and whatnot. I think the lag is still there, but it's better now, and I think the rest is just my test app. Access to when we're erasing (using the other side of the pencil) works too. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a InkCanvas component, built off of QQuickPaintedItem, to support the fast small refresh writing, like xochitl uses for its notes. Links against libQt6Quick for QQuickPaintedItem.
This code is entirely AI generated, but has been tested and I've taken a quick look through it. Looks to be serviceable.
Note: has only been tested on the reMarkable Paper Pro, as that's the only one I got lol.