IGipGameControllerInputSink.OnKeyReceived(UInt64, Byte, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.