USB notifications - CFRunLoopAddSource


#1

Hi Jules,
I’m trying to get notification from the OS when new USB devices has been inserted or removed,
but when I follow the IOkit API instructions I get no notifications at all.

Apparently you are supposed to call CFRunLoopAddSource at some point, and I wonder if this
interfere with the natural inner workings of a Juce app? (This is a program, not a plugin)

The last thing I want to do is to hack the Juce code base.


#2

I doubt whether that’d cause any problems, there’s nothing special going on with run-loops.