Share via


IGipGameControllerInputSink.OnKeyReceived(UInt64, Byte, Boolean) Method

Definition

Event raised when a key is received.

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)

Parameters

timestamp
UInt64

unsigned long long

uint64_t

Timestamp for the event.

keyCode
Byte

byte

The key code for the button that raised the event.

isPressed
Boolean

bool

Boolean indicating whether the key is pressed or released.

Applies to