{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Haptic.Safe (
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetHaptics,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetHapticNameForID,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_OpenHaptic,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetHapticFromID,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetHapticID,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetHapticName,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_IsMouseHaptic,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_OpenHapticFromMouse,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_IsJoystickHaptic,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_OpenHapticFromJoystick,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_CloseHaptic,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetMaxHapticEffects,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetMaxHapticEffectsPlaying,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetHapticFeatures,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetNumHapticAxes,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_HapticEffectSupported,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_CreateHapticEffect,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_UpdateHapticEffect,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_RunHapticEffect,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_StopHapticEffect,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_DestroyHapticEffect,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_GetHapticEffectStatus,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_SetHapticGain,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_SetHapticAutocenter,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_PauseHaptic,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_ResumeHaptic,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_StopHapticEffects,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_HapticRumbleSupported,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_InitHapticRumble,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_PlayHapticRumble,
SDL3.Sys.Bindgen.Haptic.Safe.sDL_StopHapticRumble,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Haptic
import SDL3.Sys.Bindgen.Joystick qualified
import SDL3.Sys.Bindgen.Stdinc qualified
$( HsBindgen.Runtime.Support.CAPI.addCSource
( HsBindgen.Runtime.Support.CAPI.unlines
[ "#define SDL_MAIN_HANDLED"
, "#define SDL_SLOW_MEMCPY"
, "#define SDL_SLOW_MEMMOVE"
, "#define SDL_SLOW_MEMSET"
, "#include <SDL3/SDL_haptic.h>"
, "SDL_HapticID *hs_bindgen_0fa1139acd663b7b ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetHaptics)(arg1);"
, "}"
, "char const *hs_bindgen_9314d546163bea9b ("
, " SDL_HapticID arg1"
, ")"
, "{"
, " return (SDL_GetHapticNameForID)(arg1);"
, "}"
, "SDL_Haptic *hs_bindgen_dbff4b31baeb7b51 ("
, " SDL_HapticID arg1"
, ")"
, "{"
, " return (SDL_OpenHaptic)(arg1);"
, "}"
, "SDL_Haptic *hs_bindgen_1785e32cd90d0d06 ("
, " SDL_HapticID arg1"
, ")"
, "{"
, " return (SDL_GetHapticFromID)(arg1);"
, "}"
, "SDL_HapticID hs_bindgen_de8498981e0f6223 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetHapticID)(arg1);"
, "}"
, "char const *hs_bindgen_360c0a89e793b7ad ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetHapticName)(arg1);"
, "}"
, "_Bool hs_bindgen_4c4f92c17cae6f18 (void)"
, "{"
, " return (SDL_IsMouseHaptic)();"
, "}"
, "SDL_Haptic *hs_bindgen_8e6b94caa3e52d98 (void)"
, "{"
, " return (SDL_OpenHapticFromMouse)();"
, "}"
, "_Bool hs_bindgen_c5f4f376b01c2e4f ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_IsJoystickHaptic)(arg1);"
, "}"
, "SDL_Haptic *hs_bindgen_01eda3f2b59f9aab ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_OpenHapticFromJoystick)(arg1);"
, "}"
, "void hs_bindgen_f6f5492f48ba2e5b ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " (SDL_CloseHaptic)(arg1);"
, "}"
, "signed int hs_bindgen_366d199432bdd8e0 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetMaxHapticEffects)(arg1);"
, "}"
, "signed int hs_bindgen_5bf116c6af24ad82 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetMaxHapticEffectsPlaying)(arg1);"
, "}"
, "Uint32 hs_bindgen_13fda9a87e4ece91 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetHapticFeatures)(arg1);"
, "}"
, "signed int hs_bindgen_7ed42e0a43315641 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetNumHapticAxes)(arg1);"
, "}"
, "_Bool hs_bindgen_5f13cffbd392579e ("
, " SDL_Haptic *arg1,"
, " SDL_HapticEffect const *arg2"
, ")"
, "{"
, " return (SDL_HapticEffectSupported)(arg1, arg2);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef int SDL_HapticEffectID;"
, "#endif"
, "SDL_HapticEffectID hs_bindgen_15baa0f4a78836ae ("
, " SDL_Haptic *arg1,"
, " SDL_HapticEffect const *arg2"
, ")"
, "{"
, " return (SDL_CreateHapticEffect)(arg1, arg2);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef int SDL_HapticEffectID;"
, "#endif"
, "_Bool hs_bindgen_0492468c6fb17ac5 ("
, " SDL_Haptic *arg1,"
, " SDL_HapticEffectID arg2,"
, " SDL_HapticEffect const *arg3"
, ")"
, "{"
, " return (SDL_UpdateHapticEffect)(arg1, arg2, arg3);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef int SDL_HapticEffectID;"
, "#endif"
, "_Bool hs_bindgen_a614a05d61f4001a ("
, " SDL_Haptic *arg1,"
, " SDL_HapticEffectID arg2,"
, " Uint32 arg3"
, ")"
, "{"
, " return (SDL_RunHapticEffect)(arg1, arg2, arg3);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef int SDL_HapticEffectID;"
, "#endif"
, "_Bool hs_bindgen_62c7aa3038b74c27 ("
, " SDL_Haptic *arg1,"
, " SDL_HapticEffectID arg2"
, ")"
, "{"
, " return (SDL_StopHapticEffect)(arg1, arg2);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef int SDL_HapticEffectID;"
, "#endif"
, "void hs_bindgen_6ebf1b15d73c024c ("
, " SDL_Haptic *arg1,"
, " SDL_HapticEffectID arg2"
, ")"
, "{"
, " (SDL_DestroyHapticEffect)(arg1, arg2);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef int SDL_HapticEffectID;"
, "#endif"
, "_Bool hs_bindgen_8953e9e35530a132 ("
, " SDL_Haptic *arg1,"
, " SDL_HapticEffectID arg2"
, ")"
, "{"
, " return (SDL_GetHapticEffectStatus)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_33d36e11c46c206d ("
, " SDL_Haptic *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_SetHapticGain)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_713374147201159e ("
, " SDL_Haptic *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_SetHapticAutocenter)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_d4344f317b2d7325 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_PauseHaptic)(arg1);"
, "}"
, "_Bool hs_bindgen_79c16f8418a90f86 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_ResumeHaptic)(arg1);"
, "}"
, "_Bool hs_bindgen_f452836b38dc6590 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_StopHapticEffects)(arg1);"
, "}"
, "_Bool hs_bindgen_113ac21fbd9de22e ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_HapticRumbleSupported)(arg1);"
, "}"
, "_Bool hs_bindgen_ae32c683da240a6e ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_InitHapticRumble)(arg1);"
, "}"
, "_Bool hs_bindgen_10fe16fce6a60bfe ("
, " SDL_Haptic *arg1,"
, " float arg2,"
, " Uint32 arg3"
, ")"
, "{"
, " return (SDL_PlayHapticRumble)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_2b55fdb7a5a8262a ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_StopHapticRumble)(arg1);"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_0fa1139acd663b7b"
hs_bindgen_0fa1139acd663b7b_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_0fa1139acd663b7b
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_HapticID)
hs_bindgen_0fa1139acd663b7b :: Ptr CInt -> IO (Ptr SDL_HapticID)
hs_bindgen_0fa1139acd663b7b =
\Ptr CInt
x0 ->
(Ptr Void -> Ptr SDL_HapticID)
-> IO (Ptr Void) -> IO (Ptr SDL_HapticID)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_HapticID
FFIType (Ptr SDL_HapticID) -> Ptr SDL_HapticID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_0fa1139acd663b7b_base (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x0))
sDL_GetHaptics
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_HapticID)
sDL_GetHaptics :: Ptr CInt -> IO (Ptr SDL_HapticID)
sDL_GetHaptics = Ptr CInt -> IO (Ptr SDL_HapticID)
hs_bindgen_0fa1139acd663b7b
foreign import ccall safe "hs_bindgen_9314d546163bea9b"
hs_bindgen_9314d546163bea9b_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_9314d546163bea9b
:: SDL_HapticID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_9314d546163bea9b :: SDL_HapticID -> IO (PtrConst CChar)
hs_bindgen_9314d546163bea9b =
\SDL_HapticID
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_9314d546163bea9b_base (SDL_HapticID -> FFIType SDL_HapticID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_HapticID
x0))
sDL_GetHapticNameForID
:: SDL_HapticID
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetHapticNameForID :: SDL_HapticID -> IO (PtrConst CChar)
sDL_GetHapticNameForID = SDL_HapticID -> IO (PtrConst CChar)
hs_bindgen_9314d546163bea9b
foreign import ccall safe "hs_bindgen_dbff4b31baeb7b51"
hs_bindgen_dbff4b31baeb7b51_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_dbff4b31baeb7b51
:: SDL_HapticID
-> IO (BG.Ptr SDL_Haptic)
hs_bindgen_dbff4b31baeb7b51 :: SDL_HapticID -> IO (Ptr SDL_Haptic)
hs_bindgen_dbff4b31baeb7b51 =
\SDL_HapticID
x0 ->
(Ptr Void -> Ptr SDL_Haptic)
-> IO (Ptr Void) -> IO (Ptr SDL_Haptic)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_Haptic
FFIType (Ptr SDL_Haptic) -> Ptr SDL_Haptic
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_dbff4b31baeb7b51_base (SDL_HapticID -> FFIType SDL_HapticID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_HapticID
x0))
sDL_OpenHaptic
:: SDL_HapticID
-> IO (BG.Ptr SDL_Haptic)
sDL_OpenHaptic :: SDL_HapticID -> IO (Ptr SDL_Haptic)
sDL_OpenHaptic = SDL_HapticID -> IO (Ptr SDL_Haptic)
hs_bindgen_dbff4b31baeb7b51
foreign import ccall safe "hs_bindgen_1785e32cd90d0d06"
hs_bindgen_1785e32cd90d0d06_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_1785e32cd90d0d06
:: SDL_HapticID
-> IO (BG.Ptr SDL_Haptic)
hs_bindgen_1785e32cd90d0d06 :: SDL_HapticID -> IO (Ptr SDL_Haptic)
hs_bindgen_1785e32cd90d0d06 =
\SDL_HapticID
x0 ->
(Ptr Void -> Ptr SDL_Haptic)
-> IO (Ptr Void) -> IO (Ptr SDL_Haptic)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_Haptic
FFIType (Ptr SDL_Haptic) -> Ptr SDL_Haptic
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_1785e32cd90d0d06_base (SDL_HapticID -> FFIType SDL_HapticID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_HapticID
x0))
sDL_GetHapticFromID
:: SDL_HapticID
-> IO (BG.Ptr SDL_Haptic)
sDL_GetHapticFromID :: SDL_HapticID -> IO (Ptr SDL_Haptic)
sDL_GetHapticFromID = SDL_HapticID -> IO (Ptr SDL_Haptic)
hs_bindgen_1785e32cd90d0d06
foreign import ccall safe "hs_bindgen_de8498981e0f6223"
hs_bindgen_de8498981e0f6223_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_de8498981e0f6223
:: BG.Ptr SDL_Haptic
-> IO SDL_HapticID
hs_bindgen_de8498981e0f6223 :: Ptr SDL_Haptic -> IO SDL_HapticID
hs_bindgen_de8498981e0f6223 =
\Ptr SDL_Haptic
x0 ->
(Word32 -> SDL_HapticID) -> IO Word32 -> IO SDL_HapticID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_HapticID
FFIType SDL_HapticID -> SDL_HapticID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_de8498981e0f6223_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_GetHapticID
:: BG.Ptr SDL_Haptic
-> IO SDL_HapticID
sDL_GetHapticID :: Ptr SDL_Haptic -> IO SDL_HapticID
sDL_GetHapticID = Ptr SDL_Haptic -> IO SDL_HapticID
hs_bindgen_de8498981e0f6223
foreign import ccall safe "hs_bindgen_360c0a89e793b7ad"
hs_bindgen_360c0a89e793b7ad_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_360c0a89e793b7ad
:: BG.Ptr SDL_Haptic
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_360c0a89e793b7ad :: Ptr SDL_Haptic -> IO (PtrConst CChar)
hs_bindgen_360c0a89e793b7ad =
\Ptr SDL_Haptic
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_360c0a89e793b7ad_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_GetHapticName
:: BG.Ptr SDL_Haptic
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetHapticName :: Ptr SDL_Haptic -> IO (PtrConst CChar)
sDL_GetHapticName = Ptr SDL_Haptic -> IO (PtrConst CChar)
hs_bindgen_360c0a89e793b7ad
foreign import ccall safe "hs_bindgen_4c4f92c17cae6f18"
hs_bindgen_4c4f92c17cae6f18_base
:: IO BG.CBool
hs_bindgen_4c4f92c17cae6f18 :: IO BG.CBool
hs_bindgen_4c4f92c17cae6f18 :: IO CBool
hs_bindgen_4c4f92c17cae6f18 =
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO CBool
hs_bindgen_4c4f92c17cae6f18_base
sDL_IsMouseHaptic :: IO BG.CBool
sDL_IsMouseHaptic :: IO CBool
sDL_IsMouseHaptic = IO CBool
hs_bindgen_4c4f92c17cae6f18
foreign import ccall safe "hs_bindgen_8e6b94caa3e52d98"
hs_bindgen_8e6b94caa3e52d98_base
:: IO (BG.Ptr BG.Void)
hs_bindgen_8e6b94caa3e52d98 :: IO (BG.Ptr SDL_Haptic)
hs_bindgen_8e6b94caa3e52d98 :: IO (Ptr SDL_Haptic)
hs_bindgen_8e6b94caa3e52d98 =
(Ptr Void -> Ptr SDL_Haptic)
-> IO (Ptr Void) -> IO (Ptr SDL_Haptic)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_Haptic
FFIType (Ptr SDL_Haptic) -> Ptr SDL_Haptic
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (Ptr Void)
hs_bindgen_8e6b94caa3e52d98_base
sDL_OpenHapticFromMouse :: IO (BG.Ptr SDL_Haptic)
sDL_OpenHapticFromMouse :: IO (Ptr SDL_Haptic)
sDL_OpenHapticFromMouse = IO (Ptr SDL_Haptic)
hs_bindgen_8e6b94caa3e52d98
foreign import ccall safe "hs_bindgen_c5f4f376b01c2e4f"
hs_bindgen_c5f4f376b01c2e4f_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_c5f4f376b01c2e4f
:: BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick
-> IO BG.CBool
hs_bindgen_c5f4f376b01c2e4f :: Ptr SDL_Joystick -> IO CBool
hs_bindgen_c5f4f376b01c2e4f =
\Ptr SDL_Joystick
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_c5f4f376b01c2e4f_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_IsJoystickHaptic
:: BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick
-> IO BG.CBool
sDL_IsJoystickHaptic :: Ptr SDL_Joystick -> IO CBool
sDL_IsJoystickHaptic = Ptr SDL_Joystick -> IO CBool
hs_bindgen_c5f4f376b01c2e4f
foreign import ccall safe "hs_bindgen_01eda3f2b59f9aab"
hs_bindgen_01eda3f2b59f9aab_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_01eda3f2b59f9aab
:: BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick
-> IO (BG.Ptr SDL_Haptic)
hs_bindgen_01eda3f2b59f9aab :: Ptr SDL_Joystick -> IO (Ptr SDL_Haptic)
hs_bindgen_01eda3f2b59f9aab =
\Ptr SDL_Joystick
x0 ->
(Ptr Void -> Ptr SDL_Haptic)
-> IO (Ptr Void) -> IO (Ptr SDL_Haptic)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_Haptic
FFIType (Ptr SDL_Haptic) -> Ptr SDL_Haptic
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_01eda3f2b59f9aab_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_OpenHapticFromJoystick
:: BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick
-> IO (BG.Ptr SDL_Haptic)
sDL_OpenHapticFromJoystick :: Ptr SDL_Joystick -> IO (Ptr SDL_Haptic)
sDL_OpenHapticFromJoystick =
Ptr SDL_Joystick -> IO (Ptr SDL_Haptic)
hs_bindgen_01eda3f2b59f9aab
foreign import ccall safe "hs_bindgen_f6f5492f48ba2e5b"
hs_bindgen_f6f5492f48ba2e5b_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_f6f5492f48ba2e5b
:: BG.Ptr SDL_Haptic
-> IO ()
hs_bindgen_f6f5492f48ba2e5b :: Ptr SDL_Haptic -> IO ()
hs_bindgen_f6f5492f48ba2e5b =
\Ptr SDL_Haptic
x0 ->
Ptr Void -> IO ()
hs_bindgen_f6f5492f48ba2e5b_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0)
sDL_CloseHaptic
:: BG.Ptr SDL_Haptic
-> IO ()
sDL_CloseHaptic :: Ptr SDL_Haptic -> IO ()
sDL_CloseHaptic = Ptr SDL_Haptic -> IO ()
hs_bindgen_f6f5492f48ba2e5b
foreign import ccall safe "hs_bindgen_366d199432bdd8e0"
hs_bindgen_366d199432bdd8e0_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_366d199432bdd8e0
:: BG.Ptr SDL_Haptic
-> IO BG.CInt
hs_bindgen_366d199432bdd8e0 :: Ptr SDL_Haptic -> IO CInt
hs_bindgen_366d199432bdd8e0 =
\Ptr SDL_Haptic
x0 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CInt
hs_bindgen_366d199432bdd8e0_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_GetMaxHapticEffects
:: BG.Ptr SDL_Haptic
-> IO BG.CInt
sDL_GetMaxHapticEffects :: Ptr SDL_Haptic -> IO CInt
sDL_GetMaxHapticEffects = Ptr SDL_Haptic -> IO CInt
hs_bindgen_366d199432bdd8e0
foreign import ccall safe "hs_bindgen_5bf116c6af24ad82"
hs_bindgen_5bf116c6af24ad82_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_5bf116c6af24ad82
:: BG.Ptr SDL_Haptic
-> IO BG.CInt
hs_bindgen_5bf116c6af24ad82 :: Ptr SDL_Haptic -> IO CInt
hs_bindgen_5bf116c6af24ad82 =
\Ptr SDL_Haptic
x0 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CInt
hs_bindgen_5bf116c6af24ad82_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_GetMaxHapticEffectsPlaying
:: BG.Ptr SDL_Haptic
-> IO BG.CInt
sDL_GetMaxHapticEffectsPlaying :: Ptr SDL_Haptic -> IO CInt
sDL_GetMaxHapticEffectsPlaying =
Ptr SDL_Haptic -> IO CInt
hs_bindgen_5bf116c6af24ad82
foreign import ccall safe "hs_bindgen_13fda9a87e4ece91"
hs_bindgen_13fda9a87e4ece91_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_13fda9a87e4ece91
:: BG.Ptr SDL_Haptic
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
hs_bindgen_13fda9a87e4ece91 :: Ptr SDL_Haptic -> IO Uint32
hs_bindgen_13fda9a87e4ece91 =
\Ptr SDL_Haptic
x0 ->
(Word32 -> Uint32) -> IO Word32 -> IO Uint32
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> Uint32
FFIType Uint32 -> Uint32
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_13fda9a87e4ece91_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_GetHapticFeatures
:: BG.Ptr SDL_Haptic
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
sDL_GetHapticFeatures :: Ptr SDL_Haptic -> IO Uint32
sDL_GetHapticFeatures = Ptr SDL_Haptic -> IO Uint32
hs_bindgen_13fda9a87e4ece91
foreign import ccall safe "hs_bindgen_7ed42e0a43315641"
hs_bindgen_7ed42e0a43315641_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_7ed42e0a43315641
:: BG.Ptr SDL_Haptic
-> IO BG.CInt
hs_bindgen_7ed42e0a43315641 :: Ptr SDL_Haptic -> IO CInt
hs_bindgen_7ed42e0a43315641 =
\Ptr SDL_Haptic
x0 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CInt
hs_bindgen_7ed42e0a43315641_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_GetNumHapticAxes
:: BG.Ptr SDL_Haptic
-> IO BG.CInt
sDL_GetNumHapticAxes :: Ptr SDL_Haptic -> IO CInt
sDL_GetNumHapticAxes = Ptr SDL_Haptic -> IO CInt
hs_bindgen_7ed42e0a43315641
foreign import ccall safe "hs_bindgen_5f13cffbd392579e"
hs_bindgen_5f13cffbd392579e_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_5f13cffbd392579e
:: BG.Ptr SDL_Haptic
-> PtrConst.PtrConst SDL_HapticEffect
-> IO BG.CBool
hs_bindgen_5f13cffbd392579e :: Ptr SDL_Haptic -> PtrConst SDL_HapticEffect -> IO CBool
hs_bindgen_5f13cffbd392579e =
\Ptr SDL_Haptic
x0 ->
\PtrConst SDL_HapticEffect
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_5f13cffbd392579e_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (PtrConst SDL_HapticEffect -> FFIType (PtrConst SDL_HapticEffect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_HapticEffect
x1))
sDL_HapticEffectSupported
:: BG.Ptr SDL_Haptic
-> PtrConst.PtrConst SDL_HapticEffect
-> IO BG.CBool
sDL_HapticEffectSupported :: Ptr SDL_Haptic -> PtrConst SDL_HapticEffect -> IO CBool
sDL_HapticEffectSupported =
Ptr SDL_Haptic -> PtrConst SDL_HapticEffect -> IO CBool
hs_bindgen_5f13cffbd392579e
foreign import ccall safe "hs_bindgen_15baa0f4a78836ae"
hs_bindgen_15baa0f4a78836ae_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_15baa0f4a78836ae
:: BG.Ptr SDL_Haptic
-> PtrConst.PtrConst SDL_HapticEffect
-> IO SDL_HapticEffectID
hs_bindgen_15baa0f4a78836ae :: Ptr SDL_Haptic
-> PtrConst SDL_HapticEffect -> IO SDL_HapticEffectID
hs_bindgen_15baa0f4a78836ae =
\Ptr SDL_Haptic
x0 ->
\PtrConst SDL_HapticEffect
x1 ->
(CInt -> SDL_HapticEffectID) -> IO CInt -> IO SDL_HapticEffectID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> SDL_HapticEffectID
FFIType SDL_HapticEffectID -> SDL_HapticEffectID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CInt
hs_bindgen_15baa0f4a78836ae_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (PtrConst SDL_HapticEffect -> FFIType (PtrConst SDL_HapticEffect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_HapticEffect
x1))
sDL_CreateHapticEffect
:: BG.Ptr SDL_Haptic
-> PtrConst.PtrConst SDL_HapticEffect
-> IO SDL_HapticEffectID
sDL_CreateHapticEffect :: Ptr SDL_Haptic
-> PtrConst SDL_HapticEffect -> IO SDL_HapticEffectID
sDL_CreateHapticEffect = Ptr SDL_Haptic
-> PtrConst SDL_HapticEffect -> IO SDL_HapticEffectID
hs_bindgen_15baa0f4a78836ae
foreign import ccall safe "hs_bindgen_0492468c6fb17ac5"
hs_bindgen_0492468c6fb17ac5_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_0492468c6fb17ac5
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> PtrConst.PtrConst SDL_HapticEffect
-> IO BG.CBool
hs_bindgen_0492468c6fb17ac5 :: Ptr SDL_Haptic
-> SDL_HapticEffectID -> PtrConst SDL_HapticEffect -> IO CBool
hs_bindgen_0492468c6fb17ac5 =
\Ptr SDL_Haptic
x0 ->
\SDL_HapticEffectID
x1 ->
\PtrConst SDL_HapticEffect
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> CInt -> Ptr Void -> IO CBool
hs_bindgen_0492468c6fb17ac5_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (SDL_HapticEffectID -> FFIType SDL_HapticEffectID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_HapticEffectID
x1) (PtrConst SDL_HapticEffect -> FFIType (PtrConst SDL_HapticEffect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_HapticEffect
x2))
sDL_UpdateHapticEffect
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> PtrConst.PtrConst SDL_HapticEffect
-> IO BG.CBool
sDL_UpdateHapticEffect :: Ptr SDL_Haptic
-> SDL_HapticEffectID -> PtrConst SDL_HapticEffect -> IO CBool
sDL_UpdateHapticEffect = Ptr SDL_Haptic
-> SDL_HapticEffectID -> PtrConst SDL_HapticEffect -> IO CBool
hs_bindgen_0492468c6fb17ac5
foreign import ccall safe "hs_bindgen_a614a05d61f4001a"
hs_bindgen_a614a05d61f4001a_base
:: BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_a614a05d61f4001a
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_a614a05d61f4001a :: Ptr SDL_Haptic -> SDL_HapticEffectID -> Uint32 -> IO CBool
hs_bindgen_a614a05d61f4001a =
\Ptr SDL_Haptic
x0 ->
\SDL_HapticEffectID
x1 ->
\Uint32
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> CInt -> Word32 -> IO CBool
hs_bindgen_a614a05d61f4001a_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (SDL_HapticEffectID -> FFIType SDL_HapticEffectID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_HapticEffectID
x1) (Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2))
sDL_RunHapticEffect
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_RunHapticEffect :: Ptr SDL_Haptic -> SDL_HapticEffectID -> Uint32 -> IO CBool
sDL_RunHapticEffect = Ptr SDL_Haptic -> SDL_HapticEffectID -> Uint32 -> IO CBool
hs_bindgen_a614a05d61f4001a
foreign import ccall safe "hs_bindgen_62c7aa3038b74c27"
hs_bindgen_62c7aa3038b74c27_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_62c7aa3038b74c27
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> IO BG.CBool
hs_bindgen_62c7aa3038b74c27 :: Ptr SDL_Haptic -> SDL_HapticEffectID -> IO CBool
hs_bindgen_62c7aa3038b74c27 =
\Ptr SDL_Haptic
x0 ->
\SDL_HapticEffectID
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CInt -> IO CBool
hs_bindgen_62c7aa3038b74c27_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (SDL_HapticEffectID -> FFIType SDL_HapticEffectID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_HapticEffectID
x1))
sDL_StopHapticEffect
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> IO BG.CBool
sDL_StopHapticEffect :: Ptr SDL_Haptic -> SDL_HapticEffectID -> IO CBool
sDL_StopHapticEffect = Ptr SDL_Haptic -> SDL_HapticEffectID -> IO CBool
hs_bindgen_62c7aa3038b74c27
foreign import ccall safe "hs_bindgen_6ebf1b15d73c024c"
hs_bindgen_6ebf1b15d73c024c_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO ()
hs_bindgen_6ebf1b15d73c024c
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> IO ()
hs_bindgen_6ebf1b15d73c024c :: Ptr SDL_Haptic -> SDL_HapticEffectID -> IO ()
hs_bindgen_6ebf1b15d73c024c =
\Ptr SDL_Haptic
x0 ->
\SDL_HapticEffectID
x1 ->
Ptr Void -> CInt -> IO ()
hs_bindgen_6ebf1b15d73c024c_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (SDL_HapticEffectID -> FFIType SDL_HapticEffectID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_HapticEffectID
x1)
sDL_DestroyHapticEffect
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> IO ()
sDL_DestroyHapticEffect :: Ptr SDL_Haptic -> SDL_HapticEffectID -> IO ()
sDL_DestroyHapticEffect = Ptr SDL_Haptic -> SDL_HapticEffectID -> IO ()
hs_bindgen_6ebf1b15d73c024c
foreign import ccall safe "hs_bindgen_8953e9e35530a132"
hs_bindgen_8953e9e35530a132_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_8953e9e35530a132
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> IO BG.CBool
hs_bindgen_8953e9e35530a132 :: Ptr SDL_Haptic -> SDL_HapticEffectID -> IO CBool
hs_bindgen_8953e9e35530a132 =
\Ptr SDL_Haptic
x0 ->
\SDL_HapticEffectID
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CInt -> IO CBool
hs_bindgen_8953e9e35530a132_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (SDL_HapticEffectID -> FFIType SDL_HapticEffectID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_HapticEffectID
x1))
sDL_GetHapticEffectStatus
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> IO BG.CBool
sDL_GetHapticEffectStatus :: Ptr SDL_Haptic -> SDL_HapticEffectID -> IO CBool
sDL_GetHapticEffectStatus =
Ptr SDL_Haptic -> SDL_HapticEffectID -> IO CBool
hs_bindgen_8953e9e35530a132
foreign import ccall safe "hs_bindgen_33d36e11c46c206d"
hs_bindgen_33d36e11c46c206d_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_33d36e11c46c206d
:: BG.Ptr SDL_Haptic
-> BG.CInt
-> IO BG.CBool
hs_bindgen_33d36e11c46c206d :: Ptr SDL_Haptic -> CInt -> IO CBool
hs_bindgen_33d36e11c46c206d =
\Ptr SDL_Haptic
x0 ->
\CInt
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CInt -> IO CBool
hs_bindgen_33d36e11c46c206d_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1))
sDL_SetHapticGain
:: BG.Ptr SDL_Haptic
-> BG.CInt
-> IO BG.CBool
sDL_SetHapticGain :: Ptr SDL_Haptic -> CInt -> IO CBool
sDL_SetHapticGain = Ptr SDL_Haptic -> CInt -> IO CBool
hs_bindgen_33d36e11c46c206d
foreign import ccall safe "hs_bindgen_713374147201159e"
hs_bindgen_713374147201159e_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_713374147201159e
:: BG.Ptr SDL_Haptic
-> BG.CInt
-> IO BG.CBool
hs_bindgen_713374147201159e :: Ptr SDL_Haptic -> CInt -> IO CBool
hs_bindgen_713374147201159e =
\Ptr SDL_Haptic
x0 ->
\CInt
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CInt -> IO CBool
hs_bindgen_713374147201159e_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1))
sDL_SetHapticAutocenter
:: BG.Ptr SDL_Haptic
-> BG.CInt
-> IO BG.CBool
sDL_SetHapticAutocenter :: Ptr SDL_Haptic -> CInt -> IO CBool
sDL_SetHapticAutocenter = Ptr SDL_Haptic -> CInt -> IO CBool
hs_bindgen_713374147201159e
foreign import ccall safe "hs_bindgen_d4344f317b2d7325"
hs_bindgen_d4344f317b2d7325_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_d4344f317b2d7325
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_d4344f317b2d7325 :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_d4344f317b2d7325 =
\Ptr SDL_Haptic
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_d4344f317b2d7325_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_PauseHaptic
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
sDL_PauseHaptic :: Ptr SDL_Haptic -> IO CBool
sDL_PauseHaptic = Ptr SDL_Haptic -> IO CBool
hs_bindgen_d4344f317b2d7325
foreign import ccall safe "hs_bindgen_79c16f8418a90f86"
hs_bindgen_79c16f8418a90f86_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_79c16f8418a90f86
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_79c16f8418a90f86 :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_79c16f8418a90f86 =
\Ptr SDL_Haptic
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_79c16f8418a90f86_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_ResumeHaptic
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
sDL_ResumeHaptic :: Ptr SDL_Haptic -> IO CBool
sDL_ResumeHaptic = Ptr SDL_Haptic -> IO CBool
hs_bindgen_79c16f8418a90f86
foreign import ccall safe "hs_bindgen_f452836b38dc6590"
hs_bindgen_f452836b38dc6590_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_f452836b38dc6590
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_f452836b38dc6590 :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_f452836b38dc6590 =
\Ptr SDL_Haptic
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_f452836b38dc6590_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_StopHapticEffects
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
sDL_StopHapticEffects :: Ptr SDL_Haptic -> IO CBool
sDL_StopHapticEffects = Ptr SDL_Haptic -> IO CBool
hs_bindgen_f452836b38dc6590
foreign import ccall safe "hs_bindgen_113ac21fbd9de22e"
hs_bindgen_113ac21fbd9de22e_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_113ac21fbd9de22e
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_113ac21fbd9de22e :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_113ac21fbd9de22e =
\Ptr SDL_Haptic
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_113ac21fbd9de22e_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_HapticRumbleSupported
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
sDL_HapticRumbleSupported :: Ptr SDL_Haptic -> IO CBool
sDL_HapticRumbleSupported =
Ptr SDL_Haptic -> IO CBool
hs_bindgen_113ac21fbd9de22e
foreign import ccall safe "hs_bindgen_ae32c683da240a6e"
hs_bindgen_ae32c683da240a6e_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_ae32c683da240a6e
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_ae32c683da240a6e :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_ae32c683da240a6e =
\Ptr SDL_Haptic
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_ae32c683da240a6e_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_InitHapticRumble
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
sDL_InitHapticRumble :: Ptr SDL_Haptic -> IO CBool
sDL_InitHapticRumble = Ptr SDL_Haptic -> IO CBool
hs_bindgen_ae32c683da240a6e
foreign import ccall safe "hs_bindgen_10fe16fce6a60bfe"
hs_bindgen_10fe16fce6a60bfe_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_10fe16fce6a60bfe
:: BG.Ptr SDL_Haptic
-> BG.CFloat
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_10fe16fce6a60bfe :: Ptr SDL_Haptic -> CFloat -> Uint32 -> IO CBool
hs_bindgen_10fe16fce6a60bfe =
\Ptr SDL_Haptic
x0 ->
\CFloat
x1 ->
\Uint32
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> CFloat -> Word32 -> IO CBool
hs_bindgen_10fe16fce6a60bfe_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0) (CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x1) (Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2))
sDL_PlayHapticRumble
:: BG.Ptr SDL_Haptic
-> BG.CFloat
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_PlayHapticRumble :: Ptr SDL_Haptic -> CFloat -> Uint32 -> IO CBool
sDL_PlayHapticRumble = Ptr SDL_Haptic -> CFloat -> Uint32 -> IO CBool
hs_bindgen_10fe16fce6a60bfe
foreign import ccall safe "hs_bindgen_2b55fdb7a5a8262a"
hs_bindgen_2b55fdb7a5a8262a_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_2b55fdb7a5a8262a
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_2b55fdb7a5a8262a :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_2b55fdb7a5a8262a =
\Ptr SDL_Haptic
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_2b55fdb7a5a8262a_base (Ptr SDL_Haptic -> FFIType (Ptr SDL_Haptic)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Haptic
x0))
sDL_StopHapticRumble
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
sDL_StopHapticRumble :: Ptr SDL_Haptic -> IO CBool
sDL_StopHapticRumble = Ptr SDL_Haptic -> IO CBool
hs_bindgen_2b55fdb7a5a8262a