findKeyByCode method Null safety
- 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];