View Single Post
Old 07-31-2018, 04:41 PM   #29
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
So far, so good...

Code:
Rotated: x=1029, y=582
Code:
hexdump -d /dev/input/event1

0000000   51428   23392   49334   00011   00003   00057   00001   00000
0000010   51428   23392   51142   00011   00003   00048   00001   00000
0000020   51428   23392   51174   00011   00003   00050   00001   00000
0000030   51428   23392   51192   00011   00003   00053   01030   00000
0000040   51428   23392   51203   00011   00003   00054   00595   00000
0000050   51428   23392   51215   00011   00000   00002   00000   00000
0000060   51428   23392   51223   00011   00000   00000   00000   00000
0000070   51428   23392   15473   00012   00003   00057   00001   00000
0000080   51428   23392   15757   00012   00003   00048   00000   00000
0000090   51428   23392   15774   00012   00003   00050   00000   00000
00000a0   51428   23392   15785   00012   00003   00053   01030   00000
00000b0   51428   23392   15796   00012   00003   00054   00595   00000
00000c0   51428   23392   15808   00012   00000   00002   00000   00000
00000d0   51428   23392   15818   00012   00000   00000   00000   00000
\o/

EDIT: Tweaked it to hopefully only output the appropriate coords automagically...
EDITē: And maybe do the right thing on 16bpp FW, although I may have a minor conversion/rounding error somewhere, because I get a slightly different button color...

Last edited by NiLuJe; 07-31-2018 at 05:31 PM.
NiLuJe is offline   Reply With Quote