{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Joystick.Safe (
SDL3.Sys.Bindgen.Joystick.Safe.sDL_LockJoysticks,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_UnlockJoysticks,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_HasJoystick,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoysticks,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickNameForID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickPathForID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickPlayerIndexForID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickGUIDForID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickVendorForID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickProductForID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickProductVersionForID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickTypeForID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_OpenJoystick,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickFromID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickFromPlayerIndex,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_AttachVirtualJoystick,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_DetachVirtualJoystick,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_IsJoystickVirtual,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SetJoystickVirtualAxis,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SetJoystickVirtualBall,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SetJoystickVirtualButton,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SetJoystickVirtualHat,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SetJoystickVirtualTouchpad,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SendJoystickVirtualSensorData,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickProperties,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickName,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickPath,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickPlayerIndex,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SetJoystickPlayerIndex,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickGUID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickVendor,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickProduct,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickProductVersion,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickFirmwareVersion,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickSerial,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickType,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickGUIDInfo,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_JoystickConnected,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickID,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetNumJoystickAxes,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetNumJoystickBalls,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetNumJoystickHats,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetNumJoystickButtons,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SetJoystickEventsEnabled,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_JoystickEventsEnabled,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_UpdateJoysticks,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickAxis,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickAxisInitialState,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickBall,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickHat,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickButton,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_RumbleJoystick,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_RumbleJoystickTriggers,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SetJoystickLED,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_SendJoystickEffect,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_CloseJoystick,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickConnectionState,
SDL3.Sys.Bindgen.Joystick.Safe.sDL_GetJoystickPowerInfo,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Guid qualified
import SDL3.Sys.Bindgen.Joystick
import SDL3.Sys.Bindgen.Power qualified
import SDL3.Sys.Bindgen.Properties qualified
import SDL3.Sys.Bindgen.Sensor 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_joystick.h>"
, "void hs_bindgen_19b2fb0e1aa23b4e (void)"
, "{"
, " (SDL_LockJoysticks)();"
, "}"
, "void hs_bindgen_1e385ec73db339ad (void)"
, "{"
, " (SDL_UnlockJoysticks)();"
, "}"
, "_Bool hs_bindgen_35e62bce1113cd99 (void)"
, "{"
, " return (SDL_HasJoystick)();"
, "}"
, "SDL_JoystickID *hs_bindgen_a648e48d15a7195e ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetJoysticks)(arg1);"
, "}"
, "char const *hs_bindgen_25173d20a8c29264 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickNameForID)(arg1);"
, "}"
, "char const *hs_bindgen_bdd23d794dc05a80 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickPathForID)(arg1);"
, "}"
, "signed int hs_bindgen_79f42832d2cd073a ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickPlayerIndexForID)(arg1);"
, "}"
, "void hs_bindgen_f9a989144ab124be ("
, " SDL_JoystickID arg1,"
, " SDL_GUID *arg2"
, ")"
, "{"
, " *arg2 = (SDL_GetJoystickGUIDForID)(arg1);"
, "}"
, "Uint16 hs_bindgen_eadbde2ef191eb5b ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickVendorForID)(arg1);"
, "}"
, "Uint16 hs_bindgen_bb593396127cd149 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProductForID)(arg1);"
, "}"
, "Uint16 hs_bindgen_44e1a599dadd0805 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProductVersionForID)(arg1);"
, "}"
, "SDL_JoystickType hs_bindgen_336781da50ffa73f ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickTypeForID)(arg1);"
, "}"
, "SDL_Joystick *hs_bindgen_a95f6ee451f3128f ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_OpenJoystick)(arg1);"
, "}"
, "SDL_Joystick *hs_bindgen_8b8e060d989b32c5 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickFromID)(arg1);"
, "}"
, "SDL_Joystick *hs_bindgen_435b2937a9d773b0 ("
, " signed int arg1"
, ")"
, "{"
, " return (SDL_GetJoystickFromPlayerIndex)(arg1);"
, "}"
, "SDL_JoystickID hs_bindgen_9b992b621bc9d228 ("
, " SDL_VirtualJoystickDesc const *arg1"
, ")"
, "{"
, " return (SDL_AttachVirtualJoystick)(arg1);"
, "}"
, "_Bool hs_bindgen_95f96ae58c7060c5 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_DetachVirtualJoystick)(arg1);"
, "}"
, "_Bool hs_bindgen_b4d6fc0d358b2610 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_IsJoystickVirtual)(arg1);"
, "}"
, "_Bool hs_bindgen_950280d1c0af9b76 ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " Sint16 arg3"
, ")"
, "{"
, " return (SDL_SetJoystickVirtualAxis)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_ebe45871302400bf ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " Sint16 arg3,"
, " Sint16 arg4"
, ")"
, "{"
, " return (SDL_SetJoystickVirtualBall)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_943b4ea8f02f7dfb ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_SetJoystickVirtualButton)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_466a950a48c1bafe ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " Uint8 arg3"
, ")"
, "{"
, " return (SDL_SetJoystickVirtualHat)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_520069e80ffda161 ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " _Bool arg4,"
, " float arg5,"
, " float arg6,"
, " float arg7"
, ")"
, "{"
, " return (SDL_SetJoystickVirtualTouchpad)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);"
, "}"
, "_Bool hs_bindgen_502da6838ce8a4f8 ("
, " SDL_Joystick *arg1,"
, " SDL_SensorType arg2,"
, " Uint64 arg3,"
, " float const *arg4,"
, " signed int arg5"
, ")"
, "{"
, " return (SDL_SendJoystickVirtualSensorData)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "SDL_PropertiesID hs_bindgen_0e41310a58070b5c ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProperties)(arg1);"
, "}"
, "char const *hs_bindgen_a9e087059d7ddd66 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickName)(arg1);"
, "}"
, "char const *hs_bindgen_33ba12816518ab07 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickPath)(arg1);"
, "}"
, "signed int hs_bindgen_3f3bef7e45cb79c2 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickPlayerIndex)(arg1);"
, "}"
, "_Bool hs_bindgen_24bf75158e208f66 ("
, " SDL_Joystick *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_SetJoystickPlayerIndex)(arg1, arg2);"
, "}"
, "void hs_bindgen_9d48edfe80deea21 ("
, " SDL_Joystick *arg1,"
, " SDL_GUID *arg2"
, ")"
, "{"
, " *arg2 = (SDL_GetJoystickGUID)(arg1);"
, "}"
, "Uint16 hs_bindgen_58e23abd1321767d ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickVendor)(arg1);"
, "}"
, "Uint16 hs_bindgen_a1a810fac491b03c ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProduct)(arg1);"
, "}"
, "Uint16 hs_bindgen_ffcb72c6f02c76c7 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProductVersion)(arg1);"
, "}"
, "Uint16 hs_bindgen_990e53211d186662 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickFirmwareVersion)(arg1);"
, "}"
, "char const *hs_bindgen_b1bfb007ec57169c ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickSerial)(arg1);"
, "}"
, "SDL_JoystickType hs_bindgen_4bbfdbe521ae4448 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickType)(arg1);"
, "}"
, "void hs_bindgen_ac4457e1668303cb ("
, " SDL_GUID *arg1,"
, " Uint16 *arg2,"
, " Uint16 *arg3,"
, " Uint16 *arg4,"
, " Uint16 *arg5"
, ")"
, "{"
, " (SDL_GetJoystickGUIDInfo)(*arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_fd1547f6643cd55d ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_JoystickConnected)(arg1);"
, "}"
, "SDL_JoystickID hs_bindgen_e792f601776227ad ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickID)(arg1);"
, "}"
, "signed int hs_bindgen_eb5cf1b5a80cb490 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetNumJoystickAxes)(arg1);"
, "}"
, "signed int hs_bindgen_e856e95bf561b58f ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetNumJoystickBalls)(arg1);"
, "}"
, "signed int hs_bindgen_14f7806c41b802cb ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetNumJoystickHats)(arg1);"
, "}"
, "signed int hs_bindgen_737397e3a398beb9 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetNumJoystickButtons)(arg1);"
, "}"
, "void hs_bindgen_ed51a1754ff9d6c7 ("
, " _Bool arg1"
, ")"
, "{"
, " (SDL_SetJoystickEventsEnabled)(arg1);"
, "}"
, "_Bool hs_bindgen_86ece04390ea5953 (void)"
, "{"
, " return (SDL_JoystickEventsEnabled)();"
, "}"
, "void hs_bindgen_277bf35db967cb76 (void)"
, "{"
, " (SDL_UpdateJoysticks)();"
, "}"
, "Sint16 hs_bindgen_5ffa383d290b6a82 ("
, " SDL_Joystick *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_GetJoystickAxis)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_427de097dfec8d31 ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " Sint16 *arg3"
, ")"
, "{"
, " return (SDL_GetJoystickAxisInitialState)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_aee21b71d3004e03 ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " signed int *arg3,"
, " signed int *arg4"
, ")"
, "{"
, " return (SDL_GetJoystickBall)(arg1, arg2, arg3, arg4);"
, "}"
, "Uint8 hs_bindgen_03a81f7b52479c1f ("
, " SDL_Joystick *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_GetJoystickHat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_066ace0739b36572 ("
, " SDL_Joystick *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_GetJoystickButton)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_7e8a72caa95f2c2b ("
, " SDL_Joystick *arg1,"
, " Uint16 arg2,"
, " Uint16 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_RumbleJoystick)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_301092a71603b81a ("
, " SDL_Joystick *arg1,"
, " Uint16 arg2,"
, " Uint16 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_RumbleJoystickTriggers)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_8b94c1cbb487385b ("
, " SDL_Joystick *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4"
, ")"
, "{"
, " return (SDL_SetJoystickLED)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_f7e59a6e5bb608fe ("
, " SDL_Joystick *arg1,"
, " void const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_SendJoystickEffect)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_ea0c624f184dccba ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " (SDL_CloseJoystick)(arg1);"
, "}"
, "SDL_JoystickConnectionState hs_bindgen_08992afe945eb606 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickConnectionState)(arg1);"
, "}"
, "SDL_PowerState hs_bindgen_8bfbd5889037e579 ("
, " SDL_Joystick *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetJoystickPowerInfo)(arg1, arg2);"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_19b2fb0e1aa23b4e"
hs_bindgen_19b2fb0e1aa23b4e_base
:: IO ()
hs_bindgen_19b2fb0e1aa23b4e :: IO ()
hs_bindgen_19b2fb0e1aa23b4e :: IO ()
hs_bindgen_19b2fb0e1aa23b4e =
IO ()
hs_bindgen_19b2fb0e1aa23b4e_base
sDL_LockJoysticks :: IO ()
sDL_LockJoysticks :: IO ()
sDL_LockJoysticks = IO ()
hs_bindgen_19b2fb0e1aa23b4e
foreign import ccall safe "hs_bindgen_1e385ec73db339ad"
hs_bindgen_1e385ec73db339ad_base
:: IO ()
hs_bindgen_1e385ec73db339ad :: IO ()
hs_bindgen_1e385ec73db339ad :: IO ()
hs_bindgen_1e385ec73db339ad =
IO ()
hs_bindgen_1e385ec73db339ad_base
sDL_UnlockJoysticks :: IO ()
sDL_UnlockJoysticks :: IO ()
sDL_UnlockJoysticks = IO ()
hs_bindgen_1e385ec73db339ad
foreign import ccall safe "hs_bindgen_35e62bce1113cd99"
hs_bindgen_35e62bce1113cd99_base
:: IO BG.CBool
hs_bindgen_35e62bce1113cd99 :: IO BG.CBool
hs_bindgen_35e62bce1113cd99 :: IO CBool
hs_bindgen_35e62bce1113cd99 =
(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_35e62bce1113cd99_base
sDL_HasJoystick :: IO BG.CBool
sDL_HasJoystick :: IO CBool
sDL_HasJoystick = IO CBool
hs_bindgen_35e62bce1113cd99
foreign import ccall safe "hs_bindgen_a648e48d15a7195e"
hs_bindgen_a648e48d15a7195e_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_a648e48d15a7195e
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_JoystickID)
hs_bindgen_a648e48d15a7195e :: Ptr CInt -> IO (Ptr SDL_JoystickID)
hs_bindgen_a648e48d15a7195e =
\Ptr CInt
x0 ->
(Ptr Void -> Ptr SDL_JoystickID)
-> IO (Ptr Void) -> IO (Ptr SDL_JoystickID)
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_JoystickID
FFIType (Ptr SDL_JoystickID) -> Ptr SDL_JoystickID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_a648e48d15a7195e_base (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x0))
sDL_GetJoysticks
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_JoystickID)
sDL_GetJoysticks :: Ptr CInt -> IO (Ptr SDL_JoystickID)
sDL_GetJoysticks = Ptr CInt -> IO (Ptr SDL_JoystickID)
hs_bindgen_a648e48d15a7195e
foreign import ccall safe "hs_bindgen_25173d20a8c29264"
hs_bindgen_25173d20a8c29264_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_25173d20a8c29264
:: SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_25173d20a8c29264 :: SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_25173d20a8c29264 =
\SDL_JoystickID
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_25173d20a8c29264_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetJoystickNameForID
:: SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetJoystickNameForID :: SDL_JoystickID -> IO (PtrConst CChar)
sDL_GetJoystickNameForID =
SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_25173d20a8c29264
foreign import ccall safe "hs_bindgen_bdd23d794dc05a80"
hs_bindgen_bdd23d794dc05a80_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_bdd23d794dc05a80
:: SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_bdd23d794dc05a80 :: SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_bdd23d794dc05a80 =
\SDL_JoystickID
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_bdd23d794dc05a80_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetJoystickPathForID
:: SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetJoystickPathForID :: SDL_JoystickID -> IO (PtrConst CChar)
sDL_GetJoystickPathForID =
SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_bdd23d794dc05a80
foreign import ccall safe "hs_bindgen_79f42832d2cd073a"
hs_bindgen_79f42832d2cd073a_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CInt
hs_bindgen_79f42832d2cd073a
:: SDL_JoystickID
-> IO BG.CInt
hs_bindgen_79f42832d2cd073a :: SDL_JoystickID -> IO CInt
hs_bindgen_79f42832d2cd073a =
\SDL_JoystickID
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 (Word32 -> IO CInt
hs_bindgen_79f42832d2cd073a_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetJoystickPlayerIndexForID
:: SDL_JoystickID
-> IO BG.CInt
sDL_GetJoystickPlayerIndexForID :: SDL_JoystickID -> IO CInt
sDL_GetJoystickPlayerIndexForID =
SDL_JoystickID -> IO CInt
hs_bindgen_79f42832d2cd073a
foreign import ccall safe "hs_bindgen_f9a989144ab124be"
hs_bindgen_f9a989144ab124be_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_f9a989144ab124be
:: SDL_JoystickID
-> BG.Ptr SDL3.Sys.Bindgen.Guid.SDL_GUID
-> IO ()
hs_bindgen_f9a989144ab124be :: SDL_JoystickID -> Ptr SDL_GUID -> IO ()
hs_bindgen_f9a989144ab124be =
\SDL_JoystickID
x0 ->
\Ptr SDL_GUID
x1 ->
Word32 -> Ptr Void -> IO ()
hs_bindgen_f9a989144ab124be_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0) (Ptr SDL_GUID -> FFIType (Ptr SDL_GUID)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GUID
x1)
sDL_GetJoystickGUIDForID
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Guid.SDL_GUID
sDL_GetJoystickGUIDForID :: SDL_JoystickID -> IO SDL_GUID
sDL_GetJoystickGUIDForID =
\SDL_JoystickID
instance_id0 ->
(Ptr SDL_GUID -> IO ()) -> IO SDL_GUID
forall a. Storable a => (Ptr a -> IO ()) -> IO a
BG.allocaAndPeek
( \Ptr SDL_GUID
res1 ->
SDL_JoystickID -> Ptr SDL_GUID -> IO ()
hs_bindgen_f9a989144ab124be SDL_JoystickID
instance_id0 Ptr SDL_GUID
res1
)
foreign import ccall safe "hs_bindgen_eadbde2ef191eb5b"
hs_bindgen_eadbde2ef191eb5b_base
:: HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_eadbde2ef191eb5b
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_eadbde2ef191eb5b :: SDL_JoystickID -> IO Uint16
hs_bindgen_eadbde2ef191eb5b =
\SDL_JoystickID
x0 ->
(Word16 -> Uint16) -> IO Word16 -> IO Uint16
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word16 -> Uint16
FFIType Uint16 -> Uint16
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO Word16
hs_bindgen_eadbde2ef191eb5b_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetJoystickVendorForID
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetJoystickVendorForID :: SDL_JoystickID -> IO Uint16
sDL_GetJoystickVendorForID =
SDL_JoystickID -> IO Uint16
hs_bindgen_eadbde2ef191eb5b
foreign import ccall safe "hs_bindgen_bb593396127cd149"
hs_bindgen_bb593396127cd149_base
:: HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_bb593396127cd149
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_bb593396127cd149 :: SDL_JoystickID -> IO Uint16
hs_bindgen_bb593396127cd149 =
\SDL_JoystickID
x0 ->
(Word16 -> Uint16) -> IO Word16 -> IO Uint16
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word16 -> Uint16
FFIType Uint16 -> Uint16
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO Word16
hs_bindgen_bb593396127cd149_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetJoystickProductForID
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetJoystickProductForID :: SDL_JoystickID -> IO Uint16
sDL_GetJoystickProductForID =
SDL_JoystickID -> IO Uint16
hs_bindgen_bb593396127cd149
foreign import ccall safe "hs_bindgen_44e1a599dadd0805"
hs_bindgen_44e1a599dadd0805_base
:: HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_44e1a599dadd0805
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_44e1a599dadd0805 :: SDL_JoystickID -> IO Uint16
hs_bindgen_44e1a599dadd0805 =
\SDL_JoystickID
x0 ->
(Word16 -> Uint16) -> IO Word16 -> IO Uint16
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word16 -> Uint16
FFIType Uint16 -> Uint16
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO Word16
hs_bindgen_44e1a599dadd0805_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetJoystickProductVersionForID
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetJoystickProductVersionForID :: SDL_JoystickID -> IO Uint16
sDL_GetJoystickProductVersionForID =
SDL_JoystickID -> IO Uint16
hs_bindgen_44e1a599dadd0805
foreign import ccall safe "hs_bindgen_336781da50ffa73f"
hs_bindgen_336781da50ffa73f_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CUInt
hs_bindgen_336781da50ffa73f
:: SDL_JoystickID
-> IO SDL_JoystickType
hs_bindgen_336781da50ffa73f :: SDL_JoystickID -> IO SDL_JoystickType
hs_bindgen_336781da50ffa73f =
\SDL_JoystickID
x0 ->
(CUInt -> SDL_JoystickType) -> IO CUInt -> IO SDL_JoystickType
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_JoystickType
FFIType SDL_JoystickType -> SDL_JoystickType
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CUInt
hs_bindgen_336781da50ffa73f_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetJoystickTypeForID
:: SDL_JoystickID
-> IO SDL_JoystickType
sDL_GetJoystickTypeForID :: SDL_JoystickID -> IO SDL_JoystickType
sDL_GetJoystickTypeForID =
SDL_JoystickID -> IO SDL_JoystickType
hs_bindgen_336781da50ffa73f
foreign import ccall safe "hs_bindgen_a95f6ee451f3128f"
hs_bindgen_a95f6ee451f3128f_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_a95f6ee451f3128f
:: SDL_JoystickID
-> IO (BG.Ptr SDL_Joystick)
hs_bindgen_a95f6ee451f3128f :: SDL_JoystickID -> IO (Ptr SDL_Joystick)
hs_bindgen_a95f6ee451f3128f =
\SDL_JoystickID
x0 ->
(Ptr Void -> Ptr SDL_Joystick)
-> IO (Ptr Void) -> IO (Ptr SDL_Joystick)
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_Joystick
FFIType (Ptr SDL_Joystick) -> Ptr SDL_Joystick
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_a95f6ee451f3128f_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_OpenJoystick
:: SDL_JoystickID
-> IO (BG.Ptr SDL_Joystick)
sDL_OpenJoystick :: SDL_JoystickID -> IO (Ptr SDL_Joystick)
sDL_OpenJoystick = SDL_JoystickID -> IO (Ptr SDL_Joystick)
hs_bindgen_a95f6ee451f3128f
foreign import ccall safe "hs_bindgen_8b8e060d989b32c5"
hs_bindgen_8b8e060d989b32c5_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_8b8e060d989b32c5
:: SDL_JoystickID
-> IO (BG.Ptr SDL_Joystick)
hs_bindgen_8b8e060d989b32c5 :: SDL_JoystickID -> IO (Ptr SDL_Joystick)
hs_bindgen_8b8e060d989b32c5 =
\SDL_JoystickID
x0 ->
(Ptr Void -> Ptr SDL_Joystick)
-> IO (Ptr Void) -> IO (Ptr SDL_Joystick)
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_Joystick
FFIType (Ptr SDL_Joystick) -> Ptr SDL_Joystick
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_8b8e060d989b32c5_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetJoystickFromID
:: SDL_JoystickID
-> IO (BG.Ptr SDL_Joystick)
sDL_GetJoystickFromID :: SDL_JoystickID -> IO (Ptr SDL_Joystick)
sDL_GetJoystickFromID = SDL_JoystickID -> IO (Ptr SDL_Joystick)
hs_bindgen_8b8e060d989b32c5
foreign import ccall safe "hs_bindgen_435b2937a9d773b0"
hs_bindgen_435b2937a9d773b0_base
:: BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_435b2937a9d773b0
:: BG.CInt
-> IO (BG.Ptr SDL_Joystick)
hs_bindgen_435b2937a9d773b0 :: CInt -> IO (Ptr SDL_Joystick)
hs_bindgen_435b2937a9d773b0 =
\CInt
x0 ->
(Ptr Void -> Ptr SDL_Joystick)
-> IO (Ptr Void) -> IO (Ptr SDL_Joystick)
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_Joystick
FFIType (Ptr SDL_Joystick) -> Ptr SDL_Joystick
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CInt -> IO (Ptr Void)
hs_bindgen_435b2937a9d773b0_base (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x0))
sDL_GetJoystickFromPlayerIndex
:: BG.CInt
-> IO (BG.Ptr SDL_Joystick)
sDL_GetJoystickFromPlayerIndex :: CInt -> IO (Ptr SDL_Joystick)
sDL_GetJoystickFromPlayerIndex =
CInt -> IO (Ptr SDL_Joystick)
hs_bindgen_435b2937a9d773b0
foreign import ccall safe "hs_bindgen_9b992b621bc9d228"
hs_bindgen_9b992b621bc9d228_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_9b992b621bc9d228
:: PtrConst.PtrConst SDL_VirtualJoystickDesc
-> IO SDL_JoystickID
hs_bindgen_9b992b621bc9d228 :: PtrConst SDL_VirtualJoystickDesc -> IO SDL_JoystickID
hs_bindgen_9b992b621bc9d228 =
\PtrConst SDL_VirtualJoystickDesc
x0 ->
(Word32 -> SDL_JoystickID) -> IO Word32 -> IO SDL_JoystickID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_JoystickID
FFIType SDL_JoystickID -> SDL_JoystickID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_9b992b621bc9d228_base (PtrConst SDL_VirtualJoystickDesc
-> FFIType (PtrConst SDL_VirtualJoystickDesc)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_VirtualJoystickDesc
x0))
sDL_AttachVirtualJoystick
:: PtrConst.PtrConst SDL_VirtualJoystickDesc
-> IO SDL_JoystickID
sDL_AttachVirtualJoystick :: PtrConst SDL_VirtualJoystickDesc -> IO SDL_JoystickID
sDL_AttachVirtualJoystick =
PtrConst SDL_VirtualJoystickDesc -> IO SDL_JoystickID
hs_bindgen_9b992b621bc9d228
foreign import ccall safe "hs_bindgen_95f96ae58c7060c5"
hs_bindgen_95f96ae58c7060c5_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_95f96ae58c7060c5
:: SDL_JoystickID
-> IO BG.CBool
hs_bindgen_95f96ae58c7060c5 :: SDL_JoystickID -> IO CBool
hs_bindgen_95f96ae58c7060c5 =
\SDL_JoystickID
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 (Word32 -> IO CBool
hs_bindgen_95f96ae58c7060c5_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_DetachVirtualJoystick
:: SDL_JoystickID
-> IO BG.CBool
sDL_DetachVirtualJoystick :: SDL_JoystickID -> IO CBool
sDL_DetachVirtualJoystick =
SDL_JoystickID -> IO CBool
hs_bindgen_95f96ae58c7060c5
foreign import ccall safe "hs_bindgen_b4d6fc0d358b2610"
hs_bindgen_b4d6fc0d358b2610_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_b4d6fc0d358b2610
:: SDL_JoystickID
-> IO BG.CBool
hs_bindgen_b4d6fc0d358b2610 :: SDL_JoystickID -> IO CBool
hs_bindgen_b4d6fc0d358b2610 =
\SDL_JoystickID
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 (Word32 -> IO CBool
hs_bindgen_b4d6fc0d358b2610_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_IsJoystickVirtual
:: SDL_JoystickID
-> IO BG.CBool
sDL_IsJoystickVirtual :: SDL_JoystickID -> IO CBool
sDL_IsJoystickVirtual = SDL_JoystickID -> IO CBool
hs_bindgen_b4d6fc0d358b2610
foreign import ccall safe "hs_bindgen_950280d1c0af9b76"
hs_bindgen_950280d1c0af9b76_base
:: BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Int16
-> IO BG.CBool
hs_bindgen_950280d1c0af9b76
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_950280d1c0af9b76 :: Ptr SDL_Joystick -> CInt -> Sint16 -> IO CBool
hs_bindgen_950280d1c0af9b76 =
\Ptr SDL_Joystick
x0 ->
\CInt
x1 ->
\Sint16
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 -> Int16 -> IO CBool
hs_bindgen_950280d1c0af9b76_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1) (Sint16 -> FFIType Sint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint16
x2))
sDL_SetJoystickVirtualAxis
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
sDL_SetJoystickVirtualAxis :: Ptr SDL_Joystick -> CInt -> Sint16 -> IO CBool
sDL_SetJoystickVirtualAxis =
Ptr SDL_Joystick -> CInt -> Sint16 -> IO CBool
hs_bindgen_950280d1c0af9b76
foreign import ccall safe "hs_bindgen_ebe45871302400bf"
hs_bindgen_ebe45871302400bf_base
:: BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Int16
-> HsBindgen.Runtime.LibC.Int16
-> IO BG.CBool
hs_bindgen_ebe45871302400bf
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_ebe45871302400bf :: Ptr SDL_Joystick -> CInt -> Sint16 -> Sint16 -> IO CBool
hs_bindgen_ebe45871302400bf =
\Ptr SDL_Joystick
x0 ->
\CInt
x1 ->
\Sint16
x2 ->
\Sint16
x3 ->
(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 -> Int16 -> Int16 -> IO CBool
hs_bindgen_ebe45871302400bf_base
(Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(Sint16 -> FFIType Sint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint16
x2)
(Sint16 -> FFIType Sint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint16
x3)
)
sDL_SetJoystickVirtualBall
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
sDL_SetJoystickVirtualBall :: Ptr SDL_Joystick -> CInt -> Sint16 -> Sint16 -> IO CBool
sDL_SetJoystickVirtualBall =
Ptr SDL_Joystick -> CInt -> Sint16 -> Sint16 -> IO CBool
hs_bindgen_ebe45871302400bf
foreign import ccall safe "hs_bindgen_943b4ea8f02f7dfb"
hs_bindgen_943b4ea8f02f7dfb_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CBool
-> IO BG.CBool
hs_bindgen_943b4ea8f02f7dfb
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.CBool
-> IO BG.CBool
hs_bindgen_943b4ea8f02f7dfb :: Ptr SDL_Joystick -> CInt -> CBool -> IO CBool
hs_bindgen_943b4ea8f02f7dfb =
\Ptr SDL_Joystick
x0 ->
\CInt
x1 ->
\CBool
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 -> CBool -> IO CBool
hs_bindgen_943b4ea8f02f7dfb_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x2))
sDL_SetJoystickVirtualButton
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.CBool
-> IO BG.CBool
sDL_SetJoystickVirtualButton :: Ptr SDL_Joystick -> CInt -> CBool -> IO CBool
sDL_SetJoystickVirtualButton =
Ptr SDL_Joystick -> CInt -> CBool -> IO CBool
hs_bindgen_943b4ea8f02f7dfb
foreign import ccall safe "hs_bindgen_466a950a48c1bafe"
hs_bindgen_466a950a48c1bafe_base
:: BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_466a950a48c1bafe
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_466a950a48c1bafe :: Ptr SDL_Joystick -> CInt -> Uint8 -> IO CBool
hs_bindgen_466a950a48c1bafe =
\Ptr SDL_Joystick
x0 ->
\CInt
x1 ->
\Uint8
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 -> Word8 -> IO CBool
hs_bindgen_466a950a48c1bafe_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1) (Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x2))
sDL_SetJoystickVirtualHat
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_SetJoystickVirtualHat :: Ptr SDL_Joystick -> CInt -> Uint8 -> IO CBool
sDL_SetJoystickVirtualHat =
Ptr SDL_Joystick -> CInt -> Uint8 -> IO CBool
hs_bindgen_466a950a48c1bafe
foreign import ccall safe "hs_bindgen_520069e80ffda161"
hs_bindgen_520069e80ffda161_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.CBool
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_520069e80ffda161
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.CInt
-> BG.CBool
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_520069e80ffda161 :: Ptr SDL_Joystick
-> CInt -> CInt -> CBool -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_520069e80ffda161 =
\Ptr SDL_Joystick
x0 ->
\CInt
x1 ->
\CInt
x2 ->
\CBool
x3 ->
\CFloat
x4 ->
\CFloat
x5 ->
\CFloat
x6 ->
(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 -> CInt -> CBool -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_520069e80ffda161_base
(Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x3)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x4)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x5)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x6)
)
sDL_SetJoystickVirtualTouchpad
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.CInt
-> BG.CBool
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
sDL_SetJoystickVirtualTouchpad :: Ptr SDL_Joystick
-> CInt -> CInt -> CBool -> CFloat -> CFloat -> CFloat -> IO CBool
sDL_SetJoystickVirtualTouchpad =
Ptr SDL_Joystick
-> CInt -> CInt -> CBool -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_520069e80ffda161
foreign import ccall safe "hs_bindgen_502da6838ce8a4f8"
hs_bindgen_502da6838ce8a4f8_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CInt
-> HsBindgen.Runtime.LibC.Word64
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_502da6838ce8a4f8
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> SDL3.Sys.Bindgen.Stdinc.Uint64
-> PtrConst.PtrConst BG.CFloat
-> BG.CInt
-> IO BG.CBool
hs_bindgen_502da6838ce8a4f8 :: Ptr SDL_Joystick
-> SDL_SensorType -> Uint64 -> PtrConst CFloat -> CInt -> IO CBool
hs_bindgen_502da6838ce8a4f8 =
\Ptr SDL_Joystick
x0 ->
\SDL_SensorType
x1 ->
\Uint64
x2 ->
\PtrConst CFloat
x3 ->
\CInt
x4 ->
(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 -> Word64 -> Ptr Void -> CInt -> IO CBool
hs_bindgen_502da6838ce8a4f8_base
(Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0)
(SDL_SensorType -> FFIType SDL_SensorType
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_SensorType
x1)
(Uint64 -> FFIType Uint64
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint64
x2)
(PtrConst CFloat -> FFIType (PtrConst CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CFloat
x3)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x4)
)
sDL_SendJoystickVirtualSensorData
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> SDL3.Sys.Bindgen.Stdinc.Uint64
-> PtrConst.PtrConst BG.CFloat
-> BG.CInt
-> IO BG.CBool
sDL_SendJoystickVirtualSensorData :: Ptr SDL_Joystick
-> SDL_SensorType -> Uint64 -> PtrConst CFloat -> CInt -> IO CBool
sDL_SendJoystickVirtualSensorData =
Ptr SDL_Joystick
-> SDL_SensorType -> Uint64 -> PtrConst CFloat -> CInt -> IO CBool
hs_bindgen_502da6838ce8a4f8
foreign import ccall safe "hs_bindgen_0e41310a58070b5c"
hs_bindgen_0e41310a58070b5c_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_0e41310a58070b5c
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_0e41310a58070b5c :: Ptr SDL_Joystick -> IO SDL_PropertiesID
hs_bindgen_0e41310a58070b5c =
\Ptr SDL_Joystick
x0 ->
(Word32 -> SDL_PropertiesID) -> IO Word32 -> IO SDL_PropertiesID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_PropertiesID
FFIType SDL_PropertiesID -> SDL_PropertiesID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_0e41310a58070b5c_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickProperties
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
sDL_GetJoystickProperties :: Ptr SDL_Joystick -> IO SDL_PropertiesID
sDL_GetJoystickProperties =
Ptr SDL_Joystick -> IO SDL_PropertiesID
hs_bindgen_0e41310a58070b5c
foreign import ccall safe "hs_bindgen_a9e087059d7ddd66"
hs_bindgen_a9e087059d7ddd66_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_a9e087059d7ddd66
:: BG.Ptr SDL_Joystick
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_a9e087059d7ddd66 :: Ptr SDL_Joystick -> IO (PtrConst CChar)
hs_bindgen_a9e087059d7ddd66 =
\Ptr SDL_Joystick
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_a9e087059d7ddd66_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickName
:: BG.Ptr SDL_Joystick
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetJoystickName :: Ptr SDL_Joystick -> IO (PtrConst CChar)
sDL_GetJoystickName = Ptr SDL_Joystick -> IO (PtrConst CChar)
hs_bindgen_a9e087059d7ddd66
foreign import ccall safe "hs_bindgen_33ba12816518ab07"
hs_bindgen_33ba12816518ab07_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_33ba12816518ab07
:: BG.Ptr SDL_Joystick
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_33ba12816518ab07 :: Ptr SDL_Joystick -> IO (PtrConst CChar)
hs_bindgen_33ba12816518ab07 =
\Ptr SDL_Joystick
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_33ba12816518ab07_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickPath
:: BG.Ptr SDL_Joystick
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetJoystickPath :: Ptr SDL_Joystick -> IO (PtrConst CChar)
sDL_GetJoystickPath = Ptr SDL_Joystick -> IO (PtrConst CChar)
hs_bindgen_33ba12816518ab07
foreign import ccall safe "hs_bindgen_3f3bef7e45cb79c2"
hs_bindgen_3f3bef7e45cb79c2_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_3f3bef7e45cb79c2
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_3f3bef7e45cb79c2 :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_3f3bef7e45cb79c2 =
\Ptr SDL_Joystick
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_3f3bef7e45cb79c2_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickPlayerIndex
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
sDL_GetJoystickPlayerIndex :: Ptr SDL_Joystick -> IO CInt
sDL_GetJoystickPlayerIndex =
Ptr SDL_Joystick -> IO CInt
hs_bindgen_3f3bef7e45cb79c2
foreign import ccall safe "hs_bindgen_24bf75158e208f66"
hs_bindgen_24bf75158e208f66_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_24bf75158e208f66
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO BG.CBool
hs_bindgen_24bf75158e208f66 :: Ptr SDL_Joystick -> CInt -> IO CBool
hs_bindgen_24bf75158e208f66 =
\Ptr SDL_Joystick
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_24bf75158e208f66_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1))
sDL_SetJoystickPlayerIndex
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO BG.CBool
sDL_SetJoystickPlayerIndex :: Ptr SDL_Joystick -> CInt -> IO CBool
sDL_SetJoystickPlayerIndex =
Ptr SDL_Joystick -> CInt -> IO CBool
hs_bindgen_24bf75158e208f66
foreign import ccall safe "hs_bindgen_9d48edfe80deea21"
hs_bindgen_9d48edfe80deea21_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_9d48edfe80deea21
:: BG.Ptr SDL_Joystick
-> BG.Ptr SDL3.Sys.Bindgen.Guid.SDL_GUID
-> IO ()
hs_bindgen_9d48edfe80deea21 :: Ptr SDL_Joystick -> Ptr SDL_GUID -> IO ()
hs_bindgen_9d48edfe80deea21 =
\Ptr SDL_Joystick
x0 ->
\Ptr SDL_GUID
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_9d48edfe80deea21_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (Ptr SDL_GUID -> FFIType (Ptr SDL_GUID)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GUID
x1)
sDL_GetJoystickGUID
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Guid.SDL_GUID
sDL_GetJoystickGUID :: Ptr SDL_Joystick -> IO SDL_GUID
sDL_GetJoystickGUID =
\Ptr SDL_Joystick
joystick0 ->
(Ptr SDL_GUID -> IO ()) -> IO SDL_GUID
forall a. Storable a => (Ptr a -> IO ()) -> IO a
BG.allocaAndPeek
( \Ptr SDL_GUID
res1 ->
Ptr SDL_Joystick -> Ptr SDL_GUID -> IO ()
hs_bindgen_9d48edfe80deea21 Ptr SDL_Joystick
joystick0 Ptr SDL_GUID
res1
)
foreign import ccall safe "hs_bindgen_58e23abd1321767d"
hs_bindgen_58e23abd1321767d_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_58e23abd1321767d
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_58e23abd1321767d :: Ptr SDL_Joystick -> IO Uint16
hs_bindgen_58e23abd1321767d =
\Ptr SDL_Joystick
x0 ->
(Word16 -> Uint16) -> IO Word16 -> IO Uint16
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word16 -> Uint16
FFIType Uint16 -> Uint16
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word16
hs_bindgen_58e23abd1321767d_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickVendor
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetJoystickVendor :: Ptr SDL_Joystick -> IO Uint16
sDL_GetJoystickVendor = Ptr SDL_Joystick -> IO Uint16
hs_bindgen_58e23abd1321767d
foreign import ccall safe "hs_bindgen_a1a810fac491b03c"
hs_bindgen_a1a810fac491b03c_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_a1a810fac491b03c
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_a1a810fac491b03c :: Ptr SDL_Joystick -> IO Uint16
hs_bindgen_a1a810fac491b03c =
\Ptr SDL_Joystick
x0 ->
(Word16 -> Uint16) -> IO Word16 -> IO Uint16
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word16 -> Uint16
FFIType Uint16 -> Uint16
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word16
hs_bindgen_a1a810fac491b03c_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickProduct
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetJoystickProduct :: Ptr SDL_Joystick -> IO Uint16
sDL_GetJoystickProduct = Ptr SDL_Joystick -> IO Uint16
hs_bindgen_a1a810fac491b03c
foreign import ccall safe "hs_bindgen_ffcb72c6f02c76c7"
hs_bindgen_ffcb72c6f02c76c7_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_ffcb72c6f02c76c7
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_ffcb72c6f02c76c7 :: Ptr SDL_Joystick -> IO Uint16
hs_bindgen_ffcb72c6f02c76c7 =
\Ptr SDL_Joystick
x0 ->
(Word16 -> Uint16) -> IO Word16 -> IO Uint16
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word16 -> Uint16
FFIType Uint16 -> Uint16
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word16
hs_bindgen_ffcb72c6f02c76c7_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickProductVersion
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetJoystickProductVersion :: Ptr SDL_Joystick -> IO Uint16
sDL_GetJoystickProductVersion =
Ptr SDL_Joystick -> IO Uint16
hs_bindgen_ffcb72c6f02c76c7
foreign import ccall safe "hs_bindgen_990e53211d186662"
hs_bindgen_990e53211d186662_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_990e53211d186662
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_990e53211d186662 :: Ptr SDL_Joystick -> IO Uint16
hs_bindgen_990e53211d186662 =
\Ptr SDL_Joystick
x0 ->
(Word16 -> Uint16) -> IO Word16 -> IO Uint16
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word16 -> Uint16
FFIType Uint16 -> Uint16
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word16
hs_bindgen_990e53211d186662_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickFirmwareVersion
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetJoystickFirmwareVersion :: Ptr SDL_Joystick -> IO Uint16
sDL_GetJoystickFirmwareVersion =
Ptr SDL_Joystick -> IO Uint16
hs_bindgen_990e53211d186662
foreign import ccall safe "hs_bindgen_b1bfb007ec57169c"
hs_bindgen_b1bfb007ec57169c_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_b1bfb007ec57169c
:: BG.Ptr SDL_Joystick
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_b1bfb007ec57169c :: Ptr SDL_Joystick -> IO (PtrConst CChar)
hs_bindgen_b1bfb007ec57169c =
\Ptr SDL_Joystick
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_b1bfb007ec57169c_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickSerial
:: BG.Ptr SDL_Joystick
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetJoystickSerial :: Ptr SDL_Joystick -> IO (PtrConst CChar)
sDL_GetJoystickSerial = Ptr SDL_Joystick -> IO (PtrConst CChar)
hs_bindgen_b1bfb007ec57169c
foreign import ccall safe "hs_bindgen_4bbfdbe521ae4448"
hs_bindgen_4bbfdbe521ae4448_base
:: BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_4bbfdbe521ae4448
:: BG.Ptr SDL_Joystick
-> IO SDL_JoystickType
hs_bindgen_4bbfdbe521ae4448 :: Ptr SDL_Joystick -> IO SDL_JoystickType
hs_bindgen_4bbfdbe521ae4448 =
\Ptr SDL_Joystick
x0 ->
(CUInt -> SDL_JoystickType) -> IO CUInt -> IO SDL_JoystickType
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_JoystickType
FFIType SDL_JoystickType -> SDL_JoystickType
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CUInt
hs_bindgen_4bbfdbe521ae4448_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickType
:: BG.Ptr SDL_Joystick
-> IO SDL_JoystickType
sDL_GetJoystickType :: Ptr SDL_Joystick -> IO SDL_JoystickType
sDL_GetJoystickType = Ptr SDL_Joystick -> IO SDL_JoystickType
hs_bindgen_4bbfdbe521ae4448
foreign import ccall safe "hs_bindgen_ac4457e1668303cb"
hs_bindgen_ac4457e1668303cb_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_ac4457e1668303cb
:: BG.Ptr SDL3.Sys.Bindgen.Guid.SDL_GUID
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO ()
hs_bindgen_ac4457e1668303cb :: Ptr SDL_GUID
-> Ptr Uint16 -> Ptr Uint16 -> Ptr Uint16 -> Ptr Uint16 -> IO ()
hs_bindgen_ac4457e1668303cb =
\Ptr SDL_GUID
x0 ->
\Ptr Uint16
x1 ->
\Ptr Uint16
x2 ->
\Ptr Uint16
x3 ->
\Ptr Uint16
x4 ->
Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> IO ()
hs_bindgen_ac4457e1668303cb_base
(Ptr SDL_GUID -> FFIType (Ptr SDL_GUID)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GUID
x0)
(Ptr Uint16 -> FFIType (Ptr Uint16)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint16
x1)
(Ptr Uint16 -> FFIType (Ptr Uint16)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint16
x2)
(Ptr Uint16 -> FFIType (Ptr Uint16)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint16
x3)
(Ptr Uint16 -> FFIType (Ptr Uint16)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint16
x4)
sDL_GetJoystickGUIDInfo
:: SDL3.Sys.Bindgen.Guid.SDL_GUID
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO ()
sDL_GetJoystickGUIDInfo :: SDL_GUID
-> Ptr Uint16 -> Ptr Uint16 -> Ptr Uint16 -> Ptr Uint16 -> IO ()
sDL_GetJoystickGUIDInfo =
\SDL_GUID
guid0 ->
\Ptr Uint16
vendor1 ->
\Ptr Uint16
product2 ->
\Ptr Uint16
version3 ->
\Ptr Uint16
crc164 ->
SDL_GUID -> (Ptr SDL_GUID -> IO ()) -> IO ()
forall a b. Storable a => a -> (Ptr a -> IO b) -> IO b
BG.with
SDL_GUID
guid0
( \Ptr SDL_GUID
guid5 ->
Ptr SDL_GUID
-> Ptr Uint16 -> Ptr Uint16 -> Ptr Uint16 -> Ptr Uint16 -> IO ()
hs_bindgen_ac4457e1668303cb Ptr SDL_GUID
guid5 Ptr Uint16
vendor1 Ptr Uint16
product2 Ptr Uint16
version3 Ptr Uint16
crc164
)
foreign import ccall safe "hs_bindgen_fd1547f6643cd55d"
hs_bindgen_fd1547f6643cd55d_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_fd1547f6643cd55d
:: BG.Ptr SDL_Joystick
-> IO BG.CBool
hs_bindgen_fd1547f6643cd55d :: Ptr SDL_Joystick -> IO CBool
hs_bindgen_fd1547f6643cd55d =
\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_fd1547f6643cd55d_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_JoystickConnected
:: BG.Ptr SDL_Joystick
-> IO BG.CBool
sDL_JoystickConnected :: Ptr SDL_Joystick -> IO CBool
sDL_JoystickConnected = Ptr SDL_Joystick -> IO CBool
hs_bindgen_fd1547f6643cd55d
foreign import ccall safe "hs_bindgen_e792f601776227ad"
hs_bindgen_e792f601776227ad_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_e792f601776227ad
:: BG.Ptr SDL_Joystick
-> IO SDL_JoystickID
hs_bindgen_e792f601776227ad :: Ptr SDL_Joystick -> IO SDL_JoystickID
hs_bindgen_e792f601776227ad =
\Ptr SDL_Joystick
x0 ->
(Word32 -> SDL_JoystickID) -> IO Word32 -> IO SDL_JoystickID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_JoystickID
FFIType SDL_JoystickID -> SDL_JoystickID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_e792f601776227ad_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickID
:: BG.Ptr SDL_Joystick
-> IO SDL_JoystickID
sDL_GetJoystickID :: Ptr SDL_Joystick -> IO SDL_JoystickID
sDL_GetJoystickID = Ptr SDL_Joystick -> IO SDL_JoystickID
hs_bindgen_e792f601776227ad
foreign import ccall safe "hs_bindgen_eb5cf1b5a80cb490"
hs_bindgen_eb5cf1b5a80cb490_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_eb5cf1b5a80cb490
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_eb5cf1b5a80cb490 :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_eb5cf1b5a80cb490 =
\Ptr SDL_Joystick
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_eb5cf1b5a80cb490_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetNumJoystickAxes
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
sDL_GetNumJoystickAxes :: Ptr SDL_Joystick -> IO CInt
sDL_GetNumJoystickAxes = Ptr SDL_Joystick -> IO CInt
hs_bindgen_eb5cf1b5a80cb490
foreign import ccall safe "hs_bindgen_e856e95bf561b58f"
hs_bindgen_e856e95bf561b58f_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_e856e95bf561b58f
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_e856e95bf561b58f :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_e856e95bf561b58f =
\Ptr SDL_Joystick
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_e856e95bf561b58f_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetNumJoystickBalls
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
sDL_GetNumJoystickBalls :: Ptr SDL_Joystick -> IO CInt
sDL_GetNumJoystickBalls = Ptr SDL_Joystick -> IO CInt
hs_bindgen_e856e95bf561b58f
foreign import ccall safe "hs_bindgen_14f7806c41b802cb"
hs_bindgen_14f7806c41b802cb_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_14f7806c41b802cb
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_14f7806c41b802cb :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_14f7806c41b802cb =
\Ptr SDL_Joystick
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_14f7806c41b802cb_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetNumJoystickHats
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
sDL_GetNumJoystickHats :: Ptr SDL_Joystick -> IO CInt
sDL_GetNumJoystickHats = Ptr SDL_Joystick -> IO CInt
hs_bindgen_14f7806c41b802cb
foreign import ccall safe "hs_bindgen_737397e3a398beb9"
hs_bindgen_737397e3a398beb9_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_737397e3a398beb9
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_737397e3a398beb9 :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_737397e3a398beb9 =
\Ptr SDL_Joystick
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_737397e3a398beb9_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetNumJoystickButtons
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
sDL_GetNumJoystickButtons :: Ptr SDL_Joystick -> IO CInt
sDL_GetNumJoystickButtons =
Ptr SDL_Joystick -> IO CInt
hs_bindgen_737397e3a398beb9
foreign import ccall safe "hs_bindgen_ed51a1754ff9d6c7"
hs_bindgen_ed51a1754ff9d6c7_base
:: BG.CBool
-> IO ()
hs_bindgen_ed51a1754ff9d6c7
:: BG.CBool
-> IO ()
hs_bindgen_ed51a1754ff9d6c7 :: CBool -> IO ()
hs_bindgen_ed51a1754ff9d6c7 =
\CBool
x0 ->
CBool -> IO ()
hs_bindgen_ed51a1754ff9d6c7_base (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x0)
sDL_SetJoystickEventsEnabled
:: BG.CBool
-> IO ()
sDL_SetJoystickEventsEnabled :: CBool -> IO ()
sDL_SetJoystickEventsEnabled =
CBool -> IO ()
hs_bindgen_ed51a1754ff9d6c7
foreign import ccall safe "hs_bindgen_86ece04390ea5953"
hs_bindgen_86ece04390ea5953_base
:: IO BG.CBool
hs_bindgen_86ece04390ea5953 :: IO BG.CBool
hs_bindgen_86ece04390ea5953 :: IO CBool
hs_bindgen_86ece04390ea5953 =
(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_86ece04390ea5953_base
sDL_JoystickEventsEnabled :: IO BG.CBool
sDL_JoystickEventsEnabled :: IO CBool
sDL_JoystickEventsEnabled =
IO CBool
hs_bindgen_86ece04390ea5953
foreign import ccall safe "hs_bindgen_277bf35db967cb76"
hs_bindgen_277bf35db967cb76_base
:: IO ()
hs_bindgen_277bf35db967cb76 :: IO ()
hs_bindgen_277bf35db967cb76 :: IO ()
hs_bindgen_277bf35db967cb76 =
IO ()
hs_bindgen_277bf35db967cb76_base
sDL_UpdateJoysticks :: IO ()
sDL_UpdateJoysticks :: IO ()
sDL_UpdateJoysticks = IO ()
hs_bindgen_277bf35db967cb76
foreign import ccall safe "hs_bindgen_5ffa383d290b6a82"
hs_bindgen_5ffa383d290b6a82_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO HsBindgen.Runtime.LibC.Int16
hs_bindgen_5ffa383d290b6a82
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO SDL3.Sys.Bindgen.Stdinc.Sint16
hs_bindgen_5ffa383d290b6a82 :: Ptr SDL_Joystick -> CInt -> IO Sint16
hs_bindgen_5ffa383d290b6a82 =
\Ptr SDL_Joystick
x0 ->
\CInt
x1 ->
(Int16 -> Sint16) -> IO Int16 -> IO Sint16
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Int16 -> Sint16
FFIType Sint16 -> Sint16
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CInt -> IO Int16
hs_bindgen_5ffa383d290b6a82_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1))
sDL_GetJoystickAxis
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO SDL3.Sys.Bindgen.Stdinc.Sint16
sDL_GetJoystickAxis :: Ptr SDL_Joystick -> CInt -> IO Sint16
sDL_GetJoystickAxis = Ptr SDL_Joystick -> CInt -> IO Sint16
hs_bindgen_5ffa383d290b6a82
foreign import ccall safe "hs_bindgen_427de097dfec8d31"
hs_bindgen_427de097dfec8d31_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_427de097dfec8d31
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_427de097dfec8d31 :: Ptr SDL_Joystick -> CInt -> Ptr Sint16 -> IO CBool
hs_bindgen_427de097dfec8d31 =
\Ptr SDL_Joystick
x0 ->
\CInt
x1 ->
\Ptr Sint16
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_427de097dfec8d31_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1) (Ptr Sint16 -> FFIType (Ptr Sint16)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Sint16
x2))
sDL_GetJoystickAxisInitialState
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
sDL_GetJoystickAxisInitialState :: Ptr SDL_Joystick -> CInt -> Ptr Sint16 -> IO CBool
sDL_GetJoystickAxisInitialState =
Ptr SDL_Joystick -> CInt -> Ptr Sint16 -> IO CBool
hs_bindgen_427de097dfec8d31
foreign import ccall safe "hs_bindgen_aee21b71d3004e03"
hs_bindgen_aee21b71d3004e03_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_aee21b71d3004e03
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.Ptr BG.CInt
-> BG.Ptr BG.CInt
-> IO BG.CBool
hs_bindgen_aee21b71d3004e03 :: Ptr SDL_Joystick -> CInt -> Ptr CInt -> Ptr CInt -> IO CBool
hs_bindgen_aee21b71d3004e03 =
\Ptr SDL_Joystick
x0 ->
\CInt
x1 ->
\Ptr CInt
x2 ->
\Ptr CInt
x3 ->
(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 -> Ptr Void -> IO CBool
hs_bindgen_aee21b71d3004e03_base
(Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x2)
(Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x3)
)
sDL_GetJoystickBall
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.Ptr BG.CInt
-> BG.Ptr BG.CInt
-> IO BG.CBool
sDL_GetJoystickBall :: Ptr SDL_Joystick -> CInt -> Ptr CInt -> Ptr CInt -> IO CBool
sDL_GetJoystickBall = Ptr SDL_Joystick -> CInt -> Ptr CInt -> Ptr CInt -> IO CBool
hs_bindgen_aee21b71d3004e03
foreign import ccall safe "hs_bindgen_03a81f7b52479c1f"
hs_bindgen_03a81f7b52479c1f_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO HsBindgen.Runtime.LibC.Word8
hs_bindgen_03a81f7b52479c1f
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO SDL3.Sys.Bindgen.Stdinc.Uint8
hs_bindgen_03a81f7b52479c1f :: Ptr SDL_Joystick -> CInt -> IO Uint8
hs_bindgen_03a81f7b52479c1f =
\Ptr SDL_Joystick
x0 ->
\CInt
x1 ->
(Word8 -> Uint8) -> IO Word8 -> IO Uint8
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word8 -> Uint8
FFIType Uint8 -> Uint8
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CInt -> IO Word8
hs_bindgen_03a81f7b52479c1f_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1))
sDL_GetJoystickHat
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO SDL3.Sys.Bindgen.Stdinc.Uint8
sDL_GetJoystickHat :: Ptr SDL_Joystick -> CInt -> IO Uint8
sDL_GetJoystickHat = Ptr SDL_Joystick -> CInt -> IO Uint8
hs_bindgen_03a81f7b52479c1f
foreign import ccall safe "hs_bindgen_066ace0739b36572"
hs_bindgen_066ace0739b36572_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_066ace0739b36572
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO BG.CBool
hs_bindgen_066ace0739b36572 :: Ptr SDL_Joystick -> CInt -> IO CBool
hs_bindgen_066ace0739b36572 =
\Ptr SDL_Joystick
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_066ace0739b36572_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1))
sDL_GetJoystickButton
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO BG.CBool
sDL_GetJoystickButton :: Ptr SDL_Joystick -> CInt -> IO CBool
sDL_GetJoystickButton = Ptr SDL_Joystick -> CInt -> IO CBool
hs_bindgen_066ace0739b36572
foreign import ccall safe "hs_bindgen_7e8a72caa95f2c2b"
hs_bindgen_7e8a72caa95f2c2b_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_7e8a72caa95f2c2b
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_7e8a72caa95f2c2b :: Ptr SDL_Joystick -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_7e8a72caa95f2c2b =
\Ptr SDL_Joystick
x0 ->
\Uint16
x1 ->
\Uint16
x2 ->
\Uint32
x3 ->
(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 -> Word16 -> Word16 -> Word32 -> IO CBool
hs_bindgen_7e8a72caa95f2c2b_base
(Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0)
(Uint16 -> FFIType Uint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint16
x1)
(Uint16 -> FFIType Uint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint16
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
)
sDL_RumbleJoystick
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_RumbleJoystick :: Ptr SDL_Joystick -> Uint16 -> Uint16 -> Uint32 -> IO CBool
sDL_RumbleJoystick = Ptr SDL_Joystick -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_7e8a72caa95f2c2b
foreign import ccall safe "hs_bindgen_301092a71603b81a"
hs_bindgen_301092a71603b81a_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_301092a71603b81a
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_301092a71603b81a :: Ptr SDL_Joystick -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_301092a71603b81a =
\Ptr SDL_Joystick
x0 ->
\Uint16
x1 ->
\Uint16
x2 ->
\Uint32
x3 ->
(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 -> Word16 -> Word16 -> Word32 -> IO CBool
hs_bindgen_301092a71603b81a_base
(Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0)
(Uint16 -> FFIType Uint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint16
x1)
(Uint16 -> FFIType Uint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint16
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
)
sDL_RumbleJoystickTriggers
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_RumbleJoystickTriggers :: Ptr SDL_Joystick -> Uint16 -> Uint16 -> Uint32 -> IO CBool
sDL_RumbleJoystickTriggers =
Ptr SDL_Joystick -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_301092a71603b81a
foreign import ccall safe "hs_bindgen_8b94c1cbb487385b"
hs_bindgen_8b94c1cbb487385b_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_8b94c1cbb487385b
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_8b94c1cbb487385b :: Ptr SDL_Joystick -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_8b94c1cbb487385b =
\Ptr SDL_Joystick
x0 ->
\Uint8
x1 ->
\Uint8
x2 ->
\Uint8
x3 ->
(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 -> Word8 -> Word8 -> Word8 -> IO CBool
hs_bindgen_8b94c1cbb487385b_base
(Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x1)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x2)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x3)
)
sDL_SetJoystickLED
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_SetJoystickLED :: Ptr SDL_Joystick -> Uint8 -> Uint8 -> Uint8 -> IO CBool
sDL_SetJoystickLED = Ptr SDL_Joystick -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_8b94c1cbb487385b
foreign import ccall safe "hs_bindgen_f7e59a6e5bb608fe"
hs_bindgen_f7e59a6e5bb608fe_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_f7e59a6e5bb608fe
:: BG.Ptr SDL_Joystick
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_f7e59a6e5bb608fe :: Ptr SDL_Joystick -> PtrConst Void -> CInt -> IO CBool
hs_bindgen_f7e59a6e5bb608fe =
\Ptr SDL_Joystick
x0 ->
\PtrConst Void
x1 ->
\CInt
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 -> Ptr Void -> CInt -> IO CBool
hs_bindgen_f7e59a6e5bb608fe_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x1) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2))
sDL_SendJoystickEffect
:: BG.Ptr SDL_Joystick
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> IO BG.CBool
sDL_SendJoystickEffect :: Ptr SDL_Joystick -> PtrConst Void -> CInt -> IO CBool
sDL_SendJoystickEffect = Ptr SDL_Joystick -> PtrConst Void -> CInt -> IO CBool
hs_bindgen_f7e59a6e5bb608fe
foreign import ccall safe "hs_bindgen_ea0c624f184dccba"
hs_bindgen_ea0c624f184dccba_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_ea0c624f184dccba
:: BG.Ptr SDL_Joystick
-> IO ()
hs_bindgen_ea0c624f184dccba :: Ptr SDL_Joystick -> IO ()
hs_bindgen_ea0c624f184dccba =
\Ptr SDL_Joystick
x0 ->
Ptr Void -> IO ()
hs_bindgen_ea0c624f184dccba_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0)
sDL_CloseJoystick
:: BG.Ptr SDL_Joystick
-> IO ()
sDL_CloseJoystick :: Ptr SDL_Joystick -> IO ()
sDL_CloseJoystick = Ptr SDL_Joystick -> IO ()
hs_bindgen_ea0c624f184dccba
foreign import ccall safe "hs_bindgen_08992afe945eb606"
hs_bindgen_08992afe945eb606_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_08992afe945eb606
:: BG.Ptr SDL_Joystick
-> IO SDL_JoystickConnectionState
hs_bindgen_08992afe945eb606 :: Ptr SDL_Joystick -> IO SDL_JoystickConnectionState
hs_bindgen_08992afe945eb606 =
\Ptr SDL_Joystick
x0 ->
(CInt -> SDL_JoystickConnectionState)
-> IO CInt -> IO SDL_JoystickConnectionState
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> SDL_JoystickConnectionState
FFIType SDL_JoystickConnectionState -> SDL_JoystickConnectionState
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CInt
hs_bindgen_08992afe945eb606_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0))
sDL_GetJoystickConnectionState
:: BG.Ptr SDL_Joystick
-> IO SDL_JoystickConnectionState
sDL_GetJoystickConnectionState :: Ptr SDL_Joystick -> IO SDL_JoystickConnectionState
sDL_GetJoystickConnectionState =
Ptr SDL_Joystick -> IO SDL_JoystickConnectionState
hs_bindgen_08992afe945eb606
foreign import ccall safe "hs_bindgen_8bfbd5889037e579"
hs_bindgen_8bfbd5889037e579_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CInt
hs_bindgen_8bfbd5889037e579
:: BG.Ptr SDL_Joystick
-> BG.Ptr BG.CInt
-> IO SDL3.Sys.Bindgen.Power.SDL_PowerState
hs_bindgen_8bfbd5889037e579 :: Ptr SDL_Joystick -> Ptr CInt -> IO SDL_PowerState
hs_bindgen_8bfbd5889037e579 =
\Ptr SDL_Joystick
x0 ->
\Ptr CInt
x1 ->
(CInt -> SDL_PowerState) -> IO CInt -> IO SDL_PowerState
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> SDL_PowerState
FFIType SDL_PowerState -> SDL_PowerState
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CInt
hs_bindgen_8bfbd5889037e579_base (Ptr SDL_Joystick -> FFIType (Ptr SDL_Joystick)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Joystick
x0) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1))
sDL_GetJoystickPowerInfo
:: BG.Ptr SDL_Joystick
-> BG.Ptr BG.CInt
-> IO SDL3.Sys.Bindgen.Power.SDL_PowerState
sDL_GetJoystickPowerInfo :: Ptr SDL_Joystick -> Ptr CInt -> IO SDL_PowerState
sDL_GetJoystickPowerInfo =
Ptr SDL_Joystick -> Ptr CInt -> IO SDL_PowerState
hs_bindgen_8bfbd5889037e579