Change to use enum value.
This commit is contained in:
@@ -97,7 +97,7 @@ Action Input::MouseLeave;
|
|||||||
Delegate<const Float2&, int32> Input::TouchDown;
|
Delegate<const Float2&, int32> Input::TouchDown;
|
||||||
Delegate<const Float2&, int32> Input::TouchMove;
|
Delegate<const Float2&, int32> Input::TouchMove;
|
||||||
Delegate<const Float2&, int32> Input::TouchUp;
|
Delegate<const Float2&, int32> Input::TouchUp;
|
||||||
Delegate<StringView, const InputActionState&> Input::ActionTriggered;
|
Delegate<StringView, InputActionState> Input::ActionTriggered;
|
||||||
Delegate<StringView> Input::AxisValueChanged;
|
Delegate<StringView> Input::AxisValueChanged;
|
||||||
Array<ActionConfig> Input::ActionMappings;
|
Array<ActionConfig> Input::ActionMappings;
|
||||||
Array<AxisConfig> Input::AxisMappings;
|
Array<AxisConfig> Input::AxisMappings;
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ public:
|
|||||||
/// Event fired when virtual input action is triggered. Called before scripts update. See <see cref="ActionMappings"/> to edit configuration.
|
/// Event fired when virtual input action is triggered. Called before scripts update. See <see cref="ActionMappings"/> to edit configuration.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="InputEvent"/>
|
/// <seealso cref="InputEvent"/>
|
||||||
API_EVENT() static Delegate<StringView, const InputActionState&> ActionTriggered;
|
API_EVENT() static Delegate<StringView, InputActionState> ActionTriggered;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Event fired when virtual input axis is changed. Called before scripts update. See <see cref="AxisMappings"/> to edit configuration.
|
/// Event fired when virtual input axis is changed. Called before scripts update. See <see cref="AxisMappings"/> to edit configuration.
|
||||||
|
|||||||
Reference in New Issue
Block a user