Interface IGamepadInput
Represents an interface for the gamepad input.
public interface IGamepadInput : IInputDeviceListener, IInitializable
- Inherited Members
- Extension Methods
Properties
GamePadInfo
Gets the current gamepad state.
GamePadState GamePadInfo { get; }
Property Value
Events
ButtonPressed
Occurs when the gamepad button is pressed.
event EventHandler<GenericEventArgs<GamePadButtons>>? ButtonPressed
Event Type
ButtonReleased
Occurs when the gamepad button is released.
event EventHandler<GenericEventArgs<GamePadButtons>>? ButtonReleased
Event Type
LeftShoulderUpdate
Occurs when the left gamepad shoulder is updated.
event EventHandler<GenericEventArgs<float>>? LeftShoulderUpdate
Event Type
LeftStickMove
Occurs when the left gamepad stick moves.
event EventHandler<GenericEventArgs<Vector2>>? LeftStickMove
Event Type
RightShoulderUpdate
Occurs when the right gamepad shoulder is updated.
event EventHandler<GenericEventArgs<float>>? RightShoulderUpdate
Event Type
RightStickMove
Occurs when the right gamepad stick moves.
event EventHandler<GenericEventArgs<Vector2>>? RightStickMove