//---------------------------------------------------- //---------------------------------------------------- void PointerSystem::OnTouchMoved(s32 in_systemId, const ChilliSource::Vector2& in_location) { auto it = m_systemIdToPointerIdMap.find(in_systemId); if (it != m_systemIdToPointerIdMap.end()) { ChilliSource::Vector2 touchLocation(in_location.x, m_screen->GetResolution().y - in_location.y); AddPointerMovedEvent(it->second, touchLocation); } }
//---------------------------------------------- //---------------------------------------------- void PointerSystem::OnMouseMoved(s32 in_xPos, s32 in_yPos) { ChilliSource::Vector2 touchLocation((f32)in_xPos, m_screen->GetResolution().y - (f32)in_yPos); AddPointerMovedEvent(m_pointerId, touchLocation); }