I have a problem with my OpenGL Cocoa application - every time a keyUp / KeyDown event is fired, a system sound is being played... How can I disable this logic for my application?
I have a bad feeling that for some strange reason my application may treat a key press as an error and play system alert sound... Please help!
add to your NSView/NSWindow subclass
- (void)keyDown:(NSEvent *)theEvent {
and make exception on up and down keys, but for other [super keyDown:theEvent];
i think it's may sense
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With