Constructor
Variables
charPressed:Keyboard_charPressed_Signal = new se.input.Keyboard_charPressed_Signal()
When this signal is emitted, only the slots with the exact parameter mask
(char:String
) values are invoked.
Call charPressed(char)
or charPressed.emit(char)
to emit the signal
down:Keyboard_down_Signal = new se.input.Keyboard_down_Signal()
This signal invokes its slots with key:KeyCode
parameter when emitted.
Call down(key)
or down.emit(key)
to emit the signal
hold:Keyboard_hold_Signal = new se.input.Keyboard_hold_Signal()
This signal invokes its slots with key:KeyCode
parameter when emitted.
Call hold(key)
or hold.emit(key)
to emit the signal
keyDown:Keyboard_keyDown_Signal = new se.input.Keyboard_keyDown_Signal()
When this signal is emitted, only the slots with the exact parameter mask
(key:se.input.Keyboard.KeyCode
) values are invoked.
Call keyDown(key)
or keyDown.emit(key)
to emit the signal
keyHold:Keyboard_keyHold_Signal = new se.input.Keyboard_keyHold_Signal()
When this signal is emitted, only the slots with the exact parameter mask
(key:se.input.Keyboard.KeyCode
) values are invoked.
Call keyHold(key)
or keyHold.emit(key)
to emit the signal
keyUp:Keyboard_keyUp_Signal = new se.input.Keyboard_keyUp_Signal()
When this signal is emitted, only the slots with the exact parameter mask
(key:se.input.Keyboard.KeyCode
) values are invoked.
Call keyUp(key)
or keyUp.emit(key)
to emit the signal
pressed:Keyboard_pressed_Signal = new se.input.Keyboard_pressed_Signal()
This signal invokes its slots with char:String
parameter when emitted.
Call pressed(char)
or pressed.emit(char)
to emit the signal
Methods
inlineoffCharPressed(slot:() ‑> Void):Void
Shortcut for charPressed
signal's function disconnect
which disconnects slots from it.
Parameters:
slot | a callback to remove from |
---|
inlineoffDown(slot:(key:KeyCode) ‑> Void):Void
Shortcut for down
signal's function disconnect
which disconnects slots from it.
Parameters:
slot | a callback to remove from |
---|
inlineoffHold(slot:(key:KeyCode) ‑> Void):Void
Shortcut for hold
signal's function disconnect
which disconnects slots from it.
Parameters:
slot | a callback to remove from |
---|
inlineoffKeyDown(slot:() ‑> Void):Void
Shortcut for keyDown
signal's function disconnect
which disconnects slots from it.
Parameters:
slot | a callback to remove from |
---|
inlineoffKeyHold(slot:() ‑> Void):Void
Shortcut for keyHold
signal's function disconnect
which disconnects slots from it.
Parameters:
slot | a callback to remove from |
---|
inlineoffKeyUp(slot:() ‑> Void):Void
Shortcut for keyUp
signal's function disconnect
which disconnects slots from it.
Parameters:
slot | a callback to remove from |
---|
inlineoffPressed(slot:(char:String) ‑> Void):Void
Shortcut for pressed
signal's function disconnect
which disconnects slots from it.
Parameters:
slot | a callback to remove from |
---|
inlineoffUp(slot:(key:KeyCode) ‑> Void):Void
Shortcut for up
signal's function disconnect
which disconnects slots from it.
Parameters:
slot | a callback to remove from |
---|
inlineonCharPressed(char:String, slot:() ‑> Void):Void
Shortcut for charPressed
signal's function connect
which connects slots to it.
Parameters:
char | Mask parameter of the slot |
---|---|
slot | a callback to invoke when |
inlineonDown(slot:(key:KeyCode) ‑> Void):Void
Shortcut for down
signal's function connect
which connects slots to it.
Parameters:
slot | a callback to invoke when |
---|
inlineonHold(slot:(key:KeyCode) ‑> Void):Void
Shortcut for hold
signal's function connect
which connects slots to it.
Parameters:
slot | a callback to invoke when |
---|
inlineonKeyDown(key:KeyCode, slot:() ‑> Void):Void
Shortcut for keyDown
signal's function connect
which connects slots to it.
Parameters:
key | Mask parameter of the slot |
---|---|
slot | a callback to invoke when |
inlineonKeyHold(key:KeyCode, slot:() ‑> Void):Void
Shortcut for keyHold
signal's function connect
which connects slots to it.
Parameters:
key | Mask parameter of the slot |
---|---|
slot | a callback to invoke when |
inlineonKeyUp(key:KeyCode, slot:() ‑> Void):Void
Shortcut for keyUp
signal's function connect
which connects slots to it.
Parameters:
key | Mask parameter of the slot |
---|---|
slot | a callback to invoke when |
inlineonPressed(slot:(char:String) ‑> Void):Void
Shortcut for pressed
signal's function connect
which connects slots to it.
Parameters:
slot | a callback to invoke when |
---|