Top "Nsevent" questions

An object sent along to your app from macOS that contains information about an input action such as a mouse click or a key press.

how to handle key events in iphone

Hi I am working on an iphone application and want to handle keyboard events in iphone. In Mac, there is …

iphone objective-c ios macos nsevent
Detect left and right mouse click on NSView

In Swift: I created a simple NSView and now want to execute different functions, depending on which mouseButton is pressed (…

swift nsview nsevent
Check modifierFlags of NSEvent if a certain modifier was pressed but no other

I just experimented with the addLocalMonitorForEventsMatchingMask:handler: method in NSEvent and came across the following question: How do I find …

objective-c cocoa event-listener nsevent modifier-key
Getting [NSEvent mouseLocation] in view coordination system

I have an NSView that is catching a mouseDown event. I'm getting the coordination of the mouse click using: - (…

macos mousedown nsevent