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

Kobo nia support #220

Closed
Szybet opened this issue Feb 8, 2022 · 9 comments
Closed

Kobo nia support #220

Szybet opened this issue Feb 8, 2022 · 9 comments

Comments

@Szybet
Copy link

Szybet commented Feb 8, 2022

I own a kobo nia and I tryied to install plato on it. It launches, it shows the books, it responds to USB to PC connection, it responds also to the shutdown button. It seems everything works but not the touch screen. I know that plato doesn't support this device, but i saw in the code some things related to Nia, like the screen resolution. I have some experience with linux, and with rust so i think that i could make it work. And here is my question, where to look, where to start, where is the code related to the touch screen?

@baskerville
Copy link
Owner

Please try the attached test binary that logs the relevant touch events.

Perform a tap, a swipe and post the resulting info.log.

plato-nia-01.zip

@Szybet
Copy link
Author

Szybet commented Feb 8, 2022

First i performed taps and after reboot some swipes
It doesn't detect any books becouse after i put the binary and tryied to reboot, the kobo nia resetted itself. Its propably my fault, becouse i holded the button too long.

info.log

@baskerville
Copy link
Owner

Could you try the attached binary (this is a modified version of Plato that sets Rotation Values as the initial view), follow the instructions and post the resulting info.log?

plato-nia-02.zip

@Szybet
Copy link
Author

Szybet commented Feb 8, 2022

here it is

info.log

@baskerville
Copy link
Owner

Please try the attached binary and see if the touch screen now works as expected within all the available portrait and landscape orientations.

plato-nia-03.zip

@baskerville
Copy link
Owner

@NiLuJe It would seem that the Nia uses the Phoenix touch protocol.

@NiLuJe
Copy link
Contributor

NiLuJe commented Feb 9, 2022 via email

@Szybet
Copy link
Author

Szybet commented Feb 9, 2022

everything works, but once the custom zoom option in a pdf crashed plato, also i don't know how to regulate the custom zoom percantage, it sometimes changes but i don't know why the link doesn't help

@baskerville
Copy link
Owner

The custom zoom mode is controlled by diagonal spread and pinch gestures. You can experiment with gestures by running the Touch Events application.

NiLuJe added a commit to NiLuJe/koreader that referenced this issue Feb 9, 2022
Frenzie pushed a commit to koreader/koreader that referenced this issue Feb 9, 2022
NiLuJe added a commit to NiLuJe/FBInk that referenced this issue Feb 27, 2022
Looks like it's actually outputting Phoenix-like event streams...

c.f., baskerville/plato#220
NiLuJe added a commit to NiLuJe/FBInk that referenced this issue Feb 27, 2022
Looks like it's actually outputting Phoenix-like event streams...

c.f., baskerville/plato#220
buckley-w-david pushed a commit to buckley-w-david/plato that referenced this issue Jul 31, 2022
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

No branches or pull requests

3 participants