Thursday 15 January 2015

Android Input Device Configuration File - touchScreen resolution -


I Rikomagic for MK802 IIIs a touchscreen driver has been some sort, and everything is fine and all, except in that touches (only limited to the left half of the screen if I start there is a touch, and move it to the right side, the release point, but I can not start a touch event on the right side of the screen - It is only when the registration starts I release it to the left An account I).

I / pointer (265) :: device added input device 92: MT

I / indicator (I see the following in making the input device, I connected 265): descriptor: 0db4fb88541bfabf4a688f663d887508d39d703b

I / pointer (265): Generation: 358

I / pointer (265) location: outer

I / indicator (265): Keyboard type: none

I / pointer (265) vibrator: false

I / pointer (265): sources: 0x1002 (touchscreen)

I / Pointer (265): AXIS_X: Source = 0x1002 Minimum = 0.0 Dump = 719.0 flat = 0.0 fuzz = 1.0

I / Pointer (265): AXIS_Y: source = 0x1002 min = 0.0 max = 719.0 flat = 0.0 fiz = 1.0

I / Pointer (265): Excite pollution: source = 0x1002 min = 0.0 max = 1.0 flat = 0.0 ft = 0.0

So it is clear that XX_X resolution is closed (should be 1279, I think because when I mouse connects to speak, are the X and Y values ​​in 1279 and 719), but I do not know how to set it. I think it has something to do with the IDC file, but I can get it wrong. Please help me!

This is my configuration file:

This ADB Shell is LaGeEpt-LP's Outlook: (ABSIMDPS_X 719 because if I set it in 1279, then I do not send any In the right half of the events screen)

I had the same problem with Getevent presenting raw events Android is doing some scaling according to the screen size. If you have configured the touch device, you should set the correct screen size in input_set_assb_modem.

Hope that helps.

No comments:

Post a Comment