KeyRecording class
This class represents a KeyRecording, you can think of it as a
Properties:
- logicalKeyId - The logical key identifier from Darts's keyboard API
- description - A human-readable description of the key
- linux - The Linux-specific key identifier (can be null)
- windows - The Windows-specific key identifier (can be null)
- mac - The MacOS-specific key identifier (can be null)
- keyEventType - The type of event to be performed on the key
- delay - The delay to wait before performing the event
You can get a KeyRecording from the KeyMap like this
Example:
KeyRecording key_b = KeyMap.keyB.keyRecording(),
you can also alter the KeyEventType and the Duration, check KeyRecordingsMap for more information
Constructors
- KeyRecording.new(LogicalKeyboardKey? logicalKeyId, String? description, String? linux, int? windows, int? mac, KeyEventType keyEventType, Duration delay)
-
const
Properties
- delay → Duration
-
final
- description → String?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyEventType → KeyEventType
-
final
- linux → String?
-
finalinherited
- logicalKeyId → LogicalKeyboardKey?
-
finalinherited
- mac → int?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- windows → int?
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited