InputAPI: fill MouseEvent::heldKeys.