USB touchscreen on Android 4.0.3 -> not possible to select (only moving the pointer)

user1526937 picture user1526937 · Aug 10, 2012 · Viewed 16k times · Source

Good morning guys.

I bought a LCD embedded display with a resistive touch screen integrated. The TS is interfaceable via USB.

I have connected it to a device running Android 4.0.3 and the touch is correctly recognized as externale HID. PROBLEM: the tapping (pressing) is not recognized as selection/confirmation...the only thing that happens, when I tap the screen, is to move the pointer(arrow) in corrispondance of the coordinated of my finger..like I moved a mouse HID without left left clicking

It's not possible for me to scroll or to select something --> big mess for me :(

Please keep in mind that I have another LCD with integrated USB TS that works proprerly. I can select icons in case I tap on them and I can scroll the windows etc -> exactely like a mouse with left button always clicked -> OK for me!!!

Maybe it is a matter of drivers but I have no specific ideas.

P.s. I have no specific drivers for the device.

Any suggestion guys? Please help me :)

Thank you in advance!!!!!

Answer

zombah picture zombah · May 14, 2013

You need to create .idc configuration file for your device.

Process described here http://source.android.com/tech/input/input-device-configuration-files.html

For example if you have device with name XYZ Touchscreen, create file XYZ_Touchscreen.idc in /system/usr/idc/ with content like this:

# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1
touch.gestureMode = default
device.external = 1
touch.usingJitterFilter = 1