ardera / flutter-pi

A light-weight Flutter Engine Embedder for Raspberry Pi that runs without X.
MIT License
1.48k stars 153 forks source link

Add option to disable cursor icons at compile time #403

Closed ghost closed 1 month ago

ghost commented 1 month ago

Why?

Some touchscreen controllers such as the AR1100 show up as an USB mouse, in my use case it is undesirable to have the cursor icons appear on the touchscreen.

This pull request adds an option flag to cmake which will disable the cursor icons, they will be enabled by default.

Feedback will be much appreciated.

Thanks

ardera commented 1 month ago

do you know of any other controllers that have this quirk?

I think it's pretty rare, so we can also just add a check for the AR1100 serial number and treat it as a touchscreen. The proper place to fix this would probably be libinput/hwdb though

ardera commented 1 month ago

Seems like you can also switch the AR1100 into touchscreen mode with the calibration utility: https://www.microchip.com/en-us/product/AR1100