Change radius

This commit is contained in:
Christian Semmler 2025-07-15 14:48:27 -07:00
parent de6e0f0116
commit d494ab9517

View File

@ -636,7 +636,7 @@ MxBool LegoInputManager::HandleTouchEvent(SDL_Event* p_event, TouchScheme p_touc
break; break;
case SDL_EVENT_FINGER_MOTION: case SDL_EVENT_FINGER_MOTION:
if (event.fingerID == finger) { if (event.fingerID == finger) {
const float thumbstickRadius = 0.05f; const float thumbstickRadius = 0.25f;
const float deltaX = const float deltaX =
SDL_clamp(event.x - m_touchVirtualThumbOrigin.x, -thumbstickRadius, thumbstickRadius); SDL_clamp(event.x - m_touchVirtualThumbOrigin.x, -thumbstickRadius, thumbstickRadius);
const float deltaY = const float deltaY =