RacingWheel 클래스

정의

레이싱 휠을 나타냅니다.

public ref class RacingWheel sealed
public ref class RacingWheel sealed : IGameControllerBatteryInfo
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RacingWheel final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RacingWheel final : IGameControllerBatteryInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RacingWheel
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RacingWheel : IGameControllerBatteryInfo
Public NotInheritable Class RacingWheel
Public NotInheritable Class RacingWheel
Implements IGameControllerBatteryInfo
상속
Object Platform::Object IInspectable RacingWheel
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)

설명

지원되는 디바이스

RacingWheel 은 힘 피드백 지원 없이 모든 GIP(게임 입력 프로토콜) 또는 XUSB 호환 레이싱 휠을 지원합니다.

강제 피드백은 다음 디바이스 모델에서 지원됩니다.

제조업체모델
로지텍G25
G27
G29
G920
MOMO Force Feedback Racing Wheel
추력 마스터T300RS
T500RS
RGT 힘 피드백
T150
TX
TMX
FanatecCSR
Xbox One용 HID 모드

위에 나열된 디바이스를 사용하려면 앱의 appxmanifest에 HID(휴먼 인터페이스 디바이스) 기능 선언을 포함해야 합니다.

<Capabilities>
  <DeviceCapability Name="humaninterfacedevice">
    <Device Id="any">
      <Function Type="usage:0001 0004"/>
      <Function Type="usage:0001 0005"/>
    </Device>
  </DeviceCapability>
</Capabilities>

버전 기록

Windows 버전 SDK 버전 추가된 값
1703 15063 FromGameController
1703 15063 TryGetBatteryReport

속성

HasClutch

레이싱 휠에 클러치가 있는지 여부를 나타내는 부울입니다.

HasHandbrake

레이싱 휠에 핸드브레이크가 있는지 여부를 나타내는 부울입니다.

HasPatternShifter

레이싱 휠에 패턴 시프터가 있는지 여부를 나타내는 부울입니다.

Headset

레이싱 휠에 부착된 오디오 헤드셋입니다.

IsWireless

레이싱 휠의 무선 상태를 나타내는 값을 가져옵니다.

MaxPatternShifterGear

시프터의 가장 높은 기어입니다.

MaxWheelAngle

레이싱 휠의 최대 각도(도)입니다.

RacingWheels

연결된 모든 레이싱 휠의 목록입니다.

User

레이싱 휠과 연결된 사용자입니다.

WheelMotor

레이싱 휠의 힘 피드백 모터입니다.

메서드

FromGameController(IGameController)

지정된 게임 컨트롤러를 레이싱 휠로 반환합니다.

GetButtonLabel(RacingWheelButtons)

지정된 단추의 단추 레이블을 검색합니다.

GetCurrentReading()

레이싱 휠 상태의 스냅샷 가져옵니다.

TryGetBatteryReport()

레이싱 휠의 현재 배터리 상태에 대한 정보를 가져옵니다.

이벤트

HeadsetConnected

헤드셋이 레이싱 휠에 연결되면 신호를 보냅니다.

HeadsetDisconnected

레이싱 휠에서 헤드셋의 연결이 끊어지면 신호를 보냅니다.

RacingWheelAdded

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

RacingWheelRemoved

레이싱 휠의 연결이 끊어지면 신호를 보냅니다.

UserChanged

레이싱 휠과 연결된 사용자가 변경된 시점을 신호로 표시합니다.

적용 대상

추가 정보