Class SDLHaptic

java.lang.Object
org.lwjgl.sdl.SDLHaptic

public class SDLHaptic extends Object
  • Field Details

  • Method Details

    • nSDL_GetHaptics

      public static long nSDL_GetHaptics(long count)
      SDL_HapticID * SDL_GetHaptics(int * count)
    • SDL_GetHaptics

      @NativeType("SDL_HapticID *") public static @Nullable IntBuffer SDL_GetHaptics()
      SDL_HapticID * SDL_GetHaptics(int * count)
    • nSDL_GetHapticNameForID

      public static long nSDL_GetHapticNameForID(int instance_id)
      char const * SDL_GetHapticNameForID(SDL_HapticID instance_id)
    • SDL_GetHapticNameForID

      @NativeType("char const *") public static @Nullable String SDL_GetHapticNameForID(@NativeType("SDL_HapticID") int instance_id)
      char const * SDL_GetHapticNameForID(SDL_HapticID instance_id)
    • SDL_OpenHaptic

      @NativeType("SDL_Haptic *") public static long SDL_OpenHaptic(@NativeType("SDL_HapticID") int instance_id)
      SDL_Haptic * SDL_OpenHaptic(SDL_HapticID instance_id)
    • SDL_GetHapticFromID

      @NativeType("SDL_Haptic *") public static long SDL_GetHapticFromID(@NativeType("SDL_HapticID") int instance_id)
      SDL_Haptic * SDL_GetHapticFromID(SDL_HapticID instance_id)
    • SDL_GetHapticID

      @NativeType("SDL_HapticID") public static int SDL_GetHapticID(@NativeType("SDL_Haptic *") long haptic)
      SDL_HapticID SDL_GetHapticID(SDL_Haptic * haptic)
    • nSDL_GetHapticName

      public static long nSDL_GetHapticName(long haptic)
      char const * SDL_GetHapticName(SDL_Haptic * haptic)
    • SDL_GetHapticName

      @NativeType("char const *") public static @Nullable String SDL_GetHapticName(@NativeType("SDL_Haptic *") long haptic)
      char const * SDL_GetHapticName(SDL_Haptic * haptic)
    • SDL_IsMouseHaptic

      @NativeType("bool") public static boolean SDL_IsMouseHaptic()
      bool SDL_IsMouseHaptic(void)
    • SDL_OpenHapticFromMouse

      @NativeType("SDL_Haptic *") public static long SDL_OpenHapticFromMouse()
      SDL_Haptic * SDL_OpenHapticFromMouse(void)
    • SDL_IsJoystickHaptic

      @NativeType("bool") public static boolean SDL_IsJoystickHaptic(@NativeType("SDL_Joystick *") long joystick)
      bool SDL_IsJoystickHaptic(SDL_Joystick * joystick)
    • SDL_OpenHapticFromJoystick

      @NativeType("SDL_Haptic *") public static long SDL_OpenHapticFromJoystick(@NativeType("SDL_Joystick *") long joystick)
      SDL_Haptic * SDL_OpenHapticFromJoystick(SDL_Joystick * joystick)
    • SDL_CloseHaptic

      public static void SDL_CloseHaptic(@NativeType("SDL_Haptic *") long haptic)
      void SDL_CloseHaptic(SDL_Haptic * haptic)
    • SDL_GetMaxHapticEffects

      public static int SDL_GetMaxHapticEffects(@NativeType("SDL_Haptic *") long haptic)
      int SDL_GetMaxHapticEffects(SDL_Haptic * haptic)
    • SDL_GetMaxHapticEffectsPlaying

      public static int SDL_GetMaxHapticEffectsPlaying(@NativeType("SDL_Haptic *") long haptic)
      int SDL_GetMaxHapticEffectsPlaying(SDL_Haptic * haptic)
    • SDL_GetHapticFeatures

      @NativeType("Uint32") public static int SDL_GetHapticFeatures(@NativeType("SDL_Haptic *") long haptic)
      Uint32 SDL_GetHapticFeatures(SDL_Haptic * haptic)
    • SDL_GetNumHapticAxes

      public static int SDL_GetNumHapticAxes(@NativeType("SDL_Haptic *") long haptic)
      int SDL_GetNumHapticAxes(SDL_Haptic * haptic)
    • nSDL_HapticEffectSupported

      public static boolean nSDL_HapticEffectSupported(long haptic, long effect)
      bool SDL_HapticEffectSupported(SDL_Haptic * haptic, SDL_HapticEffect const * effect)
    • SDL_HapticEffectSupported

      @NativeType("bool") public static boolean SDL_HapticEffectSupported(@NativeType("SDL_Haptic *") long haptic, @NativeType("SDL_HapticEffect const *") SDL_HapticEffect effect)
      bool SDL_HapticEffectSupported(SDL_Haptic * haptic, SDL_HapticEffect const * effect)
    • nSDL_CreateHapticEffect

      public static int nSDL_CreateHapticEffect(long haptic, long effect)
      int SDL_CreateHapticEffect(SDL_Haptic * haptic, SDL_HapticEffect const * effect)
    • SDL_CreateHapticEffect

      public static int SDL_CreateHapticEffect(@NativeType("SDL_Haptic *") long haptic, @NativeType("SDL_HapticEffect const *") SDL_HapticEffect effect)
      int SDL_CreateHapticEffect(SDL_Haptic * haptic, SDL_HapticEffect const * effect)
    • nSDL_UpdateHapticEffect

      public static boolean nSDL_UpdateHapticEffect(long haptic, int effect, long data)
      bool SDL_UpdateHapticEffect(SDL_Haptic * haptic, int effect, SDL_HapticEffect const * data)
    • SDL_UpdateHapticEffect

      @NativeType("bool") public static boolean SDL_UpdateHapticEffect(@NativeType("SDL_Haptic *") long haptic, int effect, @NativeType("SDL_HapticEffect const *") SDL_HapticEffect data)
      bool SDL_UpdateHapticEffect(SDL_Haptic * haptic, int effect, SDL_HapticEffect const * data)
    • SDL_RunHapticEffect

      @NativeType("bool") public static boolean SDL_RunHapticEffect(@NativeType("SDL_Haptic *") long haptic, int effect, @NativeType("Uint32") int iterations)
      bool SDL_RunHapticEffect(SDL_Haptic * haptic, int effect, Uint32 iterations)
    • SDL_StopHapticEffect

      @NativeType("bool") public static boolean SDL_StopHapticEffect(@NativeType("SDL_Haptic *") long haptic, int effect)
      bool SDL_StopHapticEffect(SDL_Haptic * haptic, int effect)
    • SDL_DestroyHapticEffect

      public static void SDL_DestroyHapticEffect(@NativeType("SDL_Haptic *") long haptic, int effect)
      void SDL_DestroyHapticEffect(SDL_Haptic * haptic, int effect)
    • SDL_GetHapticEffectStatus

      @NativeType("bool") public static boolean SDL_GetHapticEffectStatus(@NativeType("SDL_Haptic *") long haptic, int effect)
      bool SDL_GetHapticEffectStatus(SDL_Haptic * haptic, int effect)
    • SDL_SetHapticGain

      @NativeType("bool") public static boolean SDL_SetHapticGain(@NativeType("SDL_Haptic *") long haptic, int gain)
      bool SDL_SetHapticGain(SDL_Haptic * haptic, int gain)
    • SDL_SetHapticAutocenter

      @NativeType("bool") public static boolean SDL_SetHapticAutocenter(@NativeType("SDL_Haptic *") long haptic, int autocenter)
      bool SDL_SetHapticAutocenter(SDL_Haptic * haptic, int autocenter)
    • SDL_PauseHaptic

      @NativeType("bool") public static boolean SDL_PauseHaptic(@NativeType("SDL_Haptic *") long haptic)
      bool SDL_PauseHaptic(SDL_Haptic * haptic)
    • SDL_ResumeHaptic

      @NativeType("bool") public static boolean SDL_ResumeHaptic(@NativeType("SDL_Haptic *") long haptic)
      bool SDL_ResumeHaptic(SDL_Haptic * haptic)
    • SDL_StopHapticEffects

      @NativeType("bool") public static boolean SDL_StopHapticEffects(@NativeType("SDL_Haptic *") long haptic)
      bool SDL_StopHapticEffects(SDL_Haptic * haptic)
    • SDL_HapticRumbleSupported

      @NativeType("bool") public static boolean SDL_HapticRumbleSupported(@NativeType("SDL_Haptic *") long haptic)
      bool SDL_HapticRumbleSupported(SDL_Haptic * haptic)
    • SDL_InitHapticRumble

      @NativeType("bool") public static boolean SDL_InitHapticRumble(@NativeType("SDL_Haptic *") long haptic)
      bool SDL_InitHapticRumble(SDL_Haptic * haptic)
    • SDL_PlayHapticRumble

      @NativeType("bool") public static boolean SDL_PlayHapticRumble(@NativeType("SDL_Haptic *") long haptic, float strength, @NativeType("Uint32") int length)
      bool SDL_PlayHapticRumble(SDL_Haptic * haptic, float strength, Uint32 length)
    • SDL_StopHapticRumble

      @NativeType("bool") public static boolean SDL_StopHapticRumble(@NativeType("SDL_Haptic *") long haptic)
      bool SDL_StopHapticRumble(SDL_Haptic * haptic)