Add and use SDL_HapticEffectID typedef

This commit is contained in:
Maia
2025-04-23 23:16:13 +02:00
committed by Sam Lantinga
parent fb940fff80
commit d50520462a
9 changed files with 70 additions and 60 deletions

View File

@@ -37,7 +37,7 @@ int main(int argc, char **argv)
char *name = NULL;
int index = -1;
SDL_HapticEffect efx[9];
int id[9];
SDL_HapticEffectID id[9];
int nefx;
unsigned int supported;
SDL_HapticID *haptics;