Share via


IHidGameControllerInputSink.OnInputReportReceived 方法

定義

收到輸入時引發的事件。

public:
 void OnInputReportReceived(unsigned long long timestamp, byte reportId, Platform::Array <byte> ^ reportBuffer);
void OnInputReportReceived(uint64_t const& timestamp, byte const& reportId, winrt::array_view <byte> const& reportBuffer);
public void OnInputReportReceived(ulong timestamp, byte reportId, byte[] reportBuffer);
function onInputReportReceived(timestamp, reportId, reportBuffer)
Public Sub OnInputReportReceived (timestamp As ULong, reportId As Byte, reportBuffer As Byte())

參數

timestamp
UInt64

unsigned long long

uint64_t

事件的時間戳記。

reportId
Byte

byte

報表的辨識碼。

reportBuffer

Byte[]

byte[]

包含已接收輸入的緩衝區。

適用於