IXusbGameControllerInputSink.OnInputReceived(UInt64, Byte, Byte[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
收到輸入時引發的事件。
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[]
包含已接收輸入的緩衝區。