Hammerspoon / hammerspoon

Staggeringly powerful macOS desktop automation with Lua
http://www.hammerspoon.org
MIT License
11.91k stars 579 forks source link

Would be great to know when an iPad is available to use as a sidecar #3581

Open ar7casper opened 8 months ago

ar7casper commented 8 months ago

I have an ipad, i want to extend the displays once it's connected to USB. The thing is that USB module won't work cause it's not recognizable as USB. Would be great to be able to tell if it's available as sidecar.

latenitefilms commented 8 months ago

Could you just detect the toolbar icon (next to clock) appearing? Or check for System Notifications?

ar7casper commented 8 months ago

It doesn't notify on that.

cmsj commented 1 month ago

Is hs.usb not able to see the iPad when it's connected?

dmgerman commented 1 month ago

Is hs.usb not able to see the iPad when it's connected?

I tried: