Package org.lwjgl.sdl

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

      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

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

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

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

      public static int SDL_GetHapticID(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

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

      public static boolean SDL_IsMouseHaptic()
      bool SDL_IsMouseHaptic(void)
    • SDL_OpenHapticFromMouse

      public static long SDL_OpenHapticFromMouse()
      SDL_Haptic * SDL_OpenHapticFromMouse(void)
    • SDL_IsJoystickHaptic

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

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

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

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

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

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

      public static int SDL_GetNumHapticAxes(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

      public static boolean SDL_HapticEffectSupported(long haptic, 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(long haptic, 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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static boolean SDL_StopHapticRumble(long haptic)
      bool SDL_StopHapticRumble(SDL_Haptic * haptic)