Bagikan melalui


IGipGameControllerInputSink Antarmuka

Definisi

Menentukan metode yang diperlukan untuk antarmuka pengontrol Gip kustom.

public interface class IGipGameControllerInputSink : IGameControllerInputSink
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2718993087, 2545, 17340, 161, 64, 128, 248, 153, 236, 54, 251)]
struct IGipGameControllerInputSink : IGameControllerInputSink
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2718993087, 2545, 17340, 161, 64, 128, 248, 153, 236, 54, 251)]
public interface IGipGameControllerInputSink : IGameControllerInputSink
Public Interface IGipGameControllerInputSink
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

OnInputResumed(UInt64)

Peristiwa muncul ketika input untuk pengontrol dilanjutkan.

(Diperoleh dari IGameControllerInputSink)
OnInputSuspended(UInt64)

Peristiwa muncul ketika input untuk pengontrol ditangguhkan.

(Diperoleh dari IGameControllerInputSink)
OnKeyReceived(UInt64, Byte, Boolean)

Peristiwa yang dimunculkan saat kunci diterima.

OnMessageReceived(UInt64, GipMessageClass, Byte, Byte, Byte[])

Peristiwa yang dimunculkan saat pesan diterima.

Berlaku untuk

Lihat juga