enum
Opal::Input::Core::DeviceType
Overview
Supported physical input device categories across Opal TUIs, Godot 4.8 (Lapis), and PS2 (Citrine).
Defined in:
opal/input/core/remap_model.crEnum Members
-
Keyboard =
0 -
Mouse =
1 -
Gamepad =
2
Constructors
Instance Method Summary
-
#gamepad?
Returns
trueif this enum value equalsGamepad - #icon : String
-
#keyboard?
Returns
trueif this enum value equalsKeyboard - #label : String
-
#mouse?
Returns
trueif this enum value equalsMouse -
#to_s(io : IO) : Nil
Appends a
Stringrepresentation of this enum member to the given io.