sdl2-2.5.2.0: Both high- and low-level bindings to the SDL library (version 2.0.6+).

Safe Haskell | Safe
Language | Haskell2010

SDL.Raw.Haptic

Contents

- Force Feedback Support

Synopsis

- hapticClose :: MonadIO m => Haptic -> m ()
- hapticDestroyEffect :: MonadIO m => Haptic -> CInt -> m ()
- hapticEffectSupported :: MonadIO m => Haptic -> Ptr HapticEffect -> m CInt
- hapticGetEffectStatus :: MonadIO m => Haptic -> CInt -> m CInt
- hapticIndex :: MonadIO m => Haptic -> m CInt
- hapticName :: MonadIO m => CInt -> m CString
- hapticNewEffect :: MonadIO m => Haptic -> Ptr HapticEffect -> m CInt
- hapticNumAxes :: MonadIO m => Haptic -> m CInt
- hapticNumEffects :: MonadIO m => Haptic -> m CInt
- hapticNumEffectsPlaying :: MonadIO m => Haptic -> m CInt
- hapticOpen :: MonadIO m => CInt -> m Haptic
- hapticOpenFromJoystick :: MonadIO m => Joystick -> m Haptic
- hapticOpenFromMouse :: MonadIO m => m Haptic
- hapticOpened :: MonadIO m => CInt -> m CInt
- hapticPause :: MonadIO m => Haptic -> m CInt
- hapticQuery :: MonadIO m => Haptic -> m CUInt
- hapticRumbleInit :: MonadIO m => Haptic -> m CInt
- hapticRumblePlay :: MonadIO m => Haptic -> CFloat -> Word32 -> m CInt
- hapticRumbleStop :: MonadIO m => Haptic -> m CInt
- hapticRumbleSupported :: MonadIO m => Haptic -> m CInt
- hapticRunEffect :: MonadIO m => Haptic -> CInt -> Word32 -> m CInt
- hapticSetAutocenter :: MonadIO m => Haptic -> CInt -> m CInt
- hapticSetGain :: MonadIO m => Haptic -> CInt -> m CInt
- hapticStopAll :: MonadIO m => Haptic -> m CInt
- hapticStopEffect :: MonadIO m => Haptic -> CInt -> m CInt
- hapticUnpause :: MonadIO m => Haptic -> m CInt
- hapticUpdateEffect :: MonadIO m => Haptic -> CInt -> Ptr HapticEffect -> m CInt
- joystickIsHaptic :: MonadIO m => Joystick -> m CInt
- mouseIsHaptic :: MonadIO m => m CInt
- numHaptics :: MonadIO m => m CInt

# Force Feedback Support

hapticClose :: MonadIO m => Haptic -> m () Source #

hapticDestroyEffect :: MonadIO m => Haptic -> CInt -> m () Source #

hapticEffectSupported :: MonadIO m => Haptic -> Ptr HapticEffect -> m CInt Source #

hapticGetEffectStatus :: MonadIO m => Haptic -> CInt -> m CInt Source #

hapticIndex :: MonadIO m => Haptic -> m CInt Source #

hapticName :: MonadIO m => CInt -> m CString Source #

hapticNewEffect :: MonadIO m => Haptic -> Ptr HapticEffect -> m CInt Source #

hapticNumAxes :: MonadIO m => Haptic -> m CInt Source #

hapticNumEffects :: MonadIO m => Haptic -> m CInt Source #

hapticNumEffectsPlaying :: MonadIO m => Haptic -> m CInt Source #

hapticOpen :: MonadIO m => CInt -> m Haptic Source #

hapticOpenFromJoystick :: MonadIO m => Joystick -> m Haptic Source #

hapticOpenFromMouse :: MonadIO m => m Haptic Source #

hapticOpened :: MonadIO m => CInt -> m CInt Source #

hapticPause :: MonadIO m => Haptic -> m CInt Source #

hapticQuery :: MonadIO m => Haptic -> m CUInt Source #

hapticRumbleInit :: MonadIO m => Haptic -> m CInt Source #

hapticRumblePlay :: MonadIO m => Haptic -> CFloat -> Word32 -> m CInt Source #

hapticRumbleStop :: MonadIO m => Haptic -> m CInt Source #

hapticRumbleSupported :: MonadIO m => Haptic -> m CInt Source #

hapticRunEffect :: MonadIO m => Haptic -> CInt -> Word32 -> m CInt Source #

hapticSetAutocenter :: MonadIO m => Haptic -> CInt -> m CInt Source #

hapticSetGain :: MonadIO m => Haptic -> CInt -> m CInt Source #

hapticStopAll :: MonadIO m => Haptic -> m CInt Source #

hapticStopEffect :: MonadIO m => Haptic -> CInt -> m CInt Source #

hapticUnpause :: MonadIO m => Haptic -> m CInt Source #

hapticUpdateEffect :: MonadIO m => Haptic -> CInt -> Ptr HapticEffect -> m CInt Source #

joystickIsHaptic :: MonadIO m => Joystick -> m CInt Source #

mouseIsHaptic :: MonadIO m => m CInt Source #

numHaptics :: MonadIO m => m CInt Source #