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

报表的 ID。

inputBuffer

Byte[]

byte[]

包含接收的输入的缓冲区。

适用于