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