isMouse property

bool get isMouse

Whether this came from the mouse (a wheel step or a click) rather than the keyboard.

Implementation

bool get isMouse => isWheel || type == KeyType.click;