Expose some Input class delegates to scripting API
This commit is contained in:
@@ -85,18 +85,18 @@ Keyboard* Input::Keyboard = nullptr;
|
||||
Array<Gamepad*, FixedAllocation<MAX_GAMEPADS>> Input::Gamepads;
|
||||
Action Input::GamepadsChanged;
|
||||
Array<InputDevice*, InlinedAllocation<16>> Input::CustomDevices;
|
||||
Input::CharDelegate Input::CharInput;
|
||||
Input::KeyboardDelegate Input::KeyDown;
|
||||
Input::KeyboardDelegate Input::KeyUp;
|
||||
Input::MouseButtonDelegate Input::MouseDown;
|
||||
Input::MouseButtonDelegate Input::MouseUp;
|
||||
Input::MouseButtonDelegate Input::MouseDoubleClick;
|
||||
Input::MouseWheelDelegate Input::MouseWheel;
|
||||
Input::MouseDelegate Input::MouseMove;
|
||||
Delegate<Char> Input::CharInput;
|
||||
Delegate<KeyboardKeys> Input::KeyDown;
|
||||
Delegate<KeyboardKeys> Input::KeyUp;
|
||||
Delegate<const Float2&, MouseButton> Input::MouseDown;
|
||||
Delegate<const Float2&, MouseButton> Input::MouseUp;
|
||||
Delegate<const Float2&, MouseButton> Input::MouseDoubleClick;
|
||||
Delegate<const Float2&, float> Input::MouseWheel;
|
||||
Delegate<const Float2&> Input::MouseMove;
|
||||
Action Input::MouseLeave;
|
||||
Input::TouchDelegate Input::TouchDown;
|
||||
Input::TouchDelegate Input::TouchMove;
|
||||
Input::TouchDelegate Input::TouchUp;
|
||||
Delegate<const Float2&, int32> Input::TouchDown;
|
||||
Delegate<const Float2&, int32> Input::TouchMove;
|
||||
Delegate<const Float2&, int32> Input::TouchUp;
|
||||
Delegate<StringView> Input::ActionTriggered;
|
||||
Array<ActionConfig> Input::ActionMappings;
|
||||
Array<AxisConfig> Input::AxisMappings;
|
||||
|
||||
Reference in New Issue
Block a user