USB touch screen on Android 4.0.3 & # 8594; not selectable (pointer movement only)

Good morning, guys.

I bought an LCD with an integrated touch screen. TS is controlled via USB.

I connected it to a device running Android 4.0.3, and the touch interface is correctly recognized as an external HID. PROBLEM: pressing (pressing) is not recognized as a selection / confirmation ... the only thing that happens when I press the screen is to move the pointer (arrow) in accordance with my spine. HID mouse without a left click

Unable to scroll or select something -> a big mess for me :(

Please keep in mind that I have another LCD with a built-in USB TS that works proprerly. I can select the icons in case I click on them and I can scroll through the windows, etc. → exactly how the mouse with the left button is always pressed → OK for me !!!

Perhaps this is about drivers, but I have no specific ideas.

Ps I do not have specific drivers for the device.

Any suggestions? Please help me:)

Thank you in advance!!!!!

+2
source share
4 answers

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

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

For example, if you have a device called XYZ Touchscreen, create the XYZ_Touchscreen.idc file 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 
+5
source

I've been looking for this for months. Most touch screens seem to be identified by Android as a mouse. These two are very different from operations and device definitions. ( Android input device configuration files ). This may be the reason that scrolls and clicks do not work. I have yet to find a touch monitor with suitable drivers for Android. :(

I found the Dev manual for touch devices here . There seem to be a lot of differences with the mouse and the touch screen. I think your problem can be solved with the right touch screen drivers.

This discussion can help you.

0
source

It seems that several companies are trying to make Android tochscreen monitors:

Hanns.G runs on a monitor that supports wireless touchscreen support for Android: http://liliputing.com/2011/09/two-way-sync-between-an-android-tablet-and-a-touchscreen-monitor. html http://hackaday.com/2011/07/11/running-android-on-large-touch-screen-displays/

0
source

android, native support for any HID-MOUSE or HID-DIGITIZER. it also needs a helper file based on any of the following formats. if no such auxiliary files are found, then the touch screens will act like tochpad.

You can use the linux evtest tool to check the type of USB device!

Link:

https://source.android.com/devices/input/input-device-configuration-files.html

Input device configuration files are located by USB vendor ID, product (and optional version), or by input device name.

The following paths are carried out:

 /system/usr/idc/Vendor_XXXX_Product_XXXX_Version_XXXX.idc /system/usr/idc/Vendor_XXXX_Product_XXXX.idc /system/usr/idc/DEVICE_NAME.idc /data/system/devices/idc/Vendor_XXXX_Product_XXXX_Version_XXXX.idc /data/system/devices/idc/Vendor_XXXX_Product_XXXX.idc /data/system/devices/idc/DEVICE_NAME.idc 

Microchip AR1100 USB device example as HID-DIGITIZER / system / usr / idc / Vendor _04d8_Product_0c03.idc

 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Emulator keyboard configuration file #1. # # Basic Parameters touch.deviceType = touchScreen touch.orientationAware = 1 # Size touch.size.calibration = diameter touch.size.scale = 0 touch.size.bias = 0 touch.size.isSummed = 0 # Pressure # Driver reports signal strength as pressure. # # A normal thumb touch typically registers about 200 signal strength # units although we don't expect these values to be accurate. touch.pressure.calibration = amplitude touch.pressure.scale = 0.005 # Orientation touch.orientation.calibration = none 

Thanks,

0
source

Source: https://habr.com/ru/post/1447218/


All Articles