Low level event posting + App Store

We're running a little tool called Hej Stylus! - a global application which reads mouse & tablet events, alters them and re-infuses them back into the event stream by using:

CGEvent.tapCreate(tap: .cgSessionEventTap,
place: .headInsertEventTap,
options: .defaultTap,
...

Obviously this can't be made without violating the sandboxing rules.

Is there a way of realising this by using a helper app/kext (with user consent) and make it into the mac app store?

Any help highly appreciated!
Not a chance.
The App Store requires that all apps be sandboxed and modifying user events completely undermines that goal; if you can inject user events you could easily bypass the sandbox.

If this functionality is critical to your product, I recommend that you distribute it independently using Developer ID.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Low level event posting + App Store
 
 
Q