disable left-stick movement for now

#87
This commit is contained in:
Kae 2024-07-18 06:55:38 +10:00 committed by GitHub
parent d319f1b2a2
commit 369dcb63d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -897,9 +897,9 @@ void ClientApplication::updateRunning(float dt) {
config->set("zoomLevel", newZoom); config->set("zoomLevel", newZoom);
} }
if (m_controllerLeftStick.magnitudeSquared() > 0.001f) //if (m_controllerLeftStick.magnitudeSquared() > 0.001f)
m_player->setMoveVector(m_controllerLeftStick); // m_player->setMoveVector(m_controllerLeftStick);
else //else
m_player->setMoveVector(Vec2F()); m_player->setMoveVector(Vec2F());
m_voice->setInput(m_input->bindHeld("opensb", "pushToTalk")); m_voice->setInput(m_input->bindHeld("opensb", "pushToTalk"));