DirectInputKeysHelper class

A helper class for managing and converting direct input keys to their corresponding key codes.

This class provides mappings from DirectInputKey to their respective string key codes, and also provides utilities for converting characters and integers into direct input keys.

Constructors

DirectInputKeysHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

charToDirectInputKey Map<String, DirectInputKey>
A mapping of characters to DirectInputKey for direct input key conversion.
getter/setter pair
directInputKeyCodes Map<DirectInputKey, String>
A mapping of DirectInputKey to their respective string key codes.
getter/setter pair

Static Methods

convertIntToDirectInputKeys(int value) List<String>
Converts an integer value to a list of corresponding direct input key codes.