Protocol
KeyUpHandler
public protocol KeyUpHandler : EventHandler
A type conforming to KeyUpHandler
is capable of receiving
key up events through the onKeyUp method.
Before receiving events, it must be registered with the dispatcher via the registerKeyUpHandler method. Similarly, it should be unregistered before deinitialization via the unregisterKeyUpHandler method available through the dispatcher.
Relationships
Conforms To
EventHandler
An
Eventhandler
is a type capable of being registered with theDispatcher
to receive events of a certain type.
Requirements
onKeyUp(key:code:ctrlKey:shiftKey:altKey:metaKey:)
func onKeyUp(key:String, code:String, ctrlKey:Bool, shiftKey:Bool, altKey:Bool, metaKey:Bool)