void MobileSimulator::MouseDownEvent(Vec2i screenCoordinates, MouseButtonInput button) { _mouseDown = true; TouchList* tl = &TouchListener::GetTouchList(); if (theInput.IsKeyDown(ANGEL_KEY_LEFTCONTROL) || theInput.IsKeyDown(ANGEL_KEY_RIGHTCONTROL)) { // add the two touches Touch* t = new Touch(); t->__platformTouch = NULL; t->StartingPoint = screenCoordinates; t->CurrentPoint = t->StartingPoint; tl->push_back(t); SendTouchNotifiers(t, TOUCH_START); t = new Touch(); t->__platformTouch = NULL; Vector2 pos2 = MathUtil::WorldToScreen(_fingerGhost2->GetPosition()); t->StartingPoint = Vec2i(pos2.X, pos2.Y); t->CurrentPoint = t->StartingPoint; tl->push_back(t); SendTouchNotifiers(t, TOUCH_START); } else { // just a single touch Touch* t = new Touch(); t->__platformTouch = NULL; t->StartingPoint = screenCoordinates; t->CurrentPoint = t->StartingPoint; tl->push_back(t); SendTouchNotifiers(t, TOUCH_START); } }