Is there any way to check are there any buttons pressed down? Not necessarily interested in the events.
Here is topic about that
Thanks for the link. I already tried NSEvent.AddLocalMonitorForEventsMatchingMask(NSEventMask.KeyDown, KeyboardEventHandler);, but it did not work. My software has only status bar icon, no UI, and my guess is that this NSEvent.AddLocalMonitorForEventsMatchingMask requires focus to the UI.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies