mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-31 00:09:19 +01:00
Fixed comment style
This commit is contained in:
parent
6d7da0887d
commit
cb8685c022
@ -1279,7 +1279,7 @@ SDL_GameControllerGetAxis(SDL_GameController * gamecontroller, SDL_GameControlle
|
|||||||
} else {
|
} else {
|
||||||
valid_output_range = (value >= binding->output.axis.axis_max && value <= binding->output.axis.axis_min);
|
valid_output_range = (value >= binding->output.axis.axis_max && value <= binding->output.axis.axis_min);
|
||||||
}
|
}
|
||||||
// If the value is zero, there might be another binding that makes it non-zero
|
/* If the value is zero, there might be another binding that makes it non-zero */
|
||||||
if (value != 0 && valid_output_range) {
|
if (value != 0 && valid_output_range) {
|
||||||
return (Sint16)value;
|
return (Sint16)value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user