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.
Mostrar archivo Open project: scastle/Solitude Class Usage Examples

Public Properties

Property 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

Public Methods

Method Description
Clear ( ) : void

Clears this instance.

ControllerPacket ( ) : System

Initializes a new instance of the ControllerPacket class.

Method Details

Clear() public method

Clears this instance.
public Clear ( ) : void
return void

ControllerPacket() public method

Initializes a new instance of the ControllerPacket class.
public ControllerPacket ( ) : System
return System

Property Details

AButton public_oe property

public bool AButton
return bool

AButtonFirst public_oe property

public bool AButtonFirst
return bool

BButton public_oe property

public bool BButton
return bool

BButtonFirst public_oe property

public bool BButtonFirst
return bool

DPadDown public_oe property

public bool DPadDown
return bool

DPadLeft public_oe property

public bool DPadLeft
return bool

DPadRight public_oe property

public bool DPadRight
return bool

DPadUp public_oe property

public bool DPadUp
return bool

GoBack public_oe property

public bool GoBack
return bool

LeftBumper public_oe property

public bool LeftBumper
return bool

LeftBumperFirst public_oe property

public bool LeftBumperFirst
return bool

LeftTrigger public_oe property

public float LeftTrigger
return float

LookHorizontal public_oe property

public float LookHorizontal
return float

LookVertical public_oe property

public float LookVertical
return float

MoveHorizontal public_oe property

public float MoveHorizontal
return float

MoveVertical public_oe property

public float MoveVertical
return float

Pause public_oe property

public bool Pause
return bool

RightBumper public_oe property

public bool RightBumper
return bool

RightBumperFirst public_oe property

public bool RightBumperFirst
return bool

RightTrigger public_oe property

public float RightTrigger
return float

Select public_oe property

public bool Select
return bool

SelectionDown public_oe property

public bool SelectionDown
return bool

SelectionLeft public_oe property

public bool SelectionLeft
return bool

SelectionRight public_oe property

public bool SelectionRight
return bool

SelectionUp public_oe property

public bool SelectionUp
return bool

XButton public_oe property

public bool XButton
return bool

XButtonFirst public_oe property

public bool XButtonFirst
return bool

YButton public_oe property

public bool YButton
return bool

YButtonFirst public_oe property

public bool YButtonFirst
return bool