unsigned int SDL_HapticQuery(SDL_Haptic* haptic)
extern SDL_Haptic *haptic; if (SDL_HapticQuery(haptic) & SDL_HAPTIC_CONSTANT) { printf("一定ハプティック効果(constant haptic effect)あり!"); }