findKeyByCode method

PhysicalKeyboardKey findKeyByCode (int usageCode)

Finds a known PhysicalKeyboardKey that matches the given USB HID usage code.

Implementation

static PhysicalKeyboardKey findKeyByCode(int usageCode) => _knownPhysicalKeys[usageCode];