Fix various warnings

This commit is contained in:
Joshua Vandaële 2025-06-09 15:30:26 +02:00
commit 06882bd2dc
No known key found for this signature in database
GPG key ID: 5E8F4E7EDBD390EA
13 changed files with 40 additions and 32 deletions

View file

@ -13,7 +13,7 @@
namespace ciface::SDL
{
bool IsTriggerAxis(int index)
static bool IsTriggerAxis(int index)
{
// First 4 axes are for the analog sticks, the rest are for the triggers
return index >= 4;