Which system do you use? Android, Ubuntu, OOWOW or others?
Android 11
Which version of system do you use? Please provide the version of the system here:
Self-built image using official guide
Please describe your issue below:
The main goal is to rotate screen in our custom android image. In system/core/init/property_service.cpp I changed some properties and screen became rotated, but touch input not
} else if (strstr(buf,"khadas_mipi_id=2") != NULL) {
InitPropertySet("sys.lcd.reverse", "2");
InitPropertySet("persist.vendor.hwc.lcdpath", "0");
InitPropertySet("ro.minui.default_rotation", "ROTATION_DOWN");
InitPropertySet("ro.vendor.sf.rotation", "180");
InitPropertySet("ro.surface_flinger.primary_display_orientation", "ORIENTATION_180");
InitPropertySet("ro.surface_flinger.max_graphics_width", "3840");//1920*2
InitPropertySet("ro.surface_flinger.max_graphics_height", "2400");//1200*2
LOG(INFO) << "switch TS101 LCD!";
How can I change touch input orientation? Or you can suggest more optimal way for my problem.