다음을 통해 공유


RacingWheel.RacingWheelAdded 이벤트

정의

새 레이싱 휠이 연결되면 신호를 보냅니다.

// Register
static event_token RacingWheelAdded(EventHandler<RacingWheel> const& handler) const;

// Revoke with event_token
static void RacingWheelAdded(event_token const* cookie) const;

// Revoke with event_revoker
static RacingWheel::RacingWheelAdded_revoker RacingWheelAdded(auto_revoke_t, EventHandler<RacingWheel> const& handler) const;
public static event System.EventHandler<RacingWheel> RacingWheelAdded;
function onRacingWheelAdded(eventArgs) { /* Your code */ }
Windows.Gaming.Input.RacingWheel.addEventListener("racingwheeladded", onRacingWheelAdded);
Windows.Gaming.Input.RacingWheel.removeEventListener("racingwheeladded", onRacingWheelAdded);
- or -
Windows.Gaming.Input.RacingWheel.onracingwheeladded = onRacingWheelAdded;
Public Shared Custom Event RacingWheelAdded As EventHandler(Of RacingWheel) 

이벤트 유형

설명

이미 추가된 레이싱 휠을 식별하려면 RacingWheel.RacingWheels을 사용하여 연결된 레이싱 휠 목록을 쿼리합니다.

적용 대상