Struct ActionConfig
Maps keyboard, controller, or mouse inputs to a "friendly name" that will later be bound to continuous game behavior, such as movement. The inputs mapped in AxisMappings are continuously polled, even if they are just reporting that their input value.
Assembly: FlaxEngine.dll
File: Engine/Input/VirtualInput.h
Syntax
public struct ActionConfig
Fields
Gamepad
Which gamepad should be used.
Declaration
public InputGamepadIndex Gamepad
Field Value
InputGamepadIndex
|
GamepadButton
The gamepad button to map for this action. Use GamepadButton.None to ignore it.
Declaration
public GamepadButton GamepadButton
Field Value
GamepadButton
|
Key
The keyboard key to map for this action. Use KeyboardKeys.None to ignore it.
Declaration
public KeyboardKeys Key
Field Value
KeyboardKeys
|
Mode
The trigger mode. Allows to specify when input event should be fired.
Declaration
public InputActionMode Mode
Field Value
InputActionMode
|
MouseButton
The mouse button to map for this action. Use MouseButton.None to ignore it.
Declaration
public MouseButton MouseButton
Field Value
MouseButton
|
Name
The action "friendly name" used to access it from code.
Declaration
public String Name
Field Value
String
|