Свойство | Тип | Описание | |
---|---|---|---|
mapping | ButtonState>.Dictionary | ||
rumbles | Rumble[] |
Метод | Описание | |
---|---|---|
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
GetState ( MappingButtons button ) : ButtonState |
Get a button state. For thumbsticks, use the thumbsticks (left / right) properties |
|
Rumble ( Vector2 power ) : void |
Make the device rumble if possible
|
|
Update ( |
Update button states
|
Метод | Описание | |
---|---|---|
Device ( LogicalPlayerIndex logicalPlayerIndex, DeviceType type, int index ) : System | ||
SetMappingValue ( MappingButtons button, bool isDown, bool isPressed, bool isReleased ) : void |
Метод | Описание | |
---|---|---|
RumbleAssignation ( ) : void |
protected Device ( LogicalPlayerIndex logicalPlayerIndex, DeviceType type, int index ) : System | ||
logicalPlayerIndex | LogicalPlayerIndex | |
type | DeviceType | |
index | int | |
Результат | System |
public GetState ( MappingButtons button ) : ButtonState | ||
button | MappingButtons | |
Результат | ButtonState |
protected SetMappingValue ( MappingButtons button, bool isDown, bool isPressed, bool isReleased ) : void | ||
button | MappingButtons | |
isDown | bool | |
isPressed | bool | |
isReleased | bool | |
Результат | void |
public Update ( |
||
gameTime | ||
Результат | void |