Update comments

This commit is contained in:
M374LX
2025-05-29 23:01:43 -03:00
parent 015db1641f
commit 3418172617
5 changed files with 13 additions and 13 deletions

View File

@ -1825,7 +1825,7 @@ void PollInputEvents(void)
{
if (platform.gamepadId[i] == event.jaxis.which)
{
// SDL axis value range is -32768 to 32767, we normalize it to RayLib's -1.0 to 1.0f range
// SDL axis value range is -32768 to 32767, we normalize it to raylib's -1.0 to 1.0f range
float value = event.jaxis.value/(float)32767;
CORE.Input.Gamepad.axisState[i][axis] = value;