{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Haptic.Unsafe (
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetHaptics,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetHapticNameForID,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_OpenHaptic,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetHapticFromID,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetHapticID,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetHapticName,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_IsMouseHaptic,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_OpenHapticFromMouse,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_IsJoystickHaptic,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_OpenHapticFromJoystick,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_CloseHaptic,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetMaxHapticEffects,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetMaxHapticEffectsPlaying,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetHapticFeatures,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetNumHapticAxes,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_HapticEffectSupported,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_CreateHapticEffect,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_UpdateHapticEffect,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_RunHapticEffect,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_StopHapticEffect,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_DestroyHapticEffect,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_GetHapticEffectStatus,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_SetHapticGain,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_SetHapticAutocenter,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_PauseHaptic,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_ResumeHaptic,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_StopHapticEffects,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_HapticRumbleSupported,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_InitHapticRumble,
SDL3.Sys.Bindgen.Haptic.Unsafe.sDL_PlayHapticRumble,
SDL3.Sys.Bindgen.Haptic.Unsafe.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_9144fd217aed3644 ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetHaptics)(arg1);"
, "}"
, "char const *hs_bindgen_0bc6c8aa0c9268ef ("
, " SDL_HapticID arg1"
, ")"
, "{"
, " return (SDL_GetHapticNameForID)(arg1);"
, "}"
, "SDL_Haptic *hs_bindgen_e145a39ad8de4588 ("
, " SDL_HapticID arg1"
, ")"
, "{"
, " return (SDL_OpenHaptic)(arg1);"
, "}"
, "SDL_Haptic *hs_bindgen_3eb0e70beaf705a6 ("
, " SDL_HapticID arg1"
, ")"
, "{"
, " return (SDL_GetHapticFromID)(arg1);"
, "}"
, "SDL_HapticID hs_bindgen_733c1ac4379b685f ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetHapticID)(arg1);"
, "}"
, "char const *hs_bindgen_65ea37324067e4e8 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetHapticName)(arg1);"
, "}"
, "_Bool hs_bindgen_7f6b487ecec1bdc7 (void)"
, "{"
, " return (SDL_IsMouseHaptic)();"
, "}"
, "SDL_Haptic *hs_bindgen_fdfe5c61a81c94fd (void)"
, "{"
, " return (SDL_OpenHapticFromMouse)();"
, "}"
, "_Bool hs_bindgen_136048137b058f4b ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_IsJoystickHaptic)(arg1);"
, "}"
, "SDL_Haptic *hs_bindgen_1ee4f9bee2fcd4f3 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_OpenHapticFromJoystick)(arg1);"
, "}"
, "void hs_bindgen_5dc34bbc05254c40 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " (SDL_CloseHaptic)(arg1);"
, "}"
, "signed int hs_bindgen_5cd0622005566196 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetMaxHapticEffects)(arg1);"
, "}"
, "signed int hs_bindgen_ed10e8124384dcc6 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetMaxHapticEffectsPlaying)(arg1);"
, "}"
, "Uint32 hs_bindgen_53effd9f65bf5118 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetHapticFeatures)(arg1);"
, "}"
, "signed int hs_bindgen_fc1fa543654842e5 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_GetNumHapticAxes)(arg1);"
, "}"
, "_Bool hs_bindgen_ddf7667b0951f535 ("
, " 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_8b8594cfaa325bcf ("
, " 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_9a5d65efc573a34d ("
, " 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_a491b2976f3c0e2a ("
, " 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_a1ba32f8ccf55d38 ("
, " 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_2cf548acecd92e79 ("
, " 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_a77bda94890e1c73 ("
, " SDL_Haptic *arg1,"
, " SDL_HapticEffectID arg2"
, ")"
, "{"
, " return (SDL_GetHapticEffectStatus)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_206db73edc8fadd4 ("
, " SDL_Haptic *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_SetHapticGain)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_f0b69ddce282f135 ("
, " SDL_Haptic *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_SetHapticAutocenter)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_98b65e257f12670a ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_PauseHaptic)(arg1);"
, "}"
, "_Bool hs_bindgen_d54e536e172fdf2a ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_ResumeHaptic)(arg1);"
, "}"
, "_Bool hs_bindgen_10f2c8457cada0f1 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_StopHapticEffects)(arg1);"
, "}"
, "_Bool hs_bindgen_0b0f01d261871ca4 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_HapticRumbleSupported)(arg1);"
, "}"
, "_Bool hs_bindgen_1d3609585fc8a6db ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_InitHapticRumble)(arg1);"
, "}"
, "_Bool hs_bindgen_9a900e80b5933810 ("
, " SDL_Haptic *arg1,"
, " float arg2,"
, " Uint32 arg3"
, ")"
, "{"
, " return (SDL_PlayHapticRumble)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_8eb60197e5125e42 ("
, " SDL_Haptic *arg1"
, ")"
, "{"
, " return (SDL_StopHapticRumble)(arg1);"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_9144fd217aed3644"
hs_bindgen_9144fd217aed3644_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_9144fd217aed3644
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_HapticID)
hs_bindgen_9144fd217aed3644 :: Ptr CInt -> IO (Ptr SDL_HapticID)
hs_bindgen_9144fd217aed3644 =
\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_9144fd217aed3644_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_9144fd217aed3644
foreign import ccall unsafe "hs_bindgen_0bc6c8aa0c9268ef"
hs_bindgen_0bc6c8aa0c9268ef_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_0bc6c8aa0c9268ef
:: SDL_HapticID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_0bc6c8aa0c9268ef :: SDL_HapticID -> IO (PtrConst CChar)
hs_bindgen_0bc6c8aa0c9268ef =
\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_0bc6c8aa0c9268ef_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_0bc6c8aa0c9268ef
foreign import ccall unsafe "hs_bindgen_e145a39ad8de4588"
hs_bindgen_e145a39ad8de4588_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_e145a39ad8de4588
:: SDL_HapticID
-> IO (BG.Ptr SDL_Haptic)
hs_bindgen_e145a39ad8de4588 :: SDL_HapticID -> IO (Ptr SDL_Haptic)
hs_bindgen_e145a39ad8de4588 =
\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_e145a39ad8de4588_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_e145a39ad8de4588
foreign import ccall unsafe "hs_bindgen_3eb0e70beaf705a6"
hs_bindgen_3eb0e70beaf705a6_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_3eb0e70beaf705a6
:: SDL_HapticID
-> IO (BG.Ptr SDL_Haptic)
hs_bindgen_3eb0e70beaf705a6 :: SDL_HapticID -> IO (Ptr SDL_Haptic)
hs_bindgen_3eb0e70beaf705a6 =
\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_3eb0e70beaf705a6_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_3eb0e70beaf705a6
foreign import ccall unsafe "hs_bindgen_733c1ac4379b685f"
hs_bindgen_733c1ac4379b685f_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_733c1ac4379b685f
:: BG.Ptr SDL_Haptic
-> IO SDL_HapticID
hs_bindgen_733c1ac4379b685f :: Ptr SDL_Haptic -> IO SDL_HapticID
hs_bindgen_733c1ac4379b685f =
\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_733c1ac4379b685f_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_733c1ac4379b685f
foreign import ccall unsafe "hs_bindgen_65ea37324067e4e8"
hs_bindgen_65ea37324067e4e8_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_65ea37324067e4e8
:: BG.Ptr SDL_Haptic
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_65ea37324067e4e8 :: Ptr SDL_Haptic -> IO (PtrConst CChar)
hs_bindgen_65ea37324067e4e8 =
\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_65ea37324067e4e8_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_65ea37324067e4e8
foreign import ccall unsafe "hs_bindgen_7f6b487ecec1bdc7"
hs_bindgen_7f6b487ecec1bdc7_base
:: IO BG.CBool
hs_bindgen_7f6b487ecec1bdc7 :: IO BG.CBool
hs_bindgen_7f6b487ecec1bdc7 :: IO CBool
hs_bindgen_7f6b487ecec1bdc7 =
(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_7f6b487ecec1bdc7_base
sDL_IsMouseHaptic :: IO BG.CBool
sDL_IsMouseHaptic :: IO CBool
sDL_IsMouseHaptic = IO CBool
hs_bindgen_7f6b487ecec1bdc7
foreign import ccall unsafe "hs_bindgen_fdfe5c61a81c94fd"
hs_bindgen_fdfe5c61a81c94fd_base
:: IO (BG.Ptr BG.Void)
hs_bindgen_fdfe5c61a81c94fd :: IO (BG.Ptr SDL_Haptic)
hs_bindgen_fdfe5c61a81c94fd :: IO (Ptr SDL_Haptic)
hs_bindgen_fdfe5c61a81c94fd =
(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_fdfe5c61a81c94fd_base
sDL_OpenHapticFromMouse :: IO (BG.Ptr SDL_Haptic)
sDL_OpenHapticFromMouse :: IO (Ptr SDL_Haptic)
sDL_OpenHapticFromMouse = IO (Ptr SDL_Haptic)
hs_bindgen_fdfe5c61a81c94fd
foreign import ccall unsafe "hs_bindgen_136048137b058f4b"
hs_bindgen_136048137b058f4b_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_136048137b058f4b
:: BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick
-> IO BG.CBool
hs_bindgen_136048137b058f4b :: Ptr SDL_Joystick -> IO CBool
hs_bindgen_136048137b058f4b =
\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_136048137b058f4b_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_136048137b058f4b
foreign import ccall unsafe "hs_bindgen_1ee4f9bee2fcd4f3"
hs_bindgen_1ee4f9bee2fcd4f3_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_1ee4f9bee2fcd4f3
:: BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick
-> IO (BG.Ptr SDL_Haptic)
hs_bindgen_1ee4f9bee2fcd4f3 :: Ptr SDL_Joystick -> IO (Ptr SDL_Haptic)
hs_bindgen_1ee4f9bee2fcd4f3 =
\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_1ee4f9bee2fcd4f3_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_1ee4f9bee2fcd4f3
foreign import ccall unsafe "hs_bindgen_5dc34bbc05254c40"
hs_bindgen_5dc34bbc05254c40_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_5dc34bbc05254c40
:: BG.Ptr SDL_Haptic
-> IO ()
hs_bindgen_5dc34bbc05254c40 :: Ptr SDL_Haptic -> IO ()
hs_bindgen_5dc34bbc05254c40 =
\Ptr SDL_Haptic
x0 ->
Ptr Void -> IO ()
hs_bindgen_5dc34bbc05254c40_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_5dc34bbc05254c40
foreign import ccall unsafe "hs_bindgen_5cd0622005566196"
hs_bindgen_5cd0622005566196_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_5cd0622005566196
:: BG.Ptr SDL_Haptic
-> IO BG.CInt
hs_bindgen_5cd0622005566196 :: Ptr SDL_Haptic -> IO CInt
hs_bindgen_5cd0622005566196 =
\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_5cd0622005566196_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_5cd0622005566196
foreign import ccall unsafe "hs_bindgen_ed10e8124384dcc6"
hs_bindgen_ed10e8124384dcc6_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_ed10e8124384dcc6
:: BG.Ptr SDL_Haptic
-> IO BG.CInt
hs_bindgen_ed10e8124384dcc6 :: Ptr SDL_Haptic -> IO CInt
hs_bindgen_ed10e8124384dcc6 =
\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_ed10e8124384dcc6_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_ed10e8124384dcc6
foreign import ccall unsafe "hs_bindgen_53effd9f65bf5118"
hs_bindgen_53effd9f65bf5118_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_53effd9f65bf5118
:: BG.Ptr SDL_Haptic
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
hs_bindgen_53effd9f65bf5118 :: Ptr SDL_Haptic -> IO Uint32
hs_bindgen_53effd9f65bf5118 =
\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_53effd9f65bf5118_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_53effd9f65bf5118
foreign import ccall unsafe "hs_bindgen_fc1fa543654842e5"
hs_bindgen_fc1fa543654842e5_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_fc1fa543654842e5
:: BG.Ptr SDL_Haptic
-> IO BG.CInt
hs_bindgen_fc1fa543654842e5 :: Ptr SDL_Haptic -> IO CInt
hs_bindgen_fc1fa543654842e5 =
\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_fc1fa543654842e5_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_fc1fa543654842e5
foreign import ccall unsafe "hs_bindgen_ddf7667b0951f535"
hs_bindgen_ddf7667b0951f535_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_ddf7667b0951f535
:: BG.Ptr SDL_Haptic
-> PtrConst.PtrConst SDL_HapticEffect
-> IO BG.CBool
hs_bindgen_ddf7667b0951f535 :: Ptr SDL_Haptic -> PtrConst SDL_HapticEffect -> IO CBool
hs_bindgen_ddf7667b0951f535 =
\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_ddf7667b0951f535_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_ddf7667b0951f535
foreign import ccall unsafe "hs_bindgen_8b8594cfaa325bcf"
hs_bindgen_8b8594cfaa325bcf_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_8b8594cfaa325bcf
:: BG.Ptr SDL_Haptic
-> PtrConst.PtrConst SDL_HapticEffect
-> IO SDL_HapticEffectID
hs_bindgen_8b8594cfaa325bcf :: Ptr SDL_Haptic
-> PtrConst SDL_HapticEffect -> IO SDL_HapticEffectID
hs_bindgen_8b8594cfaa325bcf =
\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_8b8594cfaa325bcf_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_8b8594cfaa325bcf
foreign import ccall unsafe "hs_bindgen_9a5d65efc573a34d"
hs_bindgen_9a5d65efc573a34d_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_9a5d65efc573a34d
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> PtrConst.PtrConst SDL_HapticEffect
-> IO BG.CBool
hs_bindgen_9a5d65efc573a34d :: Ptr SDL_Haptic
-> SDL_HapticEffectID -> PtrConst SDL_HapticEffect -> IO CBool
hs_bindgen_9a5d65efc573a34d =
\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_9a5d65efc573a34d_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_9a5d65efc573a34d
foreign import ccall unsafe "hs_bindgen_a491b2976f3c0e2a"
hs_bindgen_a491b2976f3c0e2a_base
:: BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_a491b2976f3c0e2a
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_a491b2976f3c0e2a :: Ptr SDL_Haptic -> SDL_HapticEffectID -> Uint32 -> IO CBool
hs_bindgen_a491b2976f3c0e2a =
\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_a491b2976f3c0e2a_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_a491b2976f3c0e2a
foreign import ccall unsafe "hs_bindgen_a1ba32f8ccf55d38"
hs_bindgen_a1ba32f8ccf55d38_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_a1ba32f8ccf55d38
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> IO BG.CBool
hs_bindgen_a1ba32f8ccf55d38 :: Ptr SDL_Haptic -> SDL_HapticEffectID -> IO CBool
hs_bindgen_a1ba32f8ccf55d38 =
\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_a1ba32f8ccf55d38_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_a1ba32f8ccf55d38
foreign import ccall unsafe "hs_bindgen_2cf548acecd92e79"
hs_bindgen_2cf548acecd92e79_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO ()
hs_bindgen_2cf548acecd92e79
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> IO ()
hs_bindgen_2cf548acecd92e79 :: Ptr SDL_Haptic -> SDL_HapticEffectID -> IO ()
hs_bindgen_2cf548acecd92e79 =
\Ptr SDL_Haptic
x0 ->
\SDL_HapticEffectID
x1 ->
Ptr Void -> CInt -> IO ()
hs_bindgen_2cf548acecd92e79_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_2cf548acecd92e79
foreign import ccall unsafe "hs_bindgen_a77bda94890e1c73"
hs_bindgen_a77bda94890e1c73_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_a77bda94890e1c73
:: BG.Ptr SDL_Haptic
-> SDL_HapticEffectID
-> IO BG.CBool
hs_bindgen_a77bda94890e1c73 :: Ptr SDL_Haptic -> SDL_HapticEffectID -> IO CBool
hs_bindgen_a77bda94890e1c73 =
\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_a77bda94890e1c73_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_a77bda94890e1c73
foreign import ccall unsafe "hs_bindgen_206db73edc8fadd4"
hs_bindgen_206db73edc8fadd4_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_206db73edc8fadd4
:: BG.Ptr SDL_Haptic
-> BG.CInt
-> IO BG.CBool
hs_bindgen_206db73edc8fadd4 :: Ptr SDL_Haptic -> CInt -> IO CBool
hs_bindgen_206db73edc8fadd4 =
\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_206db73edc8fadd4_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_206db73edc8fadd4
foreign import ccall unsafe "hs_bindgen_f0b69ddce282f135"
hs_bindgen_f0b69ddce282f135_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_f0b69ddce282f135
:: BG.Ptr SDL_Haptic
-> BG.CInt
-> IO BG.CBool
hs_bindgen_f0b69ddce282f135 :: Ptr SDL_Haptic -> CInt -> IO CBool
hs_bindgen_f0b69ddce282f135 =
\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_f0b69ddce282f135_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_f0b69ddce282f135
foreign import ccall unsafe "hs_bindgen_98b65e257f12670a"
hs_bindgen_98b65e257f12670a_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_98b65e257f12670a
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_98b65e257f12670a :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_98b65e257f12670a =
\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_98b65e257f12670a_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_98b65e257f12670a
foreign import ccall unsafe "hs_bindgen_d54e536e172fdf2a"
hs_bindgen_d54e536e172fdf2a_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_d54e536e172fdf2a
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_d54e536e172fdf2a :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_d54e536e172fdf2a =
\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_d54e536e172fdf2a_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_d54e536e172fdf2a
foreign import ccall unsafe "hs_bindgen_10f2c8457cada0f1"
hs_bindgen_10f2c8457cada0f1_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_10f2c8457cada0f1
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_10f2c8457cada0f1 :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_10f2c8457cada0f1 =
\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_10f2c8457cada0f1_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_10f2c8457cada0f1
foreign import ccall unsafe "hs_bindgen_0b0f01d261871ca4"
hs_bindgen_0b0f01d261871ca4_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_0b0f01d261871ca4
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_0b0f01d261871ca4 :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_0b0f01d261871ca4 =
\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_0b0f01d261871ca4_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_0b0f01d261871ca4
foreign import ccall unsafe "hs_bindgen_1d3609585fc8a6db"
hs_bindgen_1d3609585fc8a6db_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_1d3609585fc8a6db
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_1d3609585fc8a6db :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_1d3609585fc8a6db =
\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_1d3609585fc8a6db_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_1d3609585fc8a6db
foreign import ccall unsafe "hs_bindgen_9a900e80b5933810"
hs_bindgen_9a900e80b5933810_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_9a900e80b5933810
:: BG.Ptr SDL_Haptic
-> BG.CFloat
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_9a900e80b5933810 :: Ptr SDL_Haptic -> CFloat -> Uint32 -> IO CBool
hs_bindgen_9a900e80b5933810 =
\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_9a900e80b5933810_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_9a900e80b5933810
foreign import ccall unsafe "hs_bindgen_8eb60197e5125e42"
hs_bindgen_8eb60197e5125e42_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_8eb60197e5125e42
:: BG.Ptr SDL_Haptic
-> IO BG.CBool
hs_bindgen_8eb60197e5125e42 :: Ptr SDL_Haptic -> IO CBool
hs_bindgen_8eb60197e5125e42 =
\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_8eb60197e5125e42_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_8eb60197e5125e42