Global Touch Bar in Mojave

Hey, I was wondering how you were able to achieve the "global" touch bar buttons in Mojave. I'm working on a personal global touch bar application, and I noticed that something in the DFRFoundation framework changed in Mojave, but due to that private framework being undocumented, I've no way of knowing what was changed.

There doesn't seem to be much discussion of this elsewhere, and yet BTT's global touch bar functionality works just fine in Mojave. If you could point me in the right direction, I'd be ecstatic.

Btw, love the app. I keep discovering new functionalities all the time. Keep up the great work!