View Single Post
Old 07-29-2019, 02:04 PM   #1
Mavireck
Connoisseur
Mavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a Texan
 
Posts: 63
Karma: 18290
Join Date: Jul 2016
Location: France
Device: Kobo H2O (broken), Kobo H2O Edition 2 v1 (stolen), Kobo Clara 2E
WolframAlpha app for Kobo - and some Python stuff (keyboard, touch input librairies)

Hello everyone !

For the last couple days I have been working on a project which is still widely in development.

And here it is now : a WolframAlpha app for Kobo.
Click image for larger version

Name:	1564422328-20190729-193454.jpg
Views:	529
Size:	152.2 KB
ID:	172670
Click image for larger version

Name:	1564422337-20190729-193521.jpg
Views:	386
Size:	167.2 KB
ID:	172671
It is based on @sherman's work which was originally written in Go. I ported it in Python and made a wolfram app with it.
Sherman's work include a few interesting code in Go (available in his github) :
- an on-screen-keyboard (osk)
- some script to use the touch input more easily (Kobo input)
I ported them to Python. These are the osk.py and KIP.py file.

Here is the Github page for the Input librairy :
https://github.com/Mavireck/Kobo-Input-Python
And the Github page for the on-screen-keyboard and a few useful functions (like a popup and a prompt function that display directly on the Kobo screen) :
https://github.com/Mavireck/Kobo-Python-OSKandUtils

Here are the sources:
https://github.com/Mavireck/Kobo-WolframAlpha

INSTALLATION
Unzip the latest zip with "WA" in the name at the root of your sd card.
You need to have KFMon and NiLuJe's KoboStuff installed.
https://github.com/Mavireck/Kobo-Pyt...ncher/releases

IT HAS ONLY BEEN TESTED ON H20 v1. Use it carefully.

My TODO list : (which I won't do entirely probably, as I won't have much free time in the coming year)
Spoiler:

- Make it cleaner
- (easy) Add a visual indicator for keypress
- change the key layout after a press on the Alt key to access more characters. (and change the way capslock works too)



Have fun !
And don't forget to thank sherman for his hard work in go !

Last edited by Mavireck; 08-19-2019 at 09:01 AM. Reason: Add link to Github
Mavireck is offline   Reply With Quote