OSDN Git Service

SDL_CreateThread サンプルコードを修正 https://wiki.libsdl.org/SDL_CreateThread?action=diff...
[sdl2referencejp/sdl2referencejp.git] / SDL_HapticQuery.html
index 7eda50f..e0e359a 100644 (file)
 <tr><td>haptic</td><td>\92²\8d¸\82·\82é\83f\83o\83C\83X</td></tr>\r
 </table>\r
 <h2>\96ß\82è\92l</h2>\r
-\91Î\89\9e\82·\82é\8b@\94\\82Ì\88ê\97\97\82ð\83r\83b\83g\82Ì\98_\97\9d\98a\82Å\96ß\82·. \8e¸\94s\82Ì\82Æ\82«\95\89\82Ì\90\94\82Ì\83G\83\89\81[\83R\81[\83h\82ð\96ß\82·.\r
+\91Î\89\9e\82·\82é\8b@\94\\82Ì\88ê\97\97\82ð\83r\83b\83g\82Ì\98_\97\9d\98a\82Å\96ß\82·. \8e¸\94s\82Ì\82Æ\82«0\82ð\96ß\82·.\r
 <a href="SDL_GetError.html">SDL_GetError()</a>\82Å\8fÚ\8d×\82ð\92m\82é\82±\82Æ\82ª\82Å\82«\82é.\r
 <h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>\r
 <p>\r
 <code>\r
 <pre>\r
 extern SDL_Haptic *haptic;\r
-if (SDL_HapticQuery(haptic) & SDL_HAPTIC_CONSTANT) {\r
-    printf("\83n\83v\83e\83B\83b\83N\8cø\89Ê\82Í\88ê\92è\8cø\89Ê(constant haptic effect)\82Å\82 \82é!");\r
+if (SDL_HapticQuery(haptic) &amp; SDL_HAPTIC_CONSTANT) {\r
+    SDL_Log("\88ê\92è\83n\83v\83e\83B\83b\83N\8cø\89Ê(constant haptic effect)\82 \82è!");\r
 }\r
 </pre>\r
 </code>\r
 </p>\r
+<h2>\83o\81[\83W\83\87\83\93</h2>\r
+<p>\r
+SDL 2.0.0\88È\8d~\r
+</p>\r
 <h2>\8aÖ\98A\8d\80\96Ú(\8aÖ\90\94)</h2>\r
 <a href="SDL_HapticEffectSupported.html">SDL_HapticEffectSupported</a><br>\r
 <a href="SDL_HapticNumEffects.html">SDL_HapticNumEffects</a><br>\r