2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00

Merge pull request #362 from giorgio130/master

Tentative fix for touch coordinates on phoenix.
This commit is contained in:
HW 2013-11-19 14:41:46 -08:00
commit e127a8a506

View File

@ -321,7 +321,7 @@ function Input:init()
input.open("/dev/input/event0") -- Light button and sleep slider input.open("/dev/input/event0") -- Light button and sleep slider
print(_("Auto-detected Kobo")) print(_("Auto-detected Kobo"))
self:adjustKoboEventMap() self:adjustKoboEventMap()
if dev_mod ~= 'Kobo_trilogy' then if dev_mod ~= 'Kobo_trilogy' and dev_mod ~= 'Kobo_phoenix' then
function Input:eventAdjustHook(ev) function Input:eventAdjustHook(ev)
if ev.type == EV_ABS then if ev.type == EV_ABS then
if ev.code == ABS_X then if ev.code == ABS_X then