06-30-2019, 04:43 PM | #1 | |
Junior Member
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:
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) 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, |
|
|
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 |