balena-io-experimental / browser

A drop-in web browser block
98 stars 75 forks source link

Support touch input rotation #95

Closed Chrissi2812 closed 2 years ago

Chrissi2812 commented 2 years ago

This will fix rotation bugs for touch input devices, when ROTATE_DISPLAY is set.

It will try to find the Input Devices with Touch in their name. But some devices use different names so the TOUCHSCREEN variable can be set to the name of the device. I had for example a QDtech MPI7003 that I have tested it with.

In only tested it on a RPi4 with the manual part via TOUCHSCREEN variable.

This is based on https://gist.github.com/mildmojo/48e9025070a2ba40795c and https://gist.github.com/mildmojo/48e9025070a2ba40795c#gistcomment-3729827

Change-type: minor

ghost commented 2 years ago

Your landr site preview has been successfully deployed to https://landr-chrissi2812-repo-browser-preview-95.netlify.app

Deployed with Landr 7.1.0