Quote:
Originally Posted by Mavireck
Yes it is possible and quite easy actually. You need to make an IOCTL call to grab the touch input. Then Nickel (the default software) won't register any input, although it will keep running. Which brings the question: do you really want to keep Nickel in the background? If you do not need it, I highly recommend killing everything to avoid conflicts. For instance, Nickel may keep updating the clock above your app, or go to sleep.
To do that, you should run the following bash commands:
Code:
# Stop kobo software when it's running
killall nickel hindenburg sickel fickel fmon > /dev/null 2>&1
If you do want to keep everything running (as I did in my Bing Maps proof of concept), you can use the following:
Short version since you use KIP:
Code:
t = KIP.inputObject(touchPath, 1080, 1440, grabInput=True)
Should work (note the grabInput argument... It was made for that purpose  )
Long version for those who do not use my module (KIP):
That code was used within PSSM. It was a tool I made to create Python apps on the Kobo, it helped a lot with creating interfaces. But I completely stopped developping this tool because Python was not really appropriate on such a low-performance device. However, you can run the example files. They do work! And I do think it makes life much easier...
|
Thanks for the reply, I have been using your repos for help already 😄
The killall solution does seem like the best, but is there a way to restart the services so I can close the game the continue using my device without restarting?