findKeyByCode static method

PhysicalKeyboardKey? findKeyByCode(
  1. int usageCode
)

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

Implementation

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