-
Notifications
You must be signed in to change notification settings - Fork 114
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
Immediate refresh of drawn strokes on ONYX e-ink displays (RawDrawing) #1195
Comments
This seems the same as what we currently have in OnyxsdkPenArea.kt. You may be referring to how the screen doesn't fully refresh for 1s after you draw with the pen. This is intentional:
You're free to submit PRs if you can improve the implementation, but I no longer have an Onyx device to test any further development |
Oh, I have completely missed that, sorry!
Ahh, not quite. The intentional fix you've mentioned seems to be referring to the screen refresh after pen inactivity. This would coincide with the refreshing I have observed in the current version of the app (but I may be completely mistaken, it's just my understanding).
Understandable and fair! Maybe this will be THE push for me to get into android app development... 😉 |
Can you confirm you downloaded Saber from the Play Store and not somewhere else like F-Droid? |
Hmmm, weird. 🤔
|
I really want to rule out user error, before I dive into a self learning course for Android development. |
I have an Onyx Boox Note Air 2 Plus and Saber installed from Google Play. |
I have an Onyx Boox Note X3s and Saber installed from Github. |
As I am new to programming in dart (and flutter & kotlin for that matter) I am only slowly starting to understand how things are handled. |
That's all right. We are lucky to have Saber. It's enough for now. |
Before submitting an issue, please check the following
Motivation
One thing to make writing on e-ink-tablets like ONYX tablets way more comfortable is to update the pen stroke immediately as it is being drawn. This helps during writing, sketching and feels way more natural to the user.
With this I'm not refering to the normal "draw to UI"-call but to update the display directly.
With the proposed solution, ONYX users have the ability to use higher quality display modes, which would increase display latency under normal usage (like its currently the case) except for pen strokes which update directly while being drawn.
Solution
If I understand correctly, the onyx-sdk offers the functionality to directly and immediately refresh the display in the area where the pen-stroke is being drawn in.
I think the way to do this, is by using the "RawDrawing"-Mode and using the RawInputCallback to quickly draw a bitmap to the display itself. This could reflect a rough estimate on the display on how the pen-stroke looks, that can be fully updated once the penis lifted from the display. The official OnyxAndroidDemo project does this somewhat similarly.
Notable is another app that is specifically build for ONYX tablets that also utilizes the RawDrawing-mode.
The official OnyxAndroidDemo project may also have a demo on how to refresh it immediately, but unfortunately,
Alternatives
No response
Saber version
0.21.2 GooglePlay (21020)
Device
Anything else?
No response
The text was updated successfully, but these errors were encountered: