Closed mrarjun closed 2 weeks ago
I doubt it's anything related Raspberry Pi device specific hardware implementation so please refer to AOSP documentation instead.
At a quick glance I can at least tell that IDC files have wrong name which you can also see from the dumpsys that it's not used. It should be QDtech_MPI7003.idc
and I can't find any note that display.port = X
would do anything there.
While the device creates to input device, I think only one is used. Use getevent
tool see which one generates the events and associate it with the display in input-port-associations.xml
.
Tried to connect 2 HDMI display in port 0 and 1. Touch is always going to port 1 even if touching on port 0. Not sure whether it is a correct issue to post here. But appreciate some leads to move further. @KonstaT, Do i need to add other configurations? Thanks for the support.
NOTE: adb shell input x y - process the click in display 0
adb shell dumpsys SurfaceFlinger --display-id
adb shell dmesg | grep -i touch
adb shell getevent -il
https://source.android.com/docs/core/interaction/input/input-device-configuration-files - vendor/usr/idc QDtech MPI7003_usb-xhci-hcd.1-1.idc.txt QDtech MPI7003_usb-xhci-hcd.0-1.idc.txt
https://source.android.com/docs/core/display/multi_display/input-routing display_settings.xml.txt
Added overlay configs in AndroidRpiOverlay https://cs.android.com/android/platform/superproject/main/+/main:device/generic/car/emulator/multi-display-dynamic/overlay/frameworks/base/core/res/res/values/config.xml;l=41?q=config_perDisplayFocusEnabled&ss=android%2Fplatform%2Fsuperproject%2Fmain
https://source.android.com/docs/core/display/multi_display/recommended-practices - vendor/etc input-port-associations.xml..txt
Activity and Input dumpsys multi_display_input_dumpsys.txt multi_display_display_dumpsys.txt