Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 12-06-2016, 10:51 AM   #1
tqhien
Junior Member
tqhien began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura H2O
remote control / send tap

Hello all,

I'm trying to make a remote control for my Kobo H2O.
For now, I installed a webportal mod for testing and want to use KOReader as my reader, because I want to use DJVu files (rally roadbook).

I try to use the tip in the Kobo forum to catch taps on screen :

Code:
cat /dev/input/event1 > /tmp/record.input
which is fine under nickel, but that doesn't record anything when in Koreader.

Is there another way to do that, like a LUA script sending an event somewhere ?

Thanks.

Hien.
tqhien is offline   Reply With Quote
Old 12-06-2016, 01:14 PM   #2
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
The project at Github is good starting place. There are event handling scripts available in KOReader, as well as those defining touchscreen active areas. Some are included in the advanced settings and others remain in the appropriate script/LUA files.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Advert
Old 12-06-2016, 07:40 PM   #3
tqhien
Junior Member
tqhien began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura H2O
Well, I already looked into the github repository and understand the logic to handle event received, but my problem is to emulate/send an event, as if the user was tapping somewhere, like

Code:
cat /tmp/record.input /dev/input/event1
I saw there was a commit a few days ago for kobofaketap, but how can I call it whith my own parameters ?
tqhien is offline   Reply With Quote
Old 12-13-2016, 07:23 AM   #4
tqhien
Junior Member
tqhien began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura H2O
I finally made it. It was quite simple in fact : I recorded the taps under nickel and replayed them under Koreader.
tqhien is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth remote control mxadler Marvin 8 11-13-2014 07:53 AM
Kindle Web Remote Control chigozie Kindle Developer's Corner 17 09-04-2013 01:27 PM
Android PocketCloud - free remote control PC cheyennedonna enTourage Archive 11 12-14-2010 10:12 PM
remote control? shawn Sony Reader 2 10-10-2007 12:02 PM
Remote Control ecm Which one should I buy? 5 03-20-2007 12:08 AM


All times are GMT -4. The time now is 12:51 PM.


MobileRead.com is a privately owned, operated and funded community.