Class InputManager
Manages high-performance input polling and state tracking.
Detects input changes and raises events for the input system.
Assembly: PopcorningGuineaPig.Engine.dll
public class InputManager
Fields
|
Edit this page
View Source
Axis treated as pressed at/above this magnitude (matches FrameInput).
Declaration
public const float AxisPressThreshold = 0.5
Field Value
Methods
|
Edit this page
View Source
Declaration
public InputManager.GamepadState GetGamepad(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
|
Edit this page
View Source
Declaration
public bool IsGamepadConnected(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
|
Edit this page
View Source
Declaration
Events
|
Edit this page
View Source
Declaration
public event Action<InputEvent>? OnInputChanged
Event Type