GamePadSimulated Class
Namespace: Stride.Input
Assembly: Stride.Input.dll
Derived from GamePadSimulated:
public class GamePadSimulated : GamePadDeviceBase, IGamePadDevice, IInputDevice
|
Improve this Doc
View Source
Constructors
public GamePadSimulated(InputSourceSimulated source)
Parameters
|
Improve this Doc
View Source
Properties
public override Guid Id { get; }
Property Value
Type |
Description |
System.Guid |
|
Overrides
public override string Name { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
public override Guid ProductId { get; }
Property Value
Type |
Description |
System.Guid |
|
Overrides
public override IInputSource Source { get; }
Property Value
Overrides
public override GamePadState State { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Methods
public void SetAxis(GamePadAxis axis, float value)
Parameters
Type |
Name |
Description |
GamePadAxis |
axis |
|
System.Single |
value |
|
public void SetButton(GamePadButton button, bool state)
Parameters
public override void SetVibration(float smallLeft, float smallRight, float largeLeft, float largeRight)
Parameters
Type |
Name |
Description |
System.Single |
smallLeft |
|
System.Single |
smallRight |
|
System.Single |
largeLeft |
|
System.Single |
largeRight |
|
Overrides
public override void Update(List<InputEvent> inputEvents)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<InputEvent> |
inputEvents |
|
Overrides
Extension Methods