C# 클래스 EliteUi.EliteGamepadAdapter

Adapter with auto-reconnect for the EliteGamepad
파일 보기 프로젝트 열기: saqneo/Elite 1 사용 예제들

공개 메소드들

메소드 설명
GetCurrentUnmappedReading ( ) : GamepadReading

Gets the current unmapped reading.

TryCreate ( EliteGamepadAdapter &gamepad ) : bool

Tries to create a gamepad.

TryCreate ( string gamepadFriendlyName, EliteGamepadAdapter &gamepad ) : bool

Tries the create.

비공개 메소드들

메소드 설명
EliteGamepadAdapter ( EliteGamepad gamepad ) : System

Initializes a new instance of the EliteGamepadAdapter class.

EnsureGamepadInitialized ( EliteGamepad gamepad ) : void

Connects the gamepad.

RemoveGamepad ( EliteGamepad data ) : void

Disconnects the gamepad.

메소드 상세

GetCurrentUnmappedReading() 공개 메소드

Gets the current unmapped reading.
The gamepad is uninitialized or disconnected.
public GetCurrentUnmappedReading ( ) : GamepadReading
리턴 GamepadReading

TryCreate() 공개 정적인 메소드

Tries to create a gamepad.
public static TryCreate ( EliteGamepadAdapter &gamepad ) : bool
gamepad EliteGamepadAdapter The gamepad.
리턴 bool

TryCreate() 공개 정적인 메소드

Tries the create.
public static TryCreate ( string gamepadFriendlyName, EliteGamepadAdapter &gamepad ) : bool
gamepadFriendlyName string ID of the game pad trying to be created.
gamepad EliteGamepadAdapter The gamepad.
리턴 bool