Hello I have the same trouble, and i found a fix!
Doing dumpsys input
*** under Kitkat 4.4.4 ***
Event Hub State:
BuiltInKeyboardId: -2
Devices:
4: Touch Screen
Classes: 0x00000004
Path: /dev/input/event5
Descriptor: 5f5b3e1cf8d8ee2481e355172b5e4ed8b38f965d
Location: usb-0000:00:1d.0-1.3.2/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0003, vendor=0x10c4, product=0xde03, version=0x0111
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile: /system/usr/idc/GenericTouch.idc
HaveKeyboardLayoutOverlay: false
....
Input Reader State:
Device 4: Touch Screen
Generation: 32
IsExternal: false
Sources: 0x00001002
KeyboardType: 0
Motion Ranges:
X: source=0x00001002, min=0.000, max=799.000, flat=0.000, fuzz=0.000, resolution=0.000
Y: source=0x00001002, min=0.000, max=479.000, flat=0.000, fuzz=0.000, resolution=0.000
PRESSURE: source=0x00001002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
Touch Input Mapper:
Parameters:
GestureMode: spots
DeviceType: touchScreen
AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false
OrientationAware: true
Raw Touch Axes:
X: min=0, max=1023, flat=0, fuzz=0, resolution=0
Y: min=0, max=1023, flat=0, fuzz=0, resolution=0
Pressure: unknown range
TouchMajor: unknown range
TouchMinor: unknown range
ToolMajor: unknown range
ToolMinor: unknown range
Orientation: unknown range
Distance: unknown range
TiltX: unknown range
TiltY: unknown range
TrackingId: unknown range
Slot: unknown range
Calibration:
touch.size.calibration: none
touch.pressure.calibration: none
touch.orientation.calibration: none
touch.distance.calibration: none
touch.coverage.calibration: none
Viewport: displayId=0, orientation=0, logicalFrame=[0, 0, 800, 480], physicalFrame=[0, 0, 800, 480], deviceSize=[800, 480]
SurfaceWidth: 800px
SurfaceHeight: 480px
SurfaceLeft: 0
SurfaceTop: 0
SurfaceOrientation: 0
Translation and Scaling Factors:
XTranslate: 0.000
YTranslate: 0.000
XScale: 0.781
YScale: 0.469
XPrecision: 1.280
YPrecision: 2.133
GeometricScale: 0.625
PressureScale: 0.000
SizeScale: 0.000
OrientationScale: 0.000
DistanceScale: 0.000
HaveTilt: false
TiltXCenter: 0.000
TiltXScale: 0.000
TiltYCenter: 0.000
TiltYScale: 0.000
Last Button State: 0x00000000
Last Raw Touch: pointerCount=0
Last Cooked Touch: pointerCount=0
*** under Lollipop 5.1.1 ***
Event Hub State:
BuiltInKeyboardId: -2
Devices:
4: Touch Screen
Classes: 0x80000004
Path: /dev/input/event5
Descriptor: 5f5b3e1cf8d8ee2481e355172b5e4ed8b38f965d
Location: usb-0000:00:1d.0-1.3.2/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0003, vendor=0x10c4, product=0xde03, version=0x0111
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
...
Input Reader State:
Device 4: Touch Screen
Generation: 32
IsExternal: true
Sources: 0x00002002
KeyboardType: 0
Motion Ranges:
X: source=0x00002002, min=0.000, max=799.000, flat=0.000, fuzz=0.000, resolution=0.000
Y: source=0x00002002, min=0.000, max=479.000, flat=0.000, fuzz=0.000, resolution=0.000
PRESSURE: source=0x00002002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
Touch Input Mapper:
Parameters:
GestureMode: spots
DeviceType: pointer
AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false
OrientationAware: false
Raw Touch Axes:
X: min=0, max=1023, flat=0, fuzz=0, resolution=0
Y: min=0, max=1023, flat=0, fuzz=0, resolution=0
Pressure: unknown range
TouchMajor: unknown range
TouchMinor: unknown range
ToolMajor: unknown range
ToolMinor: unknown range
Orientation: unknown range
Distance: unknown range
TiltX: unknown range
TiltY: unknown range
TrackingId: unknown range
Slot: unknown range
Calibration:
touch.size.calibration: none
touch.pressure.calibration: none
touch.orientation.calibration: none
touch.distance.calibration: none
touch.coverage.calibration: none
Affine Transformation:
X scale: 1.000
X ymix: 0.000
X offset: 0.000
Y xmix: 0.000
Y scale: 1.000
Y offset: 0.000
Viewport: displayId=0, orientation=0, logicalFrame=[0, 0, 800, 480], physicalFrame=[0, 0, 800, 480], deviceSize=[800, 480]
SurfaceWidth: 800px
SurfaceHeight: 480px
SurfaceLeft: 0
SurfaceTop: 0
SurfaceOrientation: 0
Translation and Scaling Factors:
XTranslate: 0.000
YTranslate: 0.000
XScale: 0.781
YScale: 0.469
XPrecision: 1.280
YPrecision: 2.133
GeometricScale: 0.625
PressureScale: 0.000
SizeScale: 0.000
OrientationScale: 0.000
DistanceScale: 0.000
HaveTilt: false
TiltXCenter: 0.000
TiltXScale: 0.000
TiltYCenter: 0.000
TiltYScale: 0.000
Last Button State: 0x00000000
Last Raw Touch: pointerCount=0
Last Cooked Touch: pointerCount=0
Pointer Gesture Detector:
XMovementScale: 0.515
YMovementScale: 0.515
XZoomScale: 0.193
YZoomScale: 0.193
MaxSwipeWidth: 362.038666
Lollipop detect the Devicetype as: pointer and Kitkat as: touchscreen
If you take a look at:
https://source.android.com/devices/input/input-device-configuration-files.html
I just copy the GenericTouch.idc file (from Kitkat) in /system/usr/idc/ and rename it to Vendor_10c4_Product_de03.idc and it solved the problem in my case.
Don't forget to change the Vendor and product id according to your hardware...