public bool IsPressed(MouseButtons button) { if (!_reference.ContainsKey(button)) { return false; } return _reference[button]; }