forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 2
eKTF2132 touchscreen
Jonathan Neuschäfer edited this page Nov 1, 2020
·
3 revisions
The ELAN eKTF2132 touchscreen controller is found in the Kobo Aura. It works similarly to the eKTF2127, which is already supported by a mainline linux driver.
The main difference is that the eKTF2132 sends a packet with opcode 0x5a instead of 0x5d when a touch event occurs.
offset | bit mask | description |
---|---|---|
0x00 | 0xff | 0x5a - packet type |
0x01 | 0xf0 | bits 11:8 of x coordinate |
0x01 | 0x0f | bits 11:8 of y coordinate |
0x02 | 0xff | bits 7:0 of x coordinate |
0x03 | 0xff | bits 7:0 of y coordinate |
0x04+ | -- | as offsets 0x01-0x04 but for the second finger |
0x07 | 0x02 | state of finger 1: 0: released, 1: pressed |
0x07 | 0x04 | state of finger 2: 0: released, 1: pressed |