findKeyByCode static method
- int usageCode
Finds a known PhysicalKeyboardKey that matches the given USB HID usage code.
Implementation
static PhysicalKeyboardKey? findKeyByCode(int usageCode) => _knownPhysicalKeys[usageCode];
Finds a known PhysicalKeyboardKey that matches the given USB HID usage code.
static PhysicalKeyboardKey? findKeyByCode(int usageCode) => _knownPhysicalKeys[usageCode];