NiLuJe / FBInk

FrameBuffer eInker, a small tool & library to print text & images to an eInk Linux framebuffer

Home Page:https://www.mobileread.com/forums/showthread.php?t=299110

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Enhancement]: implement a wait-for-hit (a la pickel/kobo)

pazos opened this issue · comments

I would like to see a wait-for-touch option in fbink (ie: the program does not return after writting to the screen. It waits until a touch event on screen or a timeout).

@NiLuJe feel free to close this issue if you don't find it useful

You'll probably have to roll your own, see https://github.com/shermp/go-kobo-input f.g. ;).

To expand a bit: it strays a bit too far from the initial goal (which was, err, doing eips better).

Doing pickel better was never really part of the equation (despite pickel being terrible ;D).
And in this case, there isn't really anything in FBInk that could currently help making it easier than a "from scratch" implementation.

The limited amount of touch input (well, output in our case ;p) handling we have with button_scan was borne of an experiment, one that actually could use the help from FBInk's internal API, and it's already tricky enough to make sure something as limited as that works more or less correctly everywhere (spoiler: it probably doesn't :D)... ;).

Yup, thanks for the feedback. I ended using FBInk as a library. Congratulations, what a library.

https://github.com/pazos/cervantes-safemode.

👍 :)