tomasz-grobelny / AACS

Android Auto Server encapsulates communication with modern car infotainment system
GNU General Public License v3.0
241 stars 32 forks source link

Should it work under Wayland? #6

Open hooger opened 3 years ago

hooger commented 3 years ago

I try to compile the library on desktop first and if it works, than see what happens if I fire it up on a PinePhone.

During the cmake phase I have seen that you use X11 Xtst. I checked what this extension is, however I'm not sure for what purpose do you use it? Is what you do heavily dependent on X11, or is this only a minor part that can be thrown away, if used on a Wayland based system?

tomasz-grobelny commented 3 years ago

It is used in GetEvents executable to direct touch events received from headunit to specific application. I would consider it minor part (GetEvents total is less than 150 lines of code, of which only about 10 would depend on X11/Xtst). I don't know enough about Wayland, but one would need to know how to simulate mouse button clicks and that's it.