共用方式為


IXusbGameControllerInputSink.OnInputReceived(UInt64, Byte, Byte[]) 方法

定義

收到輸入時引發的事件。

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

參數

timestamp
UInt64

unsigned long long

uint64_t

事件的時間戳記。

reportId
Byte

byte

報表的識別碼。

inputBuffer

Byte[]

byte[]

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

適用於