C# Class Project290.Inputs.ControllerPacket

Used for representing what actions were pressed at a point in time. This is a bit different than XNA's controller, because this includes timing, is a mix between keyboard and controller, and is a bit easier to use.
Afficher le fichier Open project: scastle/Solitude Class Usage Examples

Méthodes publiques

Свойство Type Description
AButton bool
AButtonFirst bool
BButton bool
BButtonFirst bool
DPadDown bool
DPadLeft bool
DPadRight bool
DPadUp bool
GoBack bool
LeftBumper bool
LeftBumperFirst bool
LeftTrigger float
LookHorizontal float
LookVertical float
MoveHorizontal float
MoveVertical float
Pause bool
RightBumper bool
RightBumperFirst bool
RightTrigger float
Select bool
SelectionDown bool
SelectionLeft bool
SelectionRight bool
SelectionUp bool
XButton bool
XButtonFirst bool
YButton bool
YButtonFirst bool

Méthodes publiques

Méthode Description
Clear ( ) : void

Clears this instance.

ControllerPacket ( ) : System

Initializes a new instance of the ControllerPacket class.

Method Details

Clear() public méthode

Clears this instance.
public Clear ( ) : void
Résultat void

ControllerPacket() public méthode

Initializes a new instance of the ControllerPacket class.
public ControllerPacket ( ) : System
Résultat System

Property Details

AButton public_oe property

public bool AButton
Résultat bool

AButtonFirst public_oe property

public bool AButtonFirst
Résultat bool

BButton public_oe property

public bool BButton
Résultat bool

BButtonFirst public_oe property

public bool BButtonFirst
Résultat bool

DPadDown public_oe property

public bool DPadDown
Résultat bool

DPadLeft public_oe property

public bool DPadLeft
Résultat bool

DPadRight public_oe property

public bool DPadRight
Résultat bool

DPadUp public_oe property

public bool DPadUp
Résultat bool

GoBack public_oe property

public bool GoBack
Résultat bool

LeftBumper public_oe property

public bool LeftBumper
Résultat bool

LeftBumperFirst public_oe property

public bool LeftBumperFirst
Résultat bool

LeftTrigger public_oe property

public float LeftTrigger
Résultat float

LookHorizontal public_oe property

public float LookHorizontal
Résultat float

LookVertical public_oe property

public float LookVertical
Résultat float

MoveHorizontal public_oe property

public float MoveHorizontal
Résultat float

MoveVertical public_oe property

public float MoveVertical
Résultat float

Pause public_oe property

public bool Pause
Résultat bool

RightBumper public_oe property

public bool RightBumper
Résultat bool

RightBumperFirst public_oe property

public bool RightBumperFirst
Résultat bool

RightTrigger public_oe property

public float RightTrigger
Résultat float

Select public_oe property

public bool Select
Résultat bool

SelectionDown public_oe property

public bool SelectionDown
Résultat bool

SelectionLeft public_oe property

public bool SelectionLeft
Résultat bool

SelectionRight public_oe property

public bool SelectionRight
Résultat bool

SelectionUp public_oe property

public bool SelectionUp
Résultat bool

XButton public_oe property

public bool XButton
Résultat bool

XButtonFirst public_oe property

public bool XButtonFirst
Résultat bool

YButton public_oe property

public bool YButton
Résultat bool

YButtonFirst public_oe property

public bool YButtonFirst
Résultat bool