Receives Unicode, the key code that generated it, and any modifier flags.
SDK
- macOS 10.5+
Framework
- Input
Method Kit
Declaration
Parameters
string
The text input by the client.
keyCode
The key code for the associated Unicode.
flags
The modifier flags.
sender
The client object.
Return Value
true
if the input is accepted; otherwise false
.