Thanks for the work to create this! Unfortunately it wouldn't fit my needs without some of these key events on Mac, so I've done my best to add them!
I added an NSWindowDelegate to the NSWindow to get more information about what's happening with the window (looking at the NSWindowDelegate API, there's more that can now be done here I'm sure). It emits NSEvents of type ApplicationDefined (as recommended by docs) back to the NSApplication to be picked up in your existing EventQueue.
I don't have much Objective-C experience so apologies in advance! I've tried to mirror the existing implementation/style as much as possible.
Thanks for the work to create this! Unfortunately it wouldn't fit my needs without some of these key events on Mac, so I've done my best to add them!
I added an
NSWindowDelegate
to theNSWindow
to get more information about what's happening with the window (looking at theNSWindowDelegate
API, there's more that can now be done here I'm sure). It emitsNSEvents
of type ApplicationDefined (as recommended by docs) back to theNSApplication
to be picked up in your existingEventQueue
.I don't have much Objective-C experience so apologies in advance! I've tried to mirror the existing implementation/style as much as possible.