Hi there,
I am working on a little application which processes cursor and graphics tablet data and adds some extra control to the output.
So far it makes use of...
if let eventTap = CGEvent.tapCreate(tap: .cgSessionEventTap, //.cghidEventTap
place: .headInsertEventTap,
options: .defaultTap,
eventsOfInterest: eventMask,
callback: handleTapEvent,
userInfo: userInfo)
... to modify existing events.
The issue that in some cases arises (it's a globally working app) - that some other applications pull and process pointer-data aside the event stream and therefor create conflicting values.
Would creating and posting events to a 'virtual pointing device' on a lower system level (kext) help?
Let's discuss. BR, E
Post
Replies
Boosts
Views
Activity
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!