Quote:
Originally Posted by CyberPaul
Thanks for providing all that information.
Can you please provide the link to the apk I can install?
However I have an iPhone, so I'd like to use it. I have to check if it is possible whether I can find a kind of Tasker.
|
Thanks to you. I just found out about it in this thread. I didn't know it works out of the box in Moon+ Reader.
This is to install the Webserver in Kobo:
$ wget
https://github.com/tylpk1216/KoboPag...0/KoboRoot.tgz
$*cp KoboRoot.tgz /run/media/jospalau/KOBOeReader/.kobo
This is the Android app:
$ wget
https://github.com/tylpk1216/KoboPag...HTTPClient.apk
It shouldn't be difficult to make a simple app for IPhone to so something similar or maybe there is something similar to Task.
I made a simple Linux demon to use the headphones like this:
Code:
import subprocess
from evdev import InputDevice, categorize, ecodes
dev = InputDevice('/dev/input/event24')
print(dev)
def getKey():
for event in dev.read_loop():
if event.type == ecodes.EV_KEY:
c = categorize(event)
if c.keystate == c.key_down:
yield c.keycode
keygenerator = getKey()
while True:
c = next(keygenerator)
print(c)
if c == 'KEY_PLAYCD': subprocess.run("curl http://192.168.50.101/right", shell=True, check=True)
Sent from my CPH2021 using Tapatalk