{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Joystick.Unsafe (
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_LockJoysticks,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_UnlockJoysticks,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_HasJoystick,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoysticks,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickNameForID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickPathForID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickPlayerIndexForID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickGUIDForID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickVendorForID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickProductForID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickProductVersionForID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickTypeForID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_OpenJoystick,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickFromID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickFromPlayerIndex,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_AttachVirtualJoystick,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_DetachVirtualJoystick,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_IsJoystickVirtual,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SetJoystickVirtualAxis,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SetJoystickVirtualBall,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SetJoystickVirtualButton,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SetJoystickVirtualHat,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SetJoystickVirtualTouchpad,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SendJoystickVirtualSensorData,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickProperties,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickName,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickPath,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickPlayerIndex,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SetJoystickPlayerIndex,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickGUID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickVendor,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickProduct,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickProductVersion,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickFirmwareVersion,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickSerial,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickType,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickGUIDInfo,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_JoystickConnected,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickID,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetNumJoystickAxes,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetNumJoystickBalls,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetNumJoystickHats,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetNumJoystickButtons,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SetJoystickEventsEnabled,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_JoystickEventsEnabled,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_UpdateJoysticks,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickAxis,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickAxisInitialState,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickBall,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickHat,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickButton,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_RumbleJoystick,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_RumbleJoystickTriggers,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SetJoystickLED,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_SendJoystickEffect,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_CloseJoystick,
SDL3.Sys.Bindgen.Joystick.Unsafe.sDL_GetJoystickConnectionState,
SDL3.Sys.Bindgen.Joystick.Unsafe.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_a5f9679bb55a9be2 (void)"
, "{"
, " (SDL_LockJoysticks)();"
, "}"
, "void hs_bindgen_4fb7bf5674b81cd5 (void)"
, "{"
, " (SDL_UnlockJoysticks)();"
, "}"
, "_Bool hs_bindgen_6974c5058c398636 (void)"
, "{"
, " return (SDL_HasJoystick)();"
, "}"
, "SDL_JoystickID *hs_bindgen_52b14e92fdb53649 ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetJoysticks)(arg1);"
, "}"
, "char const *hs_bindgen_7e75165c0d2f9d72 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickNameForID)(arg1);"
, "}"
, "char const *hs_bindgen_2161a8b12229ac30 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickPathForID)(arg1);"
, "}"
, "signed int hs_bindgen_386a2da9898f9057 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickPlayerIndexForID)(arg1);"
, "}"
, "void hs_bindgen_bfb7bb52d70dab96 ("
, " SDL_JoystickID arg1,"
, " SDL_GUID *arg2"
, ")"
, "{"
, " *arg2 = (SDL_GetJoystickGUIDForID)(arg1);"
, "}"
, "Uint16 hs_bindgen_43fce2fd8176f766 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickVendorForID)(arg1);"
, "}"
, "Uint16 hs_bindgen_942a59625bde2720 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProductForID)(arg1);"
, "}"
, "Uint16 hs_bindgen_c4f2f0cc80e64773 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProductVersionForID)(arg1);"
, "}"
, "SDL_JoystickType hs_bindgen_d95cbbc03c3eccf3 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickTypeForID)(arg1);"
, "}"
, "SDL_Joystick *hs_bindgen_96b31a30b26b761d ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_OpenJoystick)(arg1);"
, "}"
, "SDL_Joystick *hs_bindgen_79e317a6737caef2 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetJoystickFromID)(arg1);"
, "}"
, "SDL_Joystick *hs_bindgen_533baada064a0d12 ("
, " signed int arg1"
, ")"
, "{"
, " return (SDL_GetJoystickFromPlayerIndex)(arg1);"
, "}"
, "SDL_JoystickID hs_bindgen_f778cfec8f93ba4b ("
, " SDL_VirtualJoystickDesc const *arg1"
, ")"
, "{"
, " return (SDL_AttachVirtualJoystick)(arg1);"
, "}"
, "_Bool hs_bindgen_b1026bd68d5bfd9e ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_DetachVirtualJoystick)(arg1);"
, "}"
, "_Bool hs_bindgen_d1c274bbe874b100 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_IsJoystickVirtual)(arg1);"
, "}"
, "_Bool hs_bindgen_8eb5e45ef7f888cc ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " Sint16 arg3"
, ")"
, "{"
, " return (SDL_SetJoystickVirtualAxis)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_2e47467a34561f41 ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " Sint16 arg3,"
, " Sint16 arg4"
, ")"
, "{"
, " return (SDL_SetJoystickVirtualBall)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_d61b8aa1cc7bcea2 ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_SetJoystickVirtualButton)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_9e983d431a7b8fe6 ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " Uint8 arg3"
, ")"
, "{"
, " return (SDL_SetJoystickVirtualHat)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_5bb42b2517c1eb69 ("
, " 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_3d0650aed2d406ec ("
, " 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_7b418051f3497220 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProperties)(arg1);"
, "}"
, "char const *hs_bindgen_efa173428595a9f5 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickName)(arg1);"
, "}"
, "char const *hs_bindgen_1b1b5dcb365287fd ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickPath)(arg1);"
, "}"
, "signed int hs_bindgen_55ef8dfcc4d84345 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickPlayerIndex)(arg1);"
, "}"
, "_Bool hs_bindgen_5e98a74b28f72b8e ("
, " SDL_Joystick *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_SetJoystickPlayerIndex)(arg1, arg2);"
, "}"
, "void hs_bindgen_e5b4be9fcfc28bc3 ("
, " SDL_Joystick *arg1,"
, " SDL_GUID *arg2"
, ")"
, "{"
, " *arg2 = (SDL_GetJoystickGUID)(arg1);"
, "}"
, "Uint16 hs_bindgen_62c6fda961bf2fa9 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickVendor)(arg1);"
, "}"
, "Uint16 hs_bindgen_d7e0f0c36e50f0e2 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProduct)(arg1);"
, "}"
, "Uint16 hs_bindgen_4d80e87af7618ebc ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickProductVersion)(arg1);"
, "}"
, "Uint16 hs_bindgen_29a99ec3dcd0fa98 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickFirmwareVersion)(arg1);"
, "}"
, "char const *hs_bindgen_a4795a75ac263066 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickSerial)(arg1);"
, "}"
, "SDL_JoystickType hs_bindgen_76843a2261bd1972 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickType)(arg1);"
, "}"
, "void hs_bindgen_436078b1ecf22b0d ("
, " SDL_GUID *arg1,"
, " Uint16 *arg2,"
, " Uint16 *arg3,"
, " Uint16 *arg4,"
, " Uint16 *arg5"
, ")"
, "{"
, " (SDL_GetJoystickGUIDInfo)(*arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_0241ed6d6117fa6f ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_JoystickConnected)(arg1);"
, "}"
, "SDL_JoystickID hs_bindgen_ca7a1f2ac4ecb56d ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickID)(arg1);"
, "}"
, "signed int hs_bindgen_1510ba234e23c104 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetNumJoystickAxes)(arg1);"
, "}"
, "signed int hs_bindgen_69d452e9cc046adb ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetNumJoystickBalls)(arg1);"
, "}"
, "signed int hs_bindgen_cc24966a772d0240 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetNumJoystickHats)(arg1);"
, "}"
, "signed int hs_bindgen_aeac535e5fa443a0 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetNumJoystickButtons)(arg1);"
, "}"
, "void hs_bindgen_4ca6ee37a9e122b5 ("
, " _Bool arg1"
, ")"
, "{"
, " (SDL_SetJoystickEventsEnabled)(arg1);"
, "}"
, "_Bool hs_bindgen_fd430a3c399eb18b (void)"
, "{"
, " return (SDL_JoystickEventsEnabled)();"
, "}"
, "void hs_bindgen_2766ee6323a0f722 (void)"
, "{"
, " (SDL_UpdateJoysticks)();"
, "}"
, "Sint16 hs_bindgen_c16201bd08e902dc ("
, " SDL_Joystick *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_GetJoystickAxis)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_803984b597c873b4 ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " Sint16 *arg3"
, ")"
, "{"
, " return (SDL_GetJoystickAxisInitialState)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_f564c6f917207491 ("
, " SDL_Joystick *arg1,"
, " signed int arg2,"
, " signed int *arg3,"
, " signed int *arg4"
, ")"
, "{"
, " return (SDL_GetJoystickBall)(arg1, arg2, arg3, arg4);"
, "}"
, "Uint8 hs_bindgen_bdb3e1a3519b04dc ("
, " SDL_Joystick *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_GetJoystickHat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_c3fe9ce78b1fb4e4 ("
, " SDL_Joystick *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_GetJoystickButton)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_83d21d7ab5b5f640 ("
, " SDL_Joystick *arg1,"
, " Uint16 arg2,"
, " Uint16 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_RumbleJoystick)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_b273e29ac9df2371 ("
, " SDL_Joystick *arg1,"
, " Uint16 arg2,"
, " Uint16 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_RumbleJoystickTriggers)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_afcd4a7ee63caeb4 ("
, " SDL_Joystick *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4"
, ")"
, "{"
, " return (SDL_SetJoystickLED)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_6b3ca271f1d12b4d ("
, " SDL_Joystick *arg1,"
, " void const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_SendJoystickEffect)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_24a578a58e09e216 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " (SDL_CloseJoystick)(arg1);"
, "}"
, "SDL_JoystickConnectionState hs_bindgen_d6589b95cb209778 ("
, " SDL_Joystick *arg1"
, ")"
, "{"
, " return (SDL_GetJoystickConnectionState)(arg1);"
, "}"
, "SDL_PowerState hs_bindgen_eb82ac709209a25a ("
, " SDL_Joystick *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetJoystickPowerInfo)(arg1, arg2);"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_a5f9679bb55a9be2"
hs_bindgen_a5f9679bb55a9be2_base
:: IO ()
hs_bindgen_a5f9679bb55a9be2 :: IO ()
hs_bindgen_a5f9679bb55a9be2 :: IO ()
hs_bindgen_a5f9679bb55a9be2 =
IO ()
hs_bindgen_a5f9679bb55a9be2_base
sDL_LockJoysticks :: IO ()
sDL_LockJoysticks :: IO ()
sDL_LockJoysticks = IO ()
hs_bindgen_a5f9679bb55a9be2
foreign import ccall unsafe "hs_bindgen_4fb7bf5674b81cd5"
hs_bindgen_4fb7bf5674b81cd5_base
:: IO ()
hs_bindgen_4fb7bf5674b81cd5 :: IO ()
hs_bindgen_4fb7bf5674b81cd5 :: IO ()
hs_bindgen_4fb7bf5674b81cd5 =
IO ()
hs_bindgen_4fb7bf5674b81cd5_base
sDL_UnlockJoysticks :: IO ()
sDL_UnlockJoysticks :: IO ()
sDL_UnlockJoysticks = IO ()
hs_bindgen_4fb7bf5674b81cd5
foreign import ccall unsafe "hs_bindgen_6974c5058c398636"
hs_bindgen_6974c5058c398636_base
:: IO BG.CBool
hs_bindgen_6974c5058c398636 :: IO BG.CBool
hs_bindgen_6974c5058c398636 :: IO CBool
hs_bindgen_6974c5058c398636 =
(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_6974c5058c398636_base
sDL_HasJoystick :: IO BG.CBool
sDL_HasJoystick :: IO CBool
sDL_HasJoystick = IO CBool
hs_bindgen_6974c5058c398636
foreign import ccall unsafe "hs_bindgen_52b14e92fdb53649"
hs_bindgen_52b14e92fdb53649_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_52b14e92fdb53649
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_JoystickID)
hs_bindgen_52b14e92fdb53649 :: Ptr CInt -> IO (Ptr SDL_JoystickID)
hs_bindgen_52b14e92fdb53649 =
\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_52b14e92fdb53649_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_52b14e92fdb53649
foreign import ccall unsafe "hs_bindgen_7e75165c0d2f9d72"
hs_bindgen_7e75165c0d2f9d72_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_7e75165c0d2f9d72
:: SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_7e75165c0d2f9d72 :: SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_7e75165c0d2f9d72 =
\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_7e75165c0d2f9d72_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_7e75165c0d2f9d72
foreign import ccall unsafe "hs_bindgen_2161a8b12229ac30"
hs_bindgen_2161a8b12229ac30_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_2161a8b12229ac30
:: SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_2161a8b12229ac30 :: SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_2161a8b12229ac30 =
\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_2161a8b12229ac30_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_2161a8b12229ac30
foreign import ccall unsafe "hs_bindgen_386a2da9898f9057"
hs_bindgen_386a2da9898f9057_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CInt
hs_bindgen_386a2da9898f9057
:: SDL_JoystickID
-> IO BG.CInt
hs_bindgen_386a2da9898f9057 :: SDL_JoystickID -> IO CInt
hs_bindgen_386a2da9898f9057 =
\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_386a2da9898f9057_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_386a2da9898f9057
foreign import ccall unsafe "hs_bindgen_bfb7bb52d70dab96"
hs_bindgen_bfb7bb52d70dab96_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_bfb7bb52d70dab96
:: SDL_JoystickID
-> BG.Ptr SDL3.Sys.Bindgen.Guid.SDL_GUID
-> IO ()
hs_bindgen_bfb7bb52d70dab96 :: SDL_JoystickID -> Ptr SDL_GUID -> IO ()
hs_bindgen_bfb7bb52d70dab96 =
\SDL_JoystickID
x0 ->
\Ptr SDL_GUID
x1 ->
Word32 -> Ptr Void -> IO ()
hs_bindgen_bfb7bb52d70dab96_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_bfb7bb52d70dab96 SDL_JoystickID
instance_id0 Ptr SDL_GUID
res1
)
foreign import ccall unsafe "hs_bindgen_43fce2fd8176f766"
hs_bindgen_43fce2fd8176f766_base
:: HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_43fce2fd8176f766
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_43fce2fd8176f766 :: SDL_JoystickID -> IO Uint16
hs_bindgen_43fce2fd8176f766 =
\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_43fce2fd8176f766_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_43fce2fd8176f766
foreign import ccall unsafe "hs_bindgen_942a59625bde2720"
hs_bindgen_942a59625bde2720_base
:: HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_942a59625bde2720
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_942a59625bde2720 :: SDL_JoystickID -> IO Uint16
hs_bindgen_942a59625bde2720 =
\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_942a59625bde2720_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_942a59625bde2720
foreign import ccall unsafe "hs_bindgen_c4f2f0cc80e64773"
hs_bindgen_c4f2f0cc80e64773_base
:: HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_c4f2f0cc80e64773
:: SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_c4f2f0cc80e64773 :: SDL_JoystickID -> IO Uint16
hs_bindgen_c4f2f0cc80e64773 =
\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_c4f2f0cc80e64773_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_c4f2f0cc80e64773
foreign import ccall unsafe "hs_bindgen_d95cbbc03c3eccf3"
hs_bindgen_d95cbbc03c3eccf3_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CUInt
hs_bindgen_d95cbbc03c3eccf3
:: SDL_JoystickID
-> IO SDL_JoystickType
hs_bindgen_d95cbbc03c3eccf3 :: SDL_JoystickID -> IO SDL_JoystickType
hs_bindgen_d95cbbc03c3eccf3 =
\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_d95cbbc03c3eccf3_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_d95cbbc03c3eccf3
foreign import ccall unsafe "hs_bindgen_96b31a30b26b761d"
hs_bindgen_96b31a30b26b761d_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_96b31a30b26b761d
:: SDL_JoystickID
-> IO (BG.Ptr SDL_Joystick)
hs_bindgen_96b31a30b26b761d :: SDL_JoystickID -> IO (Ptr SDL_Joystick)
hs_bindgen_96b31a30b26b761d =
\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_96b31a30b26b761d_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_96b31a30b26b761d
foreign import ccall unsafe "hs_bindgen_79e317a6737caef2"
hs_bindgen_79e317a6737caef2_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_79e317a6737caef2
:: SDL_JoystickID
-> IO (BG.Ptr SDL_Joystick)
hs_bindgen_79e317a6737caef2 :: SDL_JoystickID -> IO (Ptr SDL_Joystick)
hs_bindgen_79e317a6737caef2 =
\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_79e317a6737caef2_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_79e317a6737caef2
foreign import ccall unsafe "hs_bindgen_533baada064a0d12"
hs_bindgen_533baada064a0d12_base
:: BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_533baada064a0d12
:: BG.CInt
-> IO (BG.Ptr SDL_Joystick)
hs_bindgen_533baada064a0d12 :: CInt -> IO (Ptr SDL_Joystick)
hs_bindgen_533baada064a0d12 =
\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_533baada064a0d12_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_533baada064a0d12
foreign import ccall unsafe "hs_bindgen_f778cfec8f93ba4b"
hs_bindgen_f778cfec8f93ba4b_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_f778cfec8f93ba4b
:: PtrConst.PtrConst SDL_VirtualJoystickDesc
-> IO SDL_JoystickID
hs_bindgen_f778cfec8f93ba4b :: PtrConst SDL_VirtualJoystickDesc -> IO SDL_JoystickID
hs_bindgen_f778cfec8f93ba4b =
\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_f778cfec8f93ba4b_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_f778cfec8f93ba4b
foreign import ccall unsafe "hs_bindgen_b1026bd68d5bfd9e"
hs_bindgen_b1026bd68d5bfd9e_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_b1026bd68d5bfd9e
:: SDL_JoystickID
-> IO BG.CBool
hs_bindgen_b1026bd68d5bfd9e :: SDL_JoystickID -> IO CBool
hs_bindgen_b1026bd68d5bfd9e =
\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_b1026bd68d5bfd9e_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_b1026bd68d5bfd9e
foreign import ccall unsafe "hs_bindgen_d1c274bbe874b100"
hs_bindgen_d1c274bbe874b100_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_d1c274bbe874b100
:: SDL_JoystickID
-> IO BG.CBool
hs_bindgen_d1c274bbe874b100 :: SDL_JoystickID -> IO CBool
hs_bindgen_d1c274bbe874b100 =
\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_d1c274bbe874b100_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_d1c274bbe874b100
foreign import ccall unsafe "hs_bindgen_8eb5e45ef7f888cc"
hs_bindgen_8eb5e45ef7f888cc_base
:: BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Int16
-> IO BG.CBool
hs_bindgen_8eb5e45ef7f888cc
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_8eb5e45ef7f888cc :: Ptr SDL_Joystick -> CInt -> Sint16 -> IO CBool
hs_bindgen_8eb5e45ef7f888cc =
\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_8eb5e45ef7f888cc_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_8eb5e45ef7f888cc
foreign import ccall unsafe "hs_bindgen_2e47467a34561f41"
hs_bindgen_2e47467a34561f41_base
:: BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Int16
-> HsBindgen.Runtime.LibC.Int16
-> IO BG.CBool
hs_bindgen_2e47467a34561f41
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_2e47467a34561f41 :: Ptr SDL_Joystick -> CInt -> Sint16 -> Sint16 -> IO CBool
hs_bindgen_2e47467a34561f41 =
\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_2e47467a34561f41_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_2e47467a34561f41
foreign import ccall unsafe "hs_bindgen_d61b8aa1cc7bcea2"
hs_bindgen_d61b8aa1cc7bcea2_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CBool
-> IO BG.CBool
hs_bindgen_d61b8aa1cc7bcea2
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.CBool
-> IO BG.CBool
hs_bindgen_d61b8aa1cc7bcea2 :: Ptr SDL_Joystick -> CInt -> CBool -> IO CBool
hs_bindgen_d61b8aa1cc7bcea2 =
\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_d61b8aa1cc7bcea2_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_d61b8aa1cc7bcea2
foreign import ccall unsafe "hs_bindgen_9e983d431a7b8fe6"
hs_bindgen_9e983d431a7b8fe6_base
:: BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_9e983d431a7b8fe6
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_9e983d431a7b8fe6 :: Ptr SDL_Joystick -> CInt -> Uint8 -> IO CBool
hs_bindgen_9e983d431a7b8fe6 =
\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_9e983d431a7b8fe6_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_9e983d431a7b8fe6
foreign import ccall unsafe "hs_bindgen_5bb42b2517c1eb69"
hs_bindgen_5bb42b2517c1eb69_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.CBool
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_5bb42b2517c1eb69
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.CInt
-> BG.CBool
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_5bb42b2517c1eb69 :: Ptr SDL_Joystick
-> CInt -> CInt -> CBool -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_5bb42b2517c1eb69 =
\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_5bb42b2517c1eb69_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_5bb42b2517c1eb69
foreign import ccall unsafe "hs_bindgen_3d0650aed2d406ec"
hs_bindgen_3d0650aed2d406ec_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CInt
-> HsBindgen.Runtime.LibC.Word64
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_3d0650aed2d406ec
:: 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_3d0650aed2d406ec :: Ptr SDL_Joystick
-> SDL_SensorType -> Uint64 -> PtrConst CFloat -> CInt -> IO CBool
hs_bindgen_3d0650aed2d406ec =
\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_3d0650aed2d406ec_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_3d0650aed2d406ec
foreign import ccall unsafe "hs_bindgen_7b418051f3497220"
hs_bindgen_7b418051f3497220_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_7b418051f3497220
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_7b418051f3497220 :: Ptr SDL_Joystick -> IO SDL_PropertiesID
hs_bindgen_7b418051f3497220 =
\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_7b418051f3497220_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_7b418051f3497220
foreign import ccall unsafe "hs_bindgen_efa173428595a9f5"
hs_bindgen_efa173428595a9f5_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_efa173428595a9f5
:: BG.Ptr SDL_Joystick
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_efa173428595a9f5 :: Ptr SDL_Joystick -> IO (PtrConst CChar)
hs_bindgen_efa173428595a9f5 =
\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_efa173428595a9f5_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_efa173428595a9f5
foreign import ccall unsafe "hs_bindgen_1b1b5dcb365287fd"
hs_bindgen_1b1b5dcb365287fd_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_1b1b5dcb365287fd
:: BG.Ptr SDL_Joystick
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_1b1b5dcb365287fd :: Ptr SDL_Joystick -> IO (PtrConst CChar)
hs_bindgen_1b1b5dcb365287fd =
\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_1b1b5dcb365287fd_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_1b1b5dcb365287fd
foreign import ccall unsafe "hs_bindgen_55ef8dfcc4d84345"
hs_bindgen_55ef8dfcc4d84345_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_55ef8dfcc4d84345
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_55ef8dfcc4d84345 :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_55ef8dfcc4d84345 =
\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_55ef8dfcc4d84345_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_55ef8dfcc4d84345
foreign import ccall unsafe "hs_bindgen_5e98a74b28f72b8e"
hs_bindgen_5e98a74b28f72b8e_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_5e98a74b28f72b8e
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO BG.CBool
hs_bindgen_5e98a74b28f72b8e :: Ptr SDL_Joystick -> CInt -> IO CBool
hs_bindgen_5e98a74b28f72b8e =
\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_5e98a74b28f72b8e_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_5e98a74b28f72b8e
foreign import ccall unsafe "hs_bindgen_e5b4be9fcfc28bc3"
hs_bindgen_e5b4be9fcfc28bc3_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_e5b4be9fcfc28bc3
:: BG.Ptr SDL_Joystick
-> BG.Ptr SDL3.Sys.Bindgen.Guid.SDL_GUID
-> IO ()
hs_bindgen_e5b4be9fcfc28bc3 :: Ptr SDL_Joystick -> Ptr SDL_GUID -> IO ()
hs_bindgen_e5b4be9fcfc28bc3 =
\Ptr SDL_Joystick
x0 ->
\Ptr SDL_GUID
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_e5b4be9fcfc28bc3_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_e5b4be9fcfc28bc3 Ptr SDL_Joystick
joystick0 Ptr SDL_GUID
res1
)
foreign import ccall unsafe "hs_bindgen_62c6fda961bf2fa9"
hs_bindgen_62c6fda961bf2fa9_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_62c6fda961bf2fa9
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_62c6fda961bf2fa9 :: Ptr SDL_Joystick -> IO Uint16
hs_bindgen_62c6fda961bf2fa9 =
\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_62c6fda961bf2fa9_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_62c6fda961bf2fa9
foreign import ccall unsafe "hs_bindgen_d7e0f0c36e50f0e2"
hs_bindgen_d7e0f0c36e50f0e2_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_d7e0f0c36e50f0e2
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_d7e0f0c36e50f0e2 :: Ptr SDL_Joystick -> IO Uint16
hs_bindgen_d7e0f0c36e50f0e2 =
\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_d7e0f0c36e50f0e2_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_d7e0f0c36e50f0e2
foreign import ccall unsafe "hs_bindgen_4d80e87af7618ebc"
hs_bindgen_4d80e87af7618ebc_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_4d80e87af7618ebc
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_4d80e87af7618ebc :: Ptr SDL_Joystick -> IO Uint16
hs_bindgen_4d80e87af7618ebc =
\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_4d80e87af7618ebc_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_4d80e87af7618ebc
foreign import ccall unsafe "hs_bindgen_29a99ec3dcd0fa98"
hs_bindgen_29a99ec3dcd0fa98_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_29a99ec3dcd0fa98
:: BG.Ptr SDL_Joystick
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_29a99ec3dcd0fa98 :: Ptr SDL_Joystick -> IO Uint16
hs_bindgen_29a99ec3dcd0fa98 =
\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_29a99ec3dcd0fa98_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_29a99ec3dcd0fa98
foreign import ccall unsafe "hs_bindgen_a4795a75ac263066"
hs_bindgen_a4795a75ac263066_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_a4795a75ac263066
:: BG.Ptr SDL_Joystick
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_a4795a75ac263066 :: Ptr SDL_Joystick -> IO (PtrConst CChar)
hs_bindgen_a4795a75ac263066 =
\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_a4795a75ac263066_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_a4795a75ac263066
foreign import ccall unsafe "hs_bindgen_76843a2261bd1972"
hs_bindgen_76843a2261bd1972_base
:: BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_76843a2261bd1972
:: BG.Ptr SDL_Joystick
-> IO SDL_JoystickType
hs_bindgen_76843a2261bd1972 :: Ptr SDL_Joystick -> IO SDL_JoystickType
hs_bindgen_76843a2261bd1972 =
\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_76843a2261bd1972_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_76843a2261bd1972
foreign import ccall unsafe "hs_bindgen_436078b1ecf22b0d"
hs_bindgen_436078b1ecf22b0d_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_436078b1ecf22b0d
:: 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_436078b1ecf22b0d :: Ptr SDL_GUID
-> Ptr Uint16 -> Ptr Uint16 -> Ptr Uint16 -> Ptr Uint16 -> IO ()
hs_bindgen_436078b1ecf22b0d =
\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_436078b1ecf22b0d_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_436078b1ecf22b0d Ptr SDL_GUID
guid5 Ptr Uint16
vendor1 Ptr Uint16
product2 Ptr Uint16
version3 Ptr Uint16
crc164
)
foreign import ccall unsafe "hs_bindgen_0241ed6d6117fa6f"
hs_bindgen_0241ed6d6117fa6f_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_0241ed6d6117fa6f
:: BG.Ptr SDL_Joystick
-> IO BG.CBool
hs_bindgen_0241ed6d6117fa6f :: Ptr SDL_Joystick -> IO CBool
hs_bindgen_0241ed6d6117fa6f =
\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_0241ed6d6117fa6f_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_0241ed6d6117fa6f
foreign import ccall unsafe "hs_bindgen_ca7a1f2ac4ecb56d"
hs_bindgen_ca7a1f2ac4ecb56d_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_ca7a1f2ac4ecb56d
:: BG.Ptr SDL_Joystick
-> IO SDL_JoystickID
hs_bindgen_ca7a1f2ac4ecb56d :: Ptr SDL_Joystick -> IO SDL_JoystickID
hs_bindgen_ca7a1f2ac4ecb56d =
\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_ca7a1f2ac4ecb56d_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_ca7a1f2ac4ecb56d
foreign import ccall unsafe "hs_bindgen_1510ba234e23c104"
hs_bindgen_1510ba234e23c104_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_1510ba234e23c104
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_1510ba234e23c104 :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_1510ba234e23c104 =
\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_1510ba234e23c104_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_1510ba234e23c104
foreign import ccall unsafe "hs_bindgen_69d452e9cc046adb"
hs_bindgen_69d452e9cc046adb_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_69d452e9cc046adb
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_69d452e9cc046adb :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_69d452e9cc046adb =
\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_69d452e9cc046adb_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_69d452e9cc046adb
foreign import ccall unsafe "hs_bindgen_cc24966a772d0240"
hs_bindgen_cc24966a772d0240_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_cc24966a772d0240
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_cc24966a772d0240 :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_cc24966a772d0240 =
\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_cc24966a772d0240_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_cc24966a772d0240
foreign import ccall unsafe "hs_bindgen_aeac535e5fa443a0"
hs_bindgen_aeac535e5fa443a0_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_aeac535e5fa443a0
:: BG.Ptr SDL_Joystick
-> IO BG.CInt
hs_bindgen_aeac535e5fa443a0 :: Ptr SDL_Joystick -> IO CInt
hs_bindgen_aeac535e5fa443a0 =
\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_aeac535e5fa443a0_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_aeac535e5fa443a0
foreign import ccall unsafe "hs_bindgen_4ca6ee37a9e122b5"
hs_bindgen_4ca6ee37a9e122b5_base
:: BG.CBool
-> IO ()
hs_bindgen_4ca6ee37a9e122b5
:: BG.CBool
-> IO ()
hs_bindgen_4ca6ee37a9e122b5 :: CBool -> IO ()
hs_bindgen_4ca6ee37a9e122b5 =
\CBool
x0 ->
CBool -> IO ()
hs_bindgen_4ca6ee37a9e122b5_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_4ca6ee37a9e122b5
foreign import ccall unsafe "hs_bindgen_fd430a3c399eb18b"
hs_bindgen_fd430a3c399eb18b_base
:: IO BG.CBool
hs_bindgen_fd430a3c399eb18b :: IO BG.CBool
hs_bindgen_fd430a3c399eb18b :: IO CBool
hs_bindgen_fd430a3c399eb18b =
(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_fd430a3c399eb18b_base
sDL_JoystickEventsEnabled :: IO BG.CBool
sDL_JoystickEventsEnabled :: IO CBool
sDL_JoystickEventsEnabled =
IO CBool
hs_bindgen_fd430a3c399eb18b
foreign import ccall unsafe "hs_bindgen_2766ee6323a0f722"
hs_bindgen_2766ee6323a0f722_base
:: IO ()
hs_bindgen_2766ee6323a0f722 :: IO ()
hs_bindgen_2766ee6323a0f722 :: IO ()
hs_bindgen_2766ee6323a0f722 =
IO ()
hs_bindgen_2766ee6323a0f722_base
sDL_UpdateJoysticks :: IO ()
sDL_UpdateJoysticks :: IO ()
sDL_UpdateJoysticks = IO ()
hs_bindgen_2766ee6323a0f722
foreign import ccall unsafe "hs_bindgen_c16201bd08e902dc"
hs_bindgen_c16201bd08e902dc_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO HsBindgen.Runtime.LibC.Int16
hs_bindgen_c16201bd08e902dc
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO SDL3.Sys.Bindgen.Stdinc.Sint16
hs_bindgen_c16201bd08e902dc :: Ptr SDL_Joystick -> CInt -> IO Sint16
hs_bindgen_c16201bd08e902dc =
\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_c16201bd08e902dc_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_c16201bd08e902dc
foreign import ccall unsafe "hs_bindgen_803984b597c873b4"
hs_bindgen_803984b597c873b4_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_803984b597c873b4
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_803984b597c873b4 :: Ptr SDL_Joystick -> CInt -> Ptr Sint16 -> IO CBool
hs_bindgen_803984b597c873b4 =
\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_803984b597c873b4_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_803984b597c873b4
foreign import ccall unsafe "hs_bindgen_f564c6f917207491"
hs_bindgen_f564c6f917207491_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_f564c6f917207491
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> BG.Ptr BG.CInt
-> BG.Ptr BG.CInt
-> IO BG.CBool
hs_bindgen_f564c6f917207491 :: Ptr SDL_Joystick -> CInt -> Ptr CInt -> Ptr CInt -> IO CBool
hs_bindgen_f564c6f917207491 =
\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_f564c6f917207491_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_f564c6f917207491
foreign import ccall unsafe "hs_bindgen_bdb3e1a3519b04dc"
hs_bindgen_bdb3e1a3519b04dc_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO HsBindgen.Runtime.LibC.Word8
hs_bindgen_bdb3e1a3519b04dc
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO SDL3.Sys.Bindgen.Stdinc.Uint8
hs_bindgen_bdb3e1a3519b04dc :: Ptr SDL_Joystick -> CInt -> IO Uint8
hs_bindgen_bdb3e1a3519b04dc =
\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_bdb3e1a3519b04dc_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_bdb3e1a3519b04dc
foreign import ccall unsafe "hs_bindgen_c3fe9ce78b1fb4e4"
hs_bindgen_c3fe9ce78b1fb4e4_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_c3fe9ce78b1fb4e4
:: BG.Ptr SDL_Joystick
-> BG.CInt
-> IO BG.CBool
hs_bindgen_c3fe9ce78b1fb4e4 :: Ptr SDL_Joystick -> CInt -> IO CBool
hs_bindgen_c3fe9ce78b1fb4e4 =
\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_c3fe9ce78b1fb4e4_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_c3fe9ce78b1fb4e4
foreign import ccall unsafe "hs_bindgen_83d21d7ab5b5f640"
hs_bindgen_83d21d7ab5b5f640_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_83d21d7ab5b5f640
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_83d21d7ab5b5f640 :: Ptr SDL_Joystick -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_83d21d7ab5b5f640 =
\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_83d21d7ab5b5f640_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_83d21d7ab5b5f640
foreign import ccall unsafe "hs_bindgen_b273e29ac9df2371"
hs_bindgen_b273e29ac9df2371_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_b273e29ac9df2371
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_b273e29ac9df2371 :: Ptr SDL_Joystick -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_b273e29ac9df2371 =
\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_b273e29ac9df2371_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_b273e29ac9df2371
foreign import ccall unsafe "hs_bindgen_afcd4a7ee63caeb4"
hs_bindgen_afcd4a7ee63caeb4_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_afcd4a7ee63caeb4
:: BG.Ptr SDL_Joystick
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_afcd4a7ee63caeb4 :: Ptr SDL_Joystick -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_afcd4a7ee63caeb4 =
\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_afcd4a7ee63caeb4_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_afcd4a7ee63caeb4
foreign import ccall unsafe "hs_bindgen_6b3ca271f1d12b4d"
hs_bindgen_6b3ca271f1d12b4d_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_6b3ca271f1d12b4d
:: BG.Ptr SDL_Joystick
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_6b3ca271f1d12b4d :: Ptr SDL_Joystick -> PtrConst Void -> CInt -> IO CBool
hs_bindgen_6b3ca271f1d12b4d =
\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_6b3ca271f1d12b4d_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_6b3ca271f1d12b4d
foreign import ccall unsafe "hs_bindgen_24a578a58e09e216"
hs_bindgen_24a578a58e09e216_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_24a578a58e09e216
:: BG.Ptr SDL_Joystick
-> IO ()
hs_bindgen_24a578a58e09e216 :: Ptr SDL_Joystick -> IO ()
hs_bindgen_24a578a58e09e216 =
\Ptr SDL_Joystick
x0 ->
Ptr Void -> IO ()
hs_bindgen_24a578a58e09e216_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_24a578a58e09e216
foreign import ccall unsafe "hs_bindgen_d6589b95cb209778"
hs_bindgen_d6589b95cb209778_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_d6589b95cb209778
:: BG.Ptr SDL_Joystick
-> IO SDL_JoystickConnectionState
hs_bindgen_d6589b95cb209778 :: Ptr SDL_Joystick -> IO SDL_JoystickConnectionState
hs_bindgen_d6589b95cb209778 =
\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_d6589b95cb209778_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_d6589b95cb209778
foreign import ccall unsafe "hs_bindgen_eb82ac709209a25a"
hs_bindgen_eb82ac709209a25a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CInt
hs_bindgen_eb82ac709209a25a
:: BG.Ptr SDL_Joystick
-> BG.Ptr BG.CInt
-> IO SDL3.Sys.Bindgen.Power.SDL_PowerState
hs_bindgen_eb82ac709209a25a :: Ptr SDL_Joystick -> Ptr CInt -> IO SDL_PowerState
hs_bindgen_eb82ac709209a25a =
\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_eb82ac709209a25a_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_eb82ac709209a25a