Bagikan melalui


IGipGameControllerInputSink.OnKeyReceived(UInt64, Byte, Boolean) Metode

Definisi

Peristiwa yang dimunculkan saat kunci diterima.

public:
 void OnKeyReceived(unsigned long long timestamp, byte keyCode, bool isPressed);
void OnKeyReceived(uint64_t const& timestamp, byte const& keyCode, bool const& isPressed);
public void OnKeyReceived(ulong timestamp, byte keyCode, bool isPressed);
function onKeyReceived(timestamp, keyCode, isPressed)
Public Sub OnKeyReceived (timestamp As ULong, keyCode As Byte, isPressed As Boolean)

Parameter

timestamp
UInt64

unsigned long long

uint64_t

Tanda waktu untuk peristiwa tersebut.

keyCode
Byte

byte

Kode kunci untuk tombol yang menaikkan peristiwa.

isPressed
Boolean

bool

Boolean menunjukkan apakah tombol ditekan atau dilepaskan.

Berlaku untuk