Hi,
I am using MIPI-DSI display with i.MX8M mini. U-boot and kernel are as follow.
I am able to bring-up the display and rotate it using weston.ini . Now, i want to rotate the display with the input of accelerometer and gyroscope.
Can any share the documents or example for auto-rotate display with weston-wayland?
Hi @Zhiming_Liu ,
Thanks for the reply.
I used weston_output_set_transform as you suggested, and it required resetting the display in order to apply the rotation.
Can you suggest any thing like xrandr used for X11?
We don't have such document or demo code for weston.
You can add thread to listen accelerometer data and use weston_output_set_transform change the display orientation