I would like to detect Apple Vision Pro - Virtual Display sharing for my Mac.
One of the reasons why I need this functionality is because I have an app that detects screen brightness and it only works when I'm outside of Virtual Display (when I'm using my MacBook's display / when I take off AVP).
When I connect to Virtual Display and then disconnect the app stops working.
I thought BTT would be the best tool to address this issue by quitting the app when Virtual Display connects and launching the app when Virtual Display disconnects.
I'm not sure how Virtual Display is "reflected" internally on macOS. Maybe it's AirPlay display? Is there any way I can already detect this? I searched in the settings, but couldn't figure it out.