mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #397 from Markismus/MultitouchKoboAura
Two small changes to improve use for Kobo ereaders
This commit is contained in:
@@ -81,7 +81,7 @@ function GestureDetector:feedEvent(tevs)
|
||||
repeat
|
||||
local tev = table.remove(tevs)
|
||||
if tev then
|
||||
DEBUG("tev fed to GestureDetector|",tev.x.."|"..tev.y.."|"..tev.id.."|"..tev.slot.."|"..tev.timev.sec.."|"..tev.timev.usec)
|
||||
DEBUG("tev fed to GestureDetector|",tev.x,"|",tev.y,"|",tev.id,"|",tev.slot,"|",tev.timev.sec,"|",tev.timev.usec)
|
||||
local slot = tev.slot
|
||||
if not self.states[slot] then
|
||||
self:clearState(slot) -- initiate state
|
||||
|
||||
@@ -10,9 +10,11 @@ export TESSDATA_PREFIX="data"
|
||||
# export dict directory
|
||||
export STARDICT_DATA_DIR="data/dict"
|
||||
|
||||
# stop Nickel
|
||||
killall -STOP nickel
|
||||
|
||||
# finally call reader
|
||||
./reader.lua /mnt/onboard 2> crash.log
|
||||
|
||||
# continue with nickel
|
||||
|
||||
reboot
|
||||
killall -CONT nickel
|
||||
|
||||
Reference in New Issue
Block a user