1
votes

I'm building a synergy like app for Mac OS, that captures keyboard/mouse and sends them to a remote computer.

I wish to capture all user keyboard and mouse events, while my NSWindow is in focus (if possible, while not in focus would be nicer). the catch is - I don't want system shortcuts like CMD+Tab or CMD+Q to interrupt me, I wish to handle them before the windowing system does, so that my app won't loose focus. Same for mouse.

Thanks

1

1 Answers

0
votes

Check this - Cocoa Event-Handling Guide

Hope this helps :)