View Single Post
Old 11-03-2013, 10:56 AM   #740
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Quote:
Originally Posted by bulnes123 View Post
Changing 00 to 01 and 01 to 00 in the code below solved my problem with mixed coordinates. I found it after many hours of trying everything else. Now koreader works perfectly. Hope that helps some one.

Hardware: Kobo Touch N905C, firmware 2.6.2

File edited: input.lua

Code:

-- For single-touch events (ABS.code).
local ABS_X = 00 --old line
local ABS_Y = 01 --old line

local ABS_X = 01 --new line
local ABS_Y = 00 --new line
I see, so x and y are swapped on newer touch models. We should find out a way to distinguish between the two models...
giorgio130 is offline   Reply With Quote