Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

Touchscreen driver issue

$
0
0
Please help, currently have issue, touchscreen works for only part of screen, it works as 480x854 but screen size is 720x1280, so maximum x returned by ABS_MT_POSITION_X is 480 (top right position)
Tried to add idc config mtk-tpd.idc :
Code:

touch.deviceType = touchScreen
output.x = raw.x * 2

But it didn't make any changes.


Device:
Code:

add device 3: /dev/input/event3
  bus:      0000
  vendor    0000
  product  0000
  version  0000
  name:    "mtk-tpd"
  location: ""
  id:      ""
  version:  1.0.1
  events:
    KEY (0001): KEY_MENU              KEY_BACK              KEY_HOMEPAGE  BTN_TOUCH
    ABS (0003): ABS_X                : value 0, min 0, max 720, fuzz 0, flat 0,  resolution 720
                ABS_Y                : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 1280
                ABS_PRESSURE          : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MAJOR    : value 0, min 0, max 100, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MINOR    : value 0, min 0, max 100, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X    : value 0, min 0, max 720, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_Y    : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 0
                ABS_MT_TRACKING_ID    : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
  input props:
    INPUT_PROP_DIRECT

What else you could advice to add to idc file?

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>