Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-30-2019, 04:43 PM   #1
wesley6j
Junior Member
wesley6j doesn't litterwesley6j doesn't litter
 
Posts: 5
Karma: 100
Join Date: Nov 2016
Device: Kobo H2O
A tiny pageturn tool to turn pages

https://github.com/wesley6j/kobo_uti...aster/pageturn

It is a tiny tool of just a few lines of c code. It works with (slightly) patched koreader.

It is very simple to use:

Quote:
1. ssh to kobo device.
2. run pageturn.
3. navigate by entering 'd', 'u', space, enter.
4. exit with 'q' or Ctrl-C.


The device i have supports only a few keys:

Code:
root@(none) ~]# evtest /dev/input/event0
Input driver version is 1.0.0
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "mxckpd"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 35 (H)
    Event code 59 (F1)
    Event code 90 (Katakana)
    Event code 116 (Power)
Testing ... (interrupt to exit)
Therefore, I am using key F1, Katakana for page turning:

Code:
SleepCover = function(ev)
    if self.input:isEvKeyRelease(ev) then
        return Event:new("GotoViewRel", -1)
    end
end,
LightButton = function(ev)
    if self.input:isEvKeyRelease(ev) then
        return Event:new("GotoViewRel", 1)
    end
end,
As a consequence, sleep cover(F1) will not work after koreader is patched.
wesley6j is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool tips won't turn off Rellwood Calibre 1 12-27-2017 10:31 PM
Auto turn pages maac2212 Kindle Developer's Corner 3 05-19-2016 08:19 AM
MedReader, a rather cool tool for making pages twobob Kindle Developer's Corner 2 04-10-2013 09:37 AM
Tool to split up double pages fodiator iRex 27 03-21-2012 09:03 AM
Is there a tool to split pdf pages? MosFet Sony Reader 3 06-19-2007 09:48 AM


All times are GMT -4. The time now is 10:15 AM.


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