Condividi tramite


IGipGameControllerInputSink.OnKeyReceived(UInt64, Byte, Boolean) Metodo

Definizione

Evento generato quando viene ricevuta una chiave.

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)

Parametri

timestamp
UInt64

unsigned long long

uint64_t

Timestamp per l'evento.

keyCode
Byte

byte

Codice chiave per il pulsante che ha generato l'evento.

isPressed
Boolean

bool

Boolean che indica se il tasto viene premuto o rilasciato.

Si applica a