外部触摸屏输入仅使用光标坐标
我有一台ViewSonic触摸屏显示器通过HDMI和USB连接到Android PC(内核3.0.36+)。 显示屏正确显示一切。 此外,Linux内核可以识别它。
dmesg的:
<6>[ 99.699034] usb 2-1.2.3: new full speed USB device number 8 using usb20_host
<6>[ 99.800896] usb 2-1.2.3: New USB device found, idVendor=0408, idProduct=3008
<6>[ 99.800993] usb 2-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=4
<6>[ 99.801099] usb 2-1.2.3: Product: OpticalTouchScreen
<6>[ 99.801169] usb 2-1.2.3: Manufacturer: Quanta
<6>[ 99.801226] usb 2-1.2.3: SerialNumber: 0000
<4>[ 99.805402] quirks: 0x00000000
问题在于,尽管我可以在任何地方触摸屏幕,但只能在光标位置注册水龙头(连接无线键盘/鼠标)。 如果我移动光标并点击屏幕上的任何位置,新位置就会接收到轻击。 如果我移除键盘/鼠标加密狗,行为仍然存在,但现在我无法移动光标。
显示器的USB连接正在dev/usb
显示(突出显示):
输入设备配置文件位于/system/usr/idc/Vendor_0408_Product_3008.idc
# Input device configuration file.
# This is an external device, attached to the USB or Bluetooth bus.
device.internal = 0
# The device should behave as a touch screen, which uses the same orientation
# as the built-in display.
touch.deviceType = touchScreen
touch.orientationAware = 0
touch.gestureMode = spots
# Orientation
touch.orientation.calibration = vector
# Output Ranges
output.width = 1920
output.height = 1080
output.diag = sqrt(output.width ^2 + output.height ^2)
任何指导或建议表示赞赏!
链接地址: http://www.djcxy.com/p/82555.html上一篇: External touch screen input only uses cursor coordinates
下一篇: Elo touch monitor not correctly recognised in android 4.3