Bagikan melalui


IXusbGameControllerInputSink Antarmuka

Definisi

Menentukan metode yang diperlukan untuk antarmuka pengontrol Xusb kustom.

public interface class IXusbGameControllerInputSink : IGameControllerInputSink
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2997624213, 28363, 17075, 138, 171, 2, 84, 1, 202, 71, 18)]
struct IXusbGameControllerInputSink : IGameControllerInputSink
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2997624213, 28363, 17075, 138, 171, 2, 84, 1, 202, 71, 18)]
public interface IXusbGameControllerInputSink : IGameControllerInputSink
Public Interface IXusbGameControllerInputSink
Implements IGameControllerInputSink
Atribut
Penerapan

Persyaratan Windows

Rangkaian perangkat
Windows 10 Anniversary Edition (diperkenalkan dalam 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v3.0)

Metode

OnInputReceived(UInt64, Byte, Byte[])

Peristiwa yang dimunculkan saat input diterima.

OnInputResumed(UInt64)

Peristiwa muncul ketika input untuk pengontrol dilanjutkan.

(Diperoleh dari IGameControllerInputSink)
OnInputSuspended(UInt64)

Peristiwa muncul ketika input untuk pengontrol ditangguhkan.

(Diperoleh dari IGameControllerInputSink)

Berlaku untuk

Lihat juga