{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Gamepad.Unsafe (
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_AddGamepadMapping,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_AddGamepadMappingsFromIO,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_AddGamepadMappingsFromFile,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_ReloadGamepadMappings,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadMappings,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadMappingForGUID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadMapping,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_SetGamepadMapping,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_HasGamepad,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepads,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_IsGamepad,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadNameForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadPathForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadPlayerIndexForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadGUIDForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadVendorForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadProductForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadProductVersionForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadTypeForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetRealGamepadTypeForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadMappingForID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_OpenGamepad,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadFromID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadFromPlayerIndex,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadProperties,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadID,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadName,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadPath,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadType,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetRealGamepadType,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadPlayerIndex,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_SetGamepadPlayerIndex,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadVendor,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadProduct,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadProductVersion,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadFirmwareVersion,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadSerial,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadSteamHandle,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadConnectionState,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadPowerInfo,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GamepadConnected,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadJoystick,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_SetGamepadEventsEnabled,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GamepadEventsEnabled,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadBindings,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_UpdateGamepads,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadTypeFromString,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadStringForType,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadAxisFromString,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadStringForAxis,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GamepadHasAxis,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadAxis,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadButtonFromString,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadStringForButton,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GamepadHasButton,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadButton,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadButtonLabelForType,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadButtonLabel,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetNumGamepadTouchpads,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetNumGamepadTouchpadFingers,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadTouchpadFinger,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GamepadHasSensor,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_SetGamepadSensorEnabled,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GamepadSensorEnabled,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadSensorDataRate,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadSensorData,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_RumbleGamepad,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_RumbleGamepadTriggers,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_SetGamepadLED,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_SendGamepadEffect,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_CloseGamepad,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadAppleSFSymbolsNameForButton,
SDL3.Sys.Bindgen.Gamepad.Unsafe.sDL_GetGamepadAppleSFSymbolsNameForAxis,
)
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.Gamepad
import SDL3.Sys.Bindgen.Guid qualified
import SDL3.Sys.Bindgen.Iostream qualified
import SDL3.Sys.Bindgen.Joystick qualified
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_gamepad.h>"
, "signed int hs_bindgen_36135983181db04c ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_AddGamepadMapping)(arg1);"
, "}"
, "signed int hs_bindgen_7bcfa7483bb6c304 ("
, " SDL_IOStream *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return (SDL_AddGamepadMappingsFromIO)(arg1, arg2);"
, "}"
, "signed int hs_bindgen_183e11c34dd8b81f ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_AddGamepadMappingsFromFile)(arg1);"
, "}"
, "_Bool hs_bindgen_779c89fdca5b9a0e (void)"
, "{"
, " return (SDL_ReloadGamepadMappings)();"
, "}"
, "char **hs_bindgen_d561ea70cab1346c ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadMappings)(arg1);"
, "}"
, "char *hs_bindgen_a9d84a5aab18bd61 ("
, " SDL_GUID *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadMappingForGUID)(*arg1);"
, "}"
, "char *hs_bindgen_094250e7cd4814e2 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadMapping)(arg1);"
, "}"
, "_Bool hs_bindgen_cf9c12a3e0081cba ("
, " SDL_JoystickID arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_SetGamepadMapping)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_5b29afb080773dd8 (void)"
, "{"
, " return (SDL_HasGamepad)();"
, "}"
, "SDL_JoystickID *hs_bindgen_e99c053042181461 ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetGamepads)(arg1);"
, "}"
, "_Bool hs_bindgen_48b133a0a1a04fee ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_IsGamepad)(arg1);"
, "}"
, "char const *hs_bindgen_51b0ed9ede139ced ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetGamepadNameForID)(arg1);"
, "}"
, "char const *hs_bindgen_c1fe082501f756ae ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetGamepadPathForID)(arg1);"
, "}"
, "signed int hs_bindgen_9dac07bb4aa4a0e0 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetGamepadPlayerIndexForID)(arg1);"
, "}"
, "void hs_bindgen_2280985bb32deb1f ("
, " SDL_JoystickID arg1,"
, " SDL_GUID *arg2"
, ")"
, "{"
, " *arg2 = (SDL_GetGamepadGUIDForID)(arg1);"
, "}"
, "Uint16 hs_bindgen_1702db5431a9f4d5 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetGamepadVendorForID)(arg1);"
, "}"
, "Uint16 hs_bindgen_c6d0670cd6f1d312 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetGamepadProductForID)(arg1);"
, "}"
, "Uint16 hs_bindgen_c5762d27fdb0fe20 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetGamepadProductVersionForID)(arg1);"
, "}"
, "SDL_GamepadType hs_bindgen_ab8ba638efb36686 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetGamepadTypeForID)(arg1);"
, "}"
, "SDL_GamepadType hs_bindgen_dbd35ae44acef0c3 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetRealGamepadTypeForID)(arg1);"
, "}"
, "char *hs_bindgen_70db76a3c7fda9bd ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetGamepadMappingForID)(arg1);"
, "}"
, "SDL_Gamepad *hs_bindgen_cbd487a8a2440863 ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_OpenGamepad)(arg1);"
, "}"
, "SDL_Gamepad *hs_bindgen_a76618005d317dbe ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return (SDL_GetGamepadFromID)(arg1);"
, "}"
, "SDL_Gamepad *hs_bindgen_23e0c7566ddc098f ("
, " signed int arg1"
, ")"
, "{"
, " return (SDL_GetGamepadFromPlayerIndex)(arg1);"
, "}"
, "SDL_PropertiesID hs_bindgen_e986873f08423af3 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadProperties)(arg1);"
, "}"
, "SDL_JoystickID hs_bindgen_e2d0c689bb9fdafb ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadID)(arg1);"
, "}"
, "char const *hs_bindgen_9d53319611fb7b21 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadName)(arg1);"
, "}"
, "char const *hs_bindgen_d7698305b32d2548 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadPath)(arg1);"
, "}"
, "SDL_GamepadType hs_bindgen_e2d440eeb9de4199 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadType)(arg1);"
, "}"
, "SDL_GamepadType hs_bindgen_ee5c3fd3f0de744f ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetRealGamepadType)(arg1);"
, "}"
, "signed int hs_bindgen_8457d3ba6fab74fd ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadPlayerIndex)(arg1);"
, "}"
, "_Bool hs_bindgen_c7a0bcec2cc038f5 ("
, " SDL_Gamepad *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_SetGamepadPlayerIndex)(arg1, arg2);"
, "}"
, "Uint16 hs_bindgen_2552182f80b54cf6 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadVendor)(arg1);"
, "}"
, "Uint16 hs_bindgen_5aa969efd1bc8f50 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadProduct)(arg1);"
, "}"
, "Uint16 hs_bindgen_becbadc225729788 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadProductVersion)(arg1);"
, "}"
, "Uint16 hs_bindgen_d97e9cb9945dd63f ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadFirmwareVersion)(arg1);"
, "}"
, "char const *hs_bindgen_c119e40b53da3b69 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadSerial)(arg1);"
, "}"
, "Uint64 hs_bindgen_d965293df8f905d5 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadSteamHandle)(arg1);"
, "}"
, "SDL_JoystickConnectionState hs_bindgen_4d7b7d6dc4affab6 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadConnectionState)(arg1);"
, "}"
, "SDL_PowerState hs_bindgen_440cd7470f43f8b7 ("
, " SDL_Gamepad *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetGamepadPowerInfo)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_73bf6a166bb6fc05 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GamepadConnected)(arg1);"
, "}"
, "SDL_Joystick *hs_bindgen_cfa9e14aa308a355 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadJoystick)(arg1);"
, "}"
, "void hs_bindgen_bfc8618e24183771 ("
, " _Bool arg1"
, ")"
, "{"
, " (SDL_SetGamepadEventsEnabled)(arg1);"
, "}"
, "_Bool hs_bindgen_5871c031639ba44f (void)"
, "{"
, " return (SDL_GamepadEventsEnabled)();"
, "}"
, "SDL_GamepadBinding **hs_bindgen_5bc2e24705268e1e ("
, " SDL_Gamepad *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetGamepadBindings)(arg1, arg2);"
, "}"
, "void hs_bindgen_0cb5e97304f01ed4 (void)"
, "{"
, " (SDL_UpdateGamepads)();"
, "}"
, "SDL_GamepadType hs_bindgen_ff738f26b34db99d ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadTypeFromString)(arg1);"
, "}"
, "char const *hs_bindgen_aeff65b0b5fbbe2f ("
, " SDL_GamepadType arg1"
, ")"
, "{"
, " return (SDL_GetGamepadStringForType)(arg1);"
, "}"
, "SDL_GamepadAxis hs_bindgen_9c4d3cd24f36df1d ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadAxisFromString)(arg1);"
, "}"
, "char const *hs_bindgen_23a85badb8b28574 ("
, " SDL_GamepadAxis arg1"
, ")"
, "{"
, " return (SDL_GetGamepadStringForAxis)(arg1);"
, "}"
, "_Bool hs_bindgen_25802ce0c34b6a29 ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadAxis arg2"
, ")"
, "{"
, " return (SDL_GamepadHasAxis)(arg1, arg2);"
, "}"
, "Sint16 hs_bindgen_68503ad7a0b89c08 ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadAxis arg2"
, ")"
, "{"
, " return (SDL_GetGamepadAxis)(arg1, arg2);"
, "}"
, "SDL_GamepadButton hs_bindgen_cecec50fb2b3f9c0 ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_GetGamepadButtonFromString)(arg1);"
, "}"
, "char const *hs_bindgen_65d07695662b7e7c ("
, " SDL_GamepadButton arg1"
, ")"
, "{"
, " return (SDL_GetGamepadStringForButton)(arg1);"
, "}"
, "_Bool hs_bindgen_05064f987387bd45 ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return (SDL_GamepadHasButton)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_a672f55d7740b70a ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return (SDL_GetGamepadButton)(arg1, arg2);"
, "}"
, "SDL_GamepadButtonLabel hs_bindgen_6a6a621cfd450022 ("
, " SDL_GamepadType arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return (SDL_GetGamepadButtonLabelForType)(arg1, arg2);"
, "}"
, "SDL_GamepadButtonLabel hs_bindgen_ea461caaa5e77e3a ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return (SDL_GetGamepadButtonLabel)(arg1, arg2);"
, "}"
, "signed int hs_bindgen_2d66738e85627648 ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return (SDL_GetNumGamepadTouchpads)(arg1);"
, "}"
, "signed int hs_bindgen_741e82f074f3aae4 ("
, " SDL_Gamepad *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_GetNumGamepadTouchpadFingers)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_1b8db5e7a78bcf2a ("
, " SDL_Gamepad *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " _Bool *arg4,"
, " float *arg5,"
, " float *arg6,"
, " float *arg7"
, ")"
, "{"
, " return (SDL_GetGamepadTouchpadFinger)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);"
, "}"
, "_Bool hs_bindgen_d58388fe9017bfd7 ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2"
, ")"
, "{"
, " return (SDL_GamepadHasSensor)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_5229480da62895d3 ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_SetGamepadSensorEnabled)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_cf910522abc1f0a2 ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2"
, ")"
, "{"
, " return (SDL_GamepadSensorEnabled)(arg1, arg2);"
, "}"
, "float hs_bindgen_523e72497fe70de7 ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2"
, ")"
, "{"
, " return (SDL_GetGamepadSensorDataRate)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_772b88104300cbe9 ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2,"
, " float *arg3,"
, " signed int arg4"
, ")"
, "{"
, " return (SDL_GetGamepadSensorData)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_8a8a058abd787e14 ("
, " SDL_Gamepad *arg1,"
, " Uint16 arg2,"
, " Uint16 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_RumbleGamepad)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_70ab0a767dbce57a ("
, " SDL_Gamepad *arg1,"
, " Uint16 arg2,"
, " Uint16 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_RumbleGamepadTriggers)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_2ae54d3de778ff13 ("
, " SDL_Gamepad *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4"
, ")"
, "{"
, " return (SDL_SetGamepadLED)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_d29e9a9cdc821a93 ("
, " SDL_Gamepad *arg1,"
, " void const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_SendGamepadEffect)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_49ebda4983cdcbad ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " (SDL_CloseGamepad)(arg1);"
, "}"
, "char const *hs_bindgen_3b3870e2dc35c94a ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return (SDL_GetGamepadAppleSFSymbolsNameForButton)(arg1, arg2);"
, "}"
, "char const *hs_bindgen_d904c8d057a68120 ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadAxis arg2"
, ")"
, "{"
, " return (SDL_GetGamepadAppleSFSymbolsNameForAxis)(arg1, arg2);"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_36135983181db04c"
hs_bindgen_36135983181db04c_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_36135983181db04c
:: PtrConst.PtrConst BG.CChar
-> IO BG.CInt
hs_bindgen_36135983181db04c :: PtrConst CChar -> IO CInt
hs_bindgen_36135983181db04c =
\PtrConst CChar
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_36135983181db04c_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_AddGamepadMapping
:: PtrConst.PtrConst BG.CChar
-> IO BG.CInt
sDL_AddGamepadMapping :: PtrConst CChar -> IO CInt
sDL_AddGamepadMapping = PtrConst CChar -> IO CInt
hs_bindgen_36135983181db04c
foreign import ccall unsafe "hs_bindgen_7bcfa7483bb6c304"
hs_bindgen_7bcfa7483bb6c304_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CInt
hs_bindgen_7bcfa7483bb6c304
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO BG.CInt
hs_bindgen_7bcfa7483bb6c304 :: Ptr SDL_IOStream -> CBool -> IO CInt
hs_bindgen_7bcfa7483bb6c304 =
\Ptr SDL_IOStream
x0 ->
\CBool
x1 ->
(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 -> CBool -> IO CInt
hs_bindgen_7bcfa7483bb6c304_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1))
sDL_AddGamepadMappingsFromIO
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO BG.CInt
sDL_AddGamepadMappingsFromIO :: Ptr SDL_IOStream -> CBool -> IO CInt
sDL_AddGamepadMappingsFromIO =
Ptr SDL_IOStream -> CBool -> IO CInt
hs_bindgen_7bcfa7483bb6c304
foreign import ccall unsafe "hs_bindgen_183e11c34dd8b81f"
hs_bindgen_183e11c34dd8b81f_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_183e11c34dd8b81f
:: PtrConst.PtrConst BG.CChar
-> IO BG.CInt
hs_bindgen_183e11c34dd8b81f :: PtrConst CChar -> IO CInt
hs_bindgen_183e11c34dd8b81f =
\PtrConst CChar
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_183e11c34dd8b81f_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_AddGamepadMappingsFromFile
:: PtrConst.PtrConst BG.CChar
-> IO BG.CInt
sDL_AddGamepadMappingsFromFile :: PtrConst CChar -> IO CInt
sDL_AddGamepadMappingsFromFile =
PtrConst CChar -> IO CInt
hs_bindgen_183e11c34dd8b81f
foreign import ccall unsafe "hs_bindgen_779c89fdca5b9a0e"
hs_bindgen_779c89fdca5b9a0e_base
:: IO BG.CBool
hs_bindgen_779c89fdca5b9a0e :: IO BG.CBool
hs_bindgen_779c89fdca5b9a0e :: IO CBool
hs_bindgen_779c89fdca5b9a0e =
(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_779c89fdca5b9a0e_base
sDL_ReloadGamepadMappings :: IO BG.CBool
sDL_ReloadGamepadMappings :: IO CBool
sDL_ReloadGamepadMappings =
IO CBool
hs_bindgen_779c89fdca5b9a0e
foreign import ccall unsafe "hs_bindgen_d561ea70cab1346c"
hs_bindgen_d561ea70cab1346c_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_d561ea70cab1346c
:: BG.Ptr BG.CInt
-> IO (BG.Ptr (BG.Ptr BG.CChar))
hs_bindgen_d561ea70cab1346c :: Ptr CInt -> IO (Ptr (Ptr CChar))
hs_bindgen_d561ea70cab1346c =
\Ptr CInt
x0 ->
(Ptr Void -> Ptr (Ptr CChar))
-> IO (Ptr Void) -> IO (Ptr (Ptr 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 -> Ptr (Ptr CChar)
FFIType (Ptr (Ptr CChar)) -> Ptr (Ptr CChar)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_d561ea70cab1346c_base (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x0))
sDL_GetGamepadMappings
:: BG.Ptr BG.CInt
-> IO (BG.Ptr (BG.Ptr BG.CChar))
sDL_GetGamepadMappings :: Ptr CInt -> IO (Ptr (Ptr CChar))
sDL_GetGamepadMappings = Ptr CInt -> IO (Ptr (Ptr CChar))
hs_bindgen_d561ea70cab1346c
foreign import ccall unsafe "hs_bindgen_a9d84a5aab18bd61"
hs_bindgen_a9d84a5aab18bd61_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_a9d84a5aab18bd61
:: BG.Ptr SDL3.Sys.Bindgen.Guid.SDL_GUID
-> IO (BG.Ptr BG.CChar)
hs_bindgen_a9d84a5aab18bd61 :: Ptr SDL_GUID -> IO (Ptr CChar)
hs_bindgen_a9d84a5aab18bd61 =
\Ptr SDL_GUID
x0 ->
(Ptr Void -> Ptr CChar) -> IO (Ptr Void) -> IO (Ptr 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 -> Ptr CChar
FFIType (Ptr CChar) -> Ptr CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_a9d84a5aab18bd61_base (Ptr SDL_GUID -> FFIType (Ptr SDL_GUID)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GUID
x0))
sDL_GetGamepadMappingForGUID
:: SDL3.Sys.Bindgen.Guid.SDL_GUID
-> IO (BG.Ptr BG.CChar)
sDL_GetGamepadMappingForGUID :: SDL_GUID -> IO (Ptr CChar)
sDL_GetGamepadMappingForGUID =
\SDL_GUID
guid0 ->
SDL_GUID -> (Ptr SDL_GUID -> IO (Ptr CChar)) -> IO (Ptr CChar)
forall a b. Storable a => a -> (Ptr a -> IO b) -> IO b
BG.with
SDL_GUID
guid0
( \Ptr SDL_GUID
guid1 ->
Ptr SDL_GUID -> IO (Ptr CChar)
hs_bindgen_a9d84a5aab18bd61 Ptr SDL_GUID
guid1
)
foreign import ccall unsafe "hs_bindgen_094250e7cd4814e2"
hs_bindgen_094250e7cd4814e2_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_094250e7cd4814e2
:: BG.Ptr SDL_Gamepad
-> IO (BG.Ptr BG.CChar)
hs_bindgen_094250e7cd4814e2 :: Ptr SDL_Gamepad -> IO (Ptr CChar)
hs_bindgen_094250e7cd4814e2 =
\Ptr SDL_Gamepad
x0 ->
(Ptr Void -> Ptr CChar) -> IO (Ptr Void) -> IO (Ptr 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 -> Ptr CChar
FFIType (Ptr CChar) -> Ptr CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_094250e7cd4814e2_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadMapping
:: BG.Ptr SDL_Gamepad
-> IO (BG.Ptr BG.CChar)
sDL_GetGamepadMapping :: Ptr SDL_Gamepad -> IO (Ptr CChar)
sDL_GetGamepadMapping = Ptr SDL_Gamepad -> IO (Ptr CChar)
hs_bindgen_094250e7cd4814e2
foreign import ccall unsafe "hs_bindgen_cf9c12a3e0081cba"
hs_bindgen_cf9c12a3e0081cba_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_cf9c12a3e0081cba
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_cf9c12a3e0081cba :: SDL_JoystickID -> PtrConst CChar -> IO CBool
hs_bindgen_cf9c12a3e0081cba =
\SDL_JoystickID
x0 ->
\PtrConst CChar
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 (Word32 -> Ptr Void -> IO CBool
hs_bindgen_cf9c12a3e0081cba_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_SetGamepadMapping
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
sDL_SetGamepadMapping :: SDL_JoystickID -> PtrConst CChar -> IO CBool
sDL_SetGamepadMapping = SDL_JoystickID -> PtrConst CChar -> IO CBool
hs_bindgen_cf9c12a3e0081cba
foreign import ccall unsafe "hs_bindgen_5b29afb080773dd8"
hs_bindgen_5b29afb080773dd8_base
:: IO BG.CBool
hs_bindgen_5b29afb080773dd8 :: IO BG.CBool
hs_bindgen_5b29afb080773dd8 :: IO CBool
hs_bindgen_5b29afb080773dd8 =
(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_5b29afb080773dd8_base
sDL_HasGamepad :: IO BG.CBool
sDL_HasGamepad :: IO CBool
sDL_HasGamepad = IO CBool
hs_bindgen_5b29afb080773dd8
foreign import ccall unsafe "hs_bindgen_e99c053042181461"
hs_bindgen_e99c053042181461_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_e99c053042181461
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_JoystickID)
hs_bindgen_e99c053042181461 :: Ptr CInt -> IO (Ptr SDL_JoystickID)
hs_bindgen_e99c053042181461 =
\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_e99c053042181461_base (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x0))
sDL_GetGamepads
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_JoystickID)
sDL_GetGamepads :: Ptr CInt -> IO (Ptr SDL_JoystickID)
sDL_GetGamepads = Ptr CInt -> IO (Ptr SDL_JoystickID)
hs_bindgen_e99c053042181461
foreign import ccall unsafe "hs_bindgen_48b133a0a1a04fee"
hs_bindgen_48b133a0a1a04fee_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_48b133a0a1a04fee
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO BG.CBool
hs_bindgen_48b133a0a1a04fee :: SDL_JoystickID -> IO CBool
hs_bindgen_48b133a0a1a04fee =
\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_48b133a0a1a04fee_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_IsGamepad
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO BG.CBool
sDL_IsGamepad :: SDL_JoystickID -> IO CBool
sDL_IsGamepad = SDL_JoystickID -> IO CBool
hs_bindgen_48b133a0a1a04fee
foreign import ccall unsafe "hs_bindgen_51b0ed9ede139ced"
hs_bindgen_51b0ed9ede139ced_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_51b0ed9ede139ced
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_51b0ed9ede139ced :: SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_51b0ed9ede139ced =
\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_51b0ed9ede139ced_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetGamepadNameForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadNameForID :: SDL_JoystickID -> IO (PtrConst CChar)
sDL_GetGamepadNameForID = SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_51b0ed9ede139ced
foreign import ccall unsafe "hs_bindgen_c1fe082501f756ae"
hs_bindgen_c1fe082501f756ae_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_c1fe082501f756ae
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_c1fe082501f756ae :: SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_c1fe082501f756ae =
\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_c1fe082501f756ae_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetGamepadPathForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadPathForID :: SDL_JoystickID -> IO (PtrConst CChar)
sDL_GetGamepadPathForID = SDL_JoystickID -> IO (PtrConst CChar)
hs_bindgen_c1fe082501f756ae
foreign import ccall unsafe "hs_bindgen_9dac07bb4aa4a0e0"
hs_bindgen_9dac07bb4aa4a0e0_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CInt
hs_bindgen_9dac07bb4aa4a0e0
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO BG.CInt
hs_bindgen_9dac07bb4aa4a0e0 :: SDL_JoystickID -> IO CInt
hs_bindgen_9dac07bb4aa4a0e0 =
\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_9dac07bb4aa4a0e0_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetGamepadPlayerIndexForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO BG.CInt
sDL_GetGamepadPlayerIndexForID :: SDL_JoystickID -> IO CInt
sDL_GetGamepadPlayerIndexForID =
SDL_JoystickID -> IO CInt
hs_bindgen_9dac07bb4aa4a0e0
foreign import ccall unsafe "hs_bindgen_2280985bb32deb1f"
hs_bindgen_2280985bb32deb1f_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_2280985bb32deb1f
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> BG.Ptr SDL3.Sys.Bindgen.Guid.SDL_GUID
-> IO ()
hs_bindgen_2280985bb32deb1f :: SDL_JoystickID -> Ptr SDL_GUID -> IO ()
hs_bindgen_2280985bb32deb1f =
\SDL_JoystickID
x0 ->
\Ptr SDL_GUID
x1 ->
Word32 -> Ptr Void -> IO ()
hs_bindgen_2280985bb32deb1f_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_GetGamepadGUIDForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Guid.SDL_GUID
sDL_GetGamepadGUIDForID :: SDL_JoystickID -> IO SDL_GUID
sDL_GetGamepadGUIDForID =
\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_2280985bb32deb1f SDL_JoystickID
instance_id0 Ptr SDL_GUID
res1
)
foreign import ccall unsafe "hs_bindgen_1702db5431a9f4d5"
hs_bindgen_1702db5431a9f4d5_base
:: HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_1702db5431a9f4d5
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_1702db5431a9f4d5 :: SDL_JoystickID -> IO Uint16
hs_bindgen_1702db5431a9f4d5 =
\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_1702db5431a9f4d5_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetGamepadVendorForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetGamepadVendorForID :: SDL_JoystickID -> IO Uint16
sDL_GetGamepadVendorForID =
SDL_JoystickID -> IO Uint16
hs_bindgen_1702db5431a9f4d5
foreign import ccall unsafe "hs_bindgen_c6d0670cd6f1d312"
hs_bindgen_c6d0670cd6f1d312_base
:: HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_c6d0670cd6f1d312
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_c6d0670cd6f1d312 :: SDL_JoystickID -> IO Uint16
hs_bindgen_c6d0670cd6f1d312 =
\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_c6d0670cd6f1d312_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetGamepadProductForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetGamepadProductForID :: SDL_JoystickID -> IO Uint16
sDL_GetGamepadProductForID =
SDL_JoystickID -> IO Uint16
hs_bindgen_c6d0670cd6f1d312
foreign import ccall unsafe "hs_bindgen_c5762d27fdb0fe20"
hs_bindgen_c5762d27fdb0fe20_base
:: HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_c5762d27fdb0fe20
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_c5762d27fdb0fe20 :: SDL_JoystickID -> IO Uint16
hs_bindgen_c5762d27fdb0fe20 =
\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_c5762d27fdb0fe20_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetGamepadProductVersionForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetGamepadProductVersionForID :: SDL_JoystickID -> IO Uint16
sDL_GetGamepadProductVersionForID =
SDL_JoystickID -> IO Uint16
hs_bindgen_c5762d27fdb0fe20
foreign import ccall unsafe "hs_bindgen_ab8ba638efb36686"
hs_bindgen_ab8ba638efb36686_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CUInt
hs_bindgen_ab8ba638efb36686
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL_GamepadType
hs_bindgen_ab8ba638efb36686 :: SDL_JoystickID -> IO SDL_GamepadType
hs_bindgen_ab8ba638efb36686 =
\SDL_JoystickID
x0 ->
(CUInt -> SDL_GamepadType) -> IO CUInt -> IO SDL_GamepadType
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_GamepadType
FFIType SDL_GamepadType -> SDL_GamepadType
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CUInt
hs_bindgen_ab8ba638efb36686_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetGamepadTypeForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL_GamepadType
sDL_GetGamepadTypeForID :: SDL_JoystickID -> IO SDL_GamepadType
sDL_GetGamepadTypeForID = SDL_JoystickID -> IO SDL_GamepadType
hs_bindgen_ab8ba638efb36686
foreign import ccall unsafe "hs_bindgen_dbd35ae44acef0c3"
hs_bindgen_dbd35ae44acef0c3_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CUInt
hs_bindgen_dbd35ae44acef0c3
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL_GamepadType
hs_bindgen_dbd35ae44acef0c3 :: SDL_JoystickID -> IO SDL_GamepadType
hs_bindgen_dbd35ae44acef0c3 =
\SDL_JoystickID
x0 ->
(CUInt -> SDL_GamepadType) -> IO CUInt -> IO SDL_GamepadType
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_GamepadType
FFIType SDL_GamepadType -> SDL_GamepadType
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CUInt
hs_bindgen_dbd35ae44acef0c3_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetRealGamepadTypeForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO SDL_GamepadType
sDL_GetRealGamepadTypeForID :: SDL_JoystickID -> IO SDL_GamepadType
sDL_GetRealGamepadTypeForID =
SDL_JoystickID -> IO SDL_GamepadType
hs_bindgen_dbd35ae44acef0c3
foreign import ccall unsafe "hs_bindgen_70db76a3c7fda9bd"
hs_bindgen_70db76a3c7fda9bd_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_70db76a3c7fda9bd
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (BG.Ptr BG.CChar)
hs_bindgen_70db76a3c7fda9bd :: SDL_JoystickID -> IO (Ptr CChar)
hs_bindgen_70db76a3c7fda9bd =
\SDL_JoystickID
x0 ->
(Ptr Void -> Ptr CChar) -> IO (Ptr Void) -> IO (Ptr 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 -> Ptr CChar
FFIType (Ptr CChar) -> Ptr CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_70db76a3c7fda9bd_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetGamepadMappingForID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (BG.Ptr BG.CChar)
sDL_GetGamepadMappingForID :: SDL_JoystickID -> IO (Ptr CChar)
sDL_GetGamepadMappingForID =
SDL_JoystickID -> IO (Ptr CChar)
hs_bindgen_70db76a3c7fda9bd
foreign import ccall unsafe "hs_bindgen_cbd487a8a2440863"
hs_bindgen_cbd487a8a2440863_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_cbd487a8a2440863
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (BG.Ptr SDL_Gamepad)
hs_bindgen_cbd487a8a2440863 :: SDL_JoystickID -> IO (Ptr SDL_Gamepad)
hs_bindgen_cbd487a8a2440863 =
\SDL_JoystickID
x0 ->
(Ptr Void -> Ptr SDL_Gamepad)
-> IO (Ptr Void) -> IO (Ptr SDL_Gamepad)
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_Gamepad
FFIType (Ptr SDL_Gamepad) -> Ptr SDL_Gamepad
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_cbd487a8a2440863_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_OpenGamepad
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (BG.Ptr SDL_Gamepad)
sDL_OpenGamepad :: SDL_JoystickID -> IO (Ptr SDL_Gamepad)
sDL_OpenGamepad = SDL_JoystickID -> IO (Ptr SDL_Gamepad)
hs_bindgen_cbd487a8a2440863
foreign import ccall unsafe "hs_bindgen_a76618005d317dbe"
hs_bindgen_a76618005d317dbe_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_a76618005d317dbe
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (BG.Ptr SDL_Gamepad)
hs_bindgen_a76618005d317dbe :: SDL_JoystickID -> IO (Ptr SDL_Gamepad)
hs_bindgen_a76618005d317dbe =
\SDL_JoystickID
x0 ->
(Ptr Void -> Ptr SDL_Gamepad)
-> IO (Ptr Void) -> IO (Ptr SDL_Gamepad)
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_Gamepad
FFIType (Ptr SDL_Gamepad) -> Ptr SDL_Gamepad
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_a76618005d317dbe_base (SDL_JoystickID -> FFIType SDL_JoystickID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_JoystickID
x0))
sDL_GetGamepadFromID
:: SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
-> IO (BG.Ptr SDL_Gamepad)
sDL_GetGamepadFromID :: SDL_JoystickID -> IO (Ptr SDL_Gamepad)
sDL_GetGamepadFromID = SDL_JoystickID -> IO (Ptr SDL_Gamepad)
hs_bindgen_a76618005d317dbe
foreign import ccall unsafe "hs_bindgen_23e0c7566ddc098f"
hs_bindgen_23e0c7566ddc098f_base
:: BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_23e0c7566ddc098f
:: BG.CInt
-> IO (BG.Ptr SDL_Gamepad)
hs_bindgen_23e0c7566ddc098f :: CInt -> IO (Ptr SDL_Gamepad)
hs_bindgen_23e0c7566ddc098f =
\CInt
x0 ->
(Ptr Void -> Ptr SDL_Gamepad)
-> IO (Ptr Void) -> IO (Ptr SDL_Gamepad)
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_Gamepad
FFIType (Ptr SDL_Gamepad) -> Ptr SDL_Gamepad
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CInt -> IO (Ptr Void)
hs_bindgen_23e0c7566ddc098f_base (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x0))
sDL_GetGamepadFromPlayerIndex
:: BG.CInt
-> IO (BG.Ptr SDL_Gamepad)
sDL_GetGamepadFromPlayerIndex :: CInt -> IO (Ptr SDL_Gamepad)
sDL_GetGamepadFromPlayerIndex =
CInt -> IO (Ptr SDL_Gamepad)
hs_bindgen_23e0c7566ddc098f
foreign import ccall unsafe "hs_bindgen_e986873f08423af3"
hs_bindgen_e986873f08423af3_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_e986873f08423af3
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_e986873f08423af3 :: Ptr SDL_Gamepad -> IO SDL_PropertiesID
hs_bindgen_e986873f08423af3 =
\Ptr SDL_Gamepad
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_e986873f08423af3_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadProperties
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
sDL_GetGamepadProperties :: Ptr SDL_Gamepad -> IO SDL_PropertiesID
sDL_GetGamepadProperties =
Ptr SDL_Gamepad -> IO SDL_PropertiesID
hs_bindgen_e986873f08423af3
foreign import ccall unsafe "hs_bindgen_e2d0c689bb9fdafb"
hs_bindgen_e2d0c689bb9fdafb_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_e2d0c689bb9fdafb
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
hs_bindgen_e2d0c689bb9fdafb :: Ptr SDL_Gamepad -> IO SDL_JoystickID
hs_bindgen_e2d0c689bb9fdafb =
\Ptr SDL_Gamepad
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_e2d0c689bb9fdafb_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadID
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Joystick.SDL_JoystickID
sDL_GetGamepadID :: Ptr SDL_Gamepad -> IO SDL_JoystickID
sDL_GetGamepadID = Ptr SDL_Gamepad -> IO SDL_JoystickID
hs_bindgen_e2d0c689bb9fdafb
foreign import ccall unsafe "hs_bindgen_9d53319611fb7b21"
hs_bindgen_9d53319611fb7b21_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_9d53319611fb7b21
:: BG.Ptr SDL_Gamepad
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_9d53319611fb7b21 :: Ptr SDL_Gamepad -> IO (PtrConst CChar)
hs_bindgen_9d53319611fb7b21 =
\Ptr SDL_Gamepad
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_9d53319611fb7b21_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadName
:: BG.Ptr SDL_Gamepad
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadName :: Ptr SDL_Gamepad -> IO (PtrConst CChar)
sDL_GetGamepadName = Ptr SDL_Gamepad -> IO (PtrConst CChar)
hs_bindgen_9d53319611fb7b21
foreign import ccall unsafe "hs_bindgen_d7698305b32d2548"
hs_bindgen_d7698305b32d2548_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_d7698305b32d2548
:: BG.Ptr SDL_Gamepad
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_d7698305b32d2548 :: Ptr SDL_Gamepad -> IO (PtrConst CChar)
hs_bindgen_d7698305b32d2548 =
\Ptr SDL_Gamepad
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_d7698305b32d2548_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadPath
:: BG.Ptr SDL_Gamepad
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadPath :: Ptr SDL_Gamepad -> IO (PtrConst CChar)
sDL_GetGamepadPath = Ptr SDL_Gamepad -> IO (PtrConst CChar)
hs_bindgen_d7698305b32d2548
foreign import ccall unsafe "hs_bindgen_e2d440eeb9de4199"
hs_bindgen_e2d440eeb9de4199_base
:: BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_e2d440eeb9de4199
:: BG.Ptr SDL_Gamepad
-> IO SDL_GamepadType
hs_bindgen_e2d440eeb9de4199 :: Ptr SDL_Gamepad -> IO SDL_GamepadType
hs_bindgen_e2d440eeb9de4199 =
\Ptr SDL_Gamepad
x0 ->
(CUInt -> SDL_GamepadType) -> IO CUInt -> IO SDL_GamepadType
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_GamepadType
FFIType SDL_GamepadType -> SDL_GamepadType
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CUInt
hs_bindgen_e2d440eeb9de4199_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadType
:: BG.Ptr SDL_Gamepad
-> IO SDL_GamepadType
sDL_GetGamepadType :: Ptr SDL_Gamepad -> IO SDL_GamepadType
sDL_GetGamepadType = Ptr SDL_Gamepad -> IO SDL_GamepadType
hs_bindgen_e2d440eeb9de4199
foreign import ccall unsafe "hs_bindgen_ee5c3fd3f0de744f"
hs_bindgen_ee5c3fd3f0de744f_base
:: BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_ee5c3fd3f0de744f
:: BG.Ptr SDL_Gamepad
-> IO SDL_GamepadType
hs_bindgen_ee5c3fd3f0de744f :: Ptr SDL_Gamepad -> IO SDL_GamepadType
hs_bindgen_ee5c3fd3f0de744f =
\Ptr SDL_Gamepad
x0 ->
(CUInt -> SDL_GamepadType) -> IO CUInt -> IO SDL_GamepadType
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_GamepadType
FFIType SDL_GamepadType -> SDL_GamepadType
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CUInt
hs_bindgen_ee5c3fd3f0de744f_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetRealGamepadType
:: BG.Ptr SDL_Gamepad
-> IO SDL_GamepadType
sDL_GetRealGamepadType :: Ptr SDL_Gamepad -> IO SDL_GamepadType
sDL_GetRealGamepadType = Ptr SDL_Gamepad -> IO SDL_GamepadType
hs_bindgen_ee5c3fd3f0de744f
foreign import ccall unsafe "hs_bindgen_8457d3ba6fab74fd"
hs_bindgen_8457d3ba6fab74fd_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_8457d3ba6fab74fd
:: BG.Ptr SDL_Gamepad
-> IO BG.CInt
hs_bindgen_8457d3ba6fab74fd :: Ptr SDL_Gamepad -> IO CInt
hs_bindgen_8457d3ba6fab74fd =
\Ptr SDL_Gamepad
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_8457d3ba6fab74fd_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadPlayerIndex
:: BG.Ptr SDL_Gamepad
-> IO BG.CInt
sDL_GetGamepadPlayerIndex :: Ptr SDL_Gamepad -> IO CInt
sDL_GetGamepadPlayerIndex =
Ptr SDL_Gamepad -> IO CInt
hs_bindgen_8457d3ba6fab74fd
foreign import ccall unsafe "hs_bindgen_c7a0bcec2cc038f5"
hs_bindgen_c7a0bcec2cc038f5_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_c7a0bcec2cc038f5
:: BG.Ptr SDL_Gamepad
-> BG.CInt
-> IO BG.CBool
hs_bindgen_c7a0bcec2cc038f5 :: Ptr SDL_Gamepad -> CInt -> IO CBool
hs_bindgen_c7a0bcec2cc038f5 =
\Ptr SDL_Gamepad
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_c7a0bcec2cc038f5_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1))
sDL_SetGamepadPlayerIndex
:: BG.Ptr SDL_Gamepad
-> BG.CInt
-> IO BG.CBool
sDL_SetGamepadPlayerIndex :: Ptr SDL_Gamepad -> CInt -> IO CBool
sDL_SetGamepadPlayerIndex =
Ptr SDL_Gamepad -> CInt -> IO CBool
hs_bindgen_c7a0bcec2cc038f5
foreign import ccall unsafe "hs_bindgen_2552182f80b54cf6"
hs_bindgen_2552182f80b54cf6_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_2552182f80b54cf6
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_2552182f80b54cf6 :: Ptr SDL_Gamepad -> IO Uint16
hs_bindgen_2552182f80b54cf6 =
\Ptr SDL_Gamepad
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_2552182f80b54cf6_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadVendor
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetGamepadVendor :: Ptr SDL_Gamepad -> IO Uint16
sDL_GetGamepadVendor = Ptr SDL_Gamepad -> IO Uint16
hs_bindgen_2552182f80b54cf6
foreign import ccall unsafe "hs_bindgen_5aa969efd1bc8f50"
hs_bindgen_5aa969efd1bc8f50_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_5aa969efd1bc8f50
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_5aa969efd1bc8f50 :: Ptr SDL_Gamepad -> IO Uint16
hs_bindgen_5aa969efd1bc8f50 =
\Ptr SDL_Gamepad
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_5aa969efd1bc8f50_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadProduct
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetGamepadProduct :: Ptr SDL_Gamepad -> IO Uint16
sDL_GetGamepadProduct = Ptr SDL_Gamepad -> IO Uint16
hs_bindgen_5aa969efd1bc8f50
foreign import ccall unsafe "hs_bindgen_becbadc225729788"
hs_bindgen_becbadc225729788_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_becbadc225729788
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_becbadc225729788 :: Ptr SDL_Gamepad -> IO Uint16
hs_bindgen_becbadc225729788 =
\Ptr SDL_Gamepad
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_becbadc225729788_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadProductVersion
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetGamepadProductVersion :: Ptr SDL_Gamepad -> IO Uint16
sDL_GetGamepadProductVersion =
Ptr SDL_Gamepad -> IO Uint16
hs_bindgen_becbadc225729788
foreign import ccall unsafe "hs_bindgen_d97e9cb9945dd63f"
hs_bindgen_d97e9cb9945dd63f_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_d97e9cb9945dd63f
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
hs_bindgen_d97e9cb9945dd63f :: Ptr SDL_Gamepad -> IO Uint16
hs_bindgen_d97e9cb9945dd63f =
\Ptr SDL_Gamepad
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_d97e9cb9945dd63f_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadFirmwareVersion
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint16
sDL_GetGamepadFirmwareVersion :: Ptr SDL_Gamepad -> IO Uint16
sDL_GetGamepadFirmwareVersion =
Ptr SDL_Gamepad -> IO Uint16
hs_bindgen_d97e9cb9945dd63f
foreign import ccall unsafe "hs_bindgen_c119e40b53da3b69"
hs_bindgen_c119e40b53da3b69_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_c119e40b53da3b69
:: BG.Ptr SDL_Gamepad
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_c119e40b53da3b69 :: Ptr SDL_Gamepad -> IO (PtrConst CChar)
hs_bindgen_c119e40b53da3b69 =
\Ptr SDL_Gamepad
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_c119e40b53da3b69_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadSerial
:: BG.Ptr SDL_Gamepad
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadSerial :: Ptr SDL_Gamepad -> IO (PtrConst CChar)
sDL_GetGamepadSerial = Ptr SDL_Gamepad -> IO (PtrConst CChar)
hs_bindgen_c119e40b53da3b69
foreign import ccall unsafe "hs_bindgen_d965293df8f905d5"
hs_bindgen_d965293df8f905d5_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word64
hs_bindgen_d965293df8f905d5
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint64
hs_bindgen_d965293df8f905d5 :: Ptr SDL_Gamepad -> IO Uint64
hs_bindgen_d965293df8f905d5 =
\Ptr SDL_Gamepad
x0 ->
(Word64 -> Uint64) -> IO Word64 -> IO Uint64
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word64 -> Uint64
FFIType Uint64 -> Uint64
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word64
hs_bindgen_d965293df8f905d5_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadSteamHandle
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Stdinc.Uint64
sDL_GetGamepadSteamHandle :: Ptr SDL_Gamepad -> IO Uint64
sDL_GetGamepadSteamHandle =
Ptr SDL_Gamepad -> IO Uint64
hs_bindgen_d965293df8f905d5
foreign import ccall unsafe "hs_bindgen_4d7b7d6dc4affab6"
hs_bindgen_4d7b7d6dc4affab6_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CInt
hs_bindgen_4d7b7d6dc4affab6
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Joystick.SDL_JoystickConnectionState
hs_bindgen_4d7b7d6dc4affab6 :: Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState
hs_bindgen_4d7b7d6dc4affab6 =
\Ptr SDL_Gamepad
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_4d7b7d6dc4affab6_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadConnectionState
:: BG.Ptr SDL_Gamepad
-> IO SDL3.Sys.Bindgen.Joystick.SDL_JoystickConnectionState
sDL_GetGamepadConnectionState :: Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState
sDL_GetGamepadConnectionState =
Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState
hs_bindgen_4d7b7d6dc4affab6
foreign import ccall unsafe "hs_bindgen_440cd7470f43f8b7"
hs_bindgen_440cd7470f43f8b7_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CInt
hs_bindgen_440cd7470f43f8b7
:: BG.Ptr SDL_Gamepad
-> BG.Ptr BG.CInt
-> IO SDL3.Sys.Bindgen.Power.SDL_PowerState
hs_bindgen_440cd7470f43f8b7 :: Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState
hs_bindgen_440cd7470f43f8b7 =
\Ptr SDL_Gamepad
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_440cd7470f43f8b7_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1))
sDL_GetGamepadPowerInfo
:: BG.Ptr SDL_Gamepad
-> BG.Ptr BG.CInt
-> IO SDL3.Sys.Bindgen.Power.SDL_PowerState
sDL_GetGamepadPowerInfo :: Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState
sDL_GetGamepadPowerInfo = Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState
hs_bindgen_440cd7470f43f8b7
foreign import ccall unsafe "hs_bindgen_73bf6a166bb6fc05"
hs_bindgen_73bf6a166bb6fc05_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_73bf6a166bb6fc05
:: BG.Ptr SDL_Gamepad
-> IO BG.CBool
hs_bindgen_73bf6a166bb6fc05 :: Ptr SDL_Gamepad -> IO CBool
hs_bindgen_73bf6a166bb6fc05 =
\Ptr SDL_Gamepad
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_73bf6a166bb6fc05_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GamepadConnected
:: BG.Ptr SDL_Gamepad
-> IO BG.CBool
sDL_GamepadConnected :: Ptr SDL_Gamepad -> IO CBool
sDL_GamepadConnected = Ptr SDL_Gamepad -> IO CBool
hs_bindgen_73bf6a166bb6fc05
foreign import ccall unsafe "hs_bindgen_cfa9e14aa308a355"
hs_bindgen_cfa9e14aa308a355_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_cfa9e14aa308a355
:: BG.Ptr SDL_Gamepad
-> IO (BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick)
hs_bindgen_cfa9e14aa308a355 :: Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick)
hs_bindgen_cfa9e14aa308a355 =
\Ptr SDL_Gamepad
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 (Ptr Void -> IO (Ptr Void)
hs_bindgen_cfa9e14aa308a355_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetGamepadJoystick
:: BG.Ptr SDL_Gamepad
-> IO (BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick)
sDL_GetGamepadJoystick :: Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick)
sDL_GetGamepadJoystick = Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick)
hs_bindgen_cfa9e14aa308a355
foreign import ccall unsafe "hs_bindgen_bfc8618e24183771"
hs_bindgen_bfc8618e24183771_base
:: BG.CBool
-> IO ()
hs_bindgen_bfc8618e24183771
:: BG.CBool
-> IO ()
hs_bindgen_bfc8618e24183771 :: CBool -> IO ()
hs_bindgen_bfc8618e24183771 =
\CBool
x0 ->
CBool -> IO ()
hs_bindgen_bfc8618e24183771_base (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x0)
sDL_SetGamepadEventsEnabled
:: BG.CBool
-> IO ()
sDL_SetGamepadEventsEnabled :: CBool -> IO ()
sDL_SetGamepadEventsEnabled =
CBool -> IO ()
hs_bindgen_bfc8618e24183771
foreign import ccall unsafe "hs_bindgen_5871c031639ba44f"
hs_bindgen_5871c031639ba44f_base
:: IO BG.CBool
hs_bindgen_5871c031639ba44f :: IO BG.CBool
hs_bindgen_5871c031639ba44f :: IO CBool
hs_bindgen_5871c031639ba44f =
(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_5871c031639ba44f_base
sDL_GamepadEventsEnabled :: IO BG.CBool
sDL_GamepadEventsEnabled :: IO CBool
sDL_GamepadEventsEnabled =
IO CBool
hs_bindgen_5871c031639ba44f
foreign import ccall unsafe "hs_bindgen_5bc2e24705268e1e"
hs_bindgen_5bc2e24705268e1e_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_5bc2e24705268e1e
:: BG.Ptr SDL_Gamepad
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (BG.Ptr SDL_GamepadBinding))
hs_bindgen_5bc2e24705268e1e :: Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding))
hs_bindgen_5bc2e24705268e1e =
\Ptr SDL_Gamepad
x0 ->
\Ptr CInt
x1 ->
(Ptr Void -> Ptr (Ptr SDL_GamepadBinding))
-> IO (Ptr Void) -> IO (Ptr (Ptr SDL_GamepadBinding))
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 (Ptr SDL_GamepadBinding)
FFIType (Ptr (Ptr SDL_GamepadBinding))
-> Ptr (Ptr SDL_GamepadBinding)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_5bc2e24705268e1e_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1))
sDL_GetGamepadBindings
:: BG.Ptr SDL_Gamepad
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (BG.Ptr SDL_GamepadBinding))
sDL_GetGamepadBindings :: Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding))
sDL_GetGamepadBindings = Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding))
hs_bindgen_5bc2e24705268e1e
foreign import ccall unsafe "hs_bindgen_0cb5e97304f01ed4"
hs_bindgen_0cb5e97304f01ed4_base
:: IO ()
hs_bindgen_0cb5e97304f01ed4 :: IO ()
hs_bindgen_0cb5e97304f01ed4 :: IO ()
hs_bindgen_0cb5e97304f01ed4 =
IO ()
hs_bindgen_0cb5e97304f01ed4_base
sDL_UpdateGamepads :: IO ()
sDL_UpdateGamepads :: IO ()
sDL_UpdateGamepads = IO ()
hs_bindgen_0cb5e97304f01ed4
foreign import ccall unsafe "hs_bindgen_ff738f26b34db99d"
hs_bindgen_ff738f26b34db99d_base
:: BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_ff738f26b34db99d
:: PtrConst.PtrConst BG.CChar
-> IO SDL_GamepadType
hs_bindgen_ff738f26b34db99d :: PtrConst CChar -> IO SDL_GamepadType
hs_bindgen_ff738f26b34db99d =
\PtrConst CChar
x0 ->
(CUInt -> SDL_GamepadType) -> IO CUInt -> IO SDL_GamepadType
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_GamepadType
FFIType SDL_GamepadType -> SDL_GamepadType
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CUInt
hs_bindgen_ff738f26b34db99d_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_GetGamepadTypeFromString
:: PtrConst.PtrConst BG.CChar
-> IO SDL_GamepadType
sDL_GetGamepadTypeFromString :: PtrConst CChar -> IO SDL_GamepadType
sDL_GetGamepadTypeFromString =
PtrConst CChar -> IO SDL_GamepadType
hs_bindgen_ff738f26b34db99d
foreign import ccall unsafe "hs_bindgen_aeff65b0b5fbbe2f"
hs_bindgen_aeff65b0b5fbbe2f_base
:: BG.CUInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_aeff65b0b5fbbe2f
:: SDL_GamepadType
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_aeff65b0b5fbbe2f :: SDL_GamepadType -> IO (PtrConst CChar)
hs_bindgen_aeff65b0b5fbbe2f =
\SDL_GamepadType
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 (CUInt -> IO (Ptr Void)
hs_bindgen_aeff65b0b5fbbe2f_base (SDL_GamepadType -> FFIType SDL_GamepadType
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadType
x0))
sDL_GetGamepadStringForType
:: SDL_GamepadType
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadStringForType :: SDL_GamepadType -> IO (PtrConst CChar)
sDL_GetGamepadStringForType =
SDL_GamepadType -> IO (PtrConst CChar)
hs_bindgen_aeff65b0b5fbbe2f
foreign import ccall unsafe "hs_bindgen_9c4d3cd24f36df1d"
hs_bindgen_9c4d3cd24f36df1d_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_9c4d3cd24f36df1d
:: PtrConst.PtrConst BG.CChar
-> IO SDL_GamepadAxis
hs_bindgen_9c4d3cd24f36df1d :: PtrConst CChar -> IO SDL_GamepadAxis
hs_bindgen_9c4d3cd24f36df1d =
\PtrConst CChar
x0 ->
(CInt -> SDL_GamepadAxis) -> IO CInt -> IO SDL_GamepadAxis
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> SDL_GamepadAxis
FFIType SDL_GamepadAxis -> SDL_GamepadAxis
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CInt
hs_bindgen_9c4d3cd24f36df1d_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_GetGamepadAxisFromString
:: PtrConst.PtrConst BG.CChar
-> IO SDL_GamepadAxis
sDL_GetGamepadAxisFromString :: PtrConst CChar -> IO SDL_GamepadAxis
sDL_GetGamepadAxisFromString =
PtrConst CChar -> IO SDL_GamepadAxis
hs_bindgen_9c4d3cd24f36df1d
foreign import ccall unsafe "hs_bindgen_23a85badb8b28574"
hs_bindgen_23a85badb8b28574_base
:: BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_23a85badb8b28574
:: SDL_GamepadAxis
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_23a85badb8b28574 :: SDL_GamepadAxis -> IO (PtrConst CChar)
hs_bindgen_23a85badb8b28574 =
\SDL_GamepadAxis
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 (CInt -> IO (Ptr Void)
hs_bindgen_23a85badb8b28574_base (SDL_GamepadAxis -> FFIType SDL_GamepadAxis
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadAxis
x0))
sDL_GetGamepadStringForAxis
:: SDL_GamepadAxis
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadStringForAxis :: SDL_GamepadAxis -> IO (PtrConst CChar)
sDL_GetGamepadStringForAxis =
SDL_GamepadAxis -> IO (PtrConst CChar)
hs_bindgen_23a85badb8b28574
foreign import ccall unsafe "hs_bindgen_25802ce0c34b6a29"
hs_bindgen_25802ce0c34b6a29_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_25802ce0c34b6a29
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadAxis
-> IO BG.CBool
hs_bindgen_25802ce0c34b6a29 :: Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool
hs_bindgen_25802ce0c34b6a29 =
\Ptr SDL_Gamepad
x0 ->
\SDL_GamepadAxis
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_25802ce0c34b6a29_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_GamepadAxis -> FFIType SDL_GamepadAxis
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadAxis
x1))
sDL_GamepadHasAxis
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadAxis
-> IO BG.CBool
sDL_GamepadHasAxis :: Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool
sDL_GamepadHasAxis = Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool
hs_bindgen_25802ce0c34b6a29
foreign import ccall unsafe "hs_bindgen_68503ad7a0b89c08"
hs_bindgen_68503ad7a0b89c08_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO HsBindgen.Runtime.LibC.Int16
hs_bindgen_68503ad7a0b89c08
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadAxis
-> IO SDL3.Sys.Bindgen.Stdinc.Sint16
hs_bindgen_68503ad7a0b89c08 :: Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16
hs_bindgen_68503ad7a0b89c08 =
\Ptr SDL_Gamepad
x0 ->
\SDL_GamepadAxis
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_68503ad7a0b89c08_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_GamepadAxis -> FFIType SDL_GamepadAxis
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadAxis
x1))
sDL_GetGamepadAxis
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadAxis
-> IO SDL3.Sys.Bindgen.Stdinc.Sint16
sDL_GetGamepadAxis :: Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16
sDL_GetGamepadAxis = Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16
hs_bindgen_68503ad7a0b89c08
foreign import ccall unsafe "hs_bindgen_cecec50fb2b3f9c0"
hs_bindgen_cecec50fb2b3f9c0_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_cecec50fb2b3f9c0
:: PtrConst.PtrConst BG.CChar
-> IO SDL_GamepadButton
hs_bindgen_cecec50fb2b3f9c0 :: PtrConst CChar -> IO SDL_GamepadButton
hs_bindgen_cecec50fb2b3f9c0 =
\PtrConst CChar
x0 ->
(CInt -> SDL_GamepadButton) -> IO CInt -> IO SDL_GamepadButton
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> SDL_GamepadButton
FFIType SDL_GamepadButton -> SDL_GamepadButton
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CInt
hs_bindgen_cecec50fb2b3f9c0_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_GetGamepadButtonFromString
:: PtrConst.PtrConst BG.CChar
-> IO SDL_GamepadButton
sDL_GetGamepadButtonFromString :: PtrConst CChar -> IO SDL_GamepadButton
sDL_GetGamepadButtonFromString =
PtrConst CChar -> IO SDL_GamepadButton
hs_bindgen_cecec50fb2b3f9c0
foreign import ccall unsafe "hs_bindgen_65d07695662b7e7c"
hs_bindgen_65d07695662b7e7c_base
:: BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_65d07695662b7e7c
:: SDL_GamepadButton
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_65d07695662b7e7c :: SDL_GamepadButton -> IO (PtrConst CChar)
hs_bindgen_65d07695662b7e7c =
\SDL_GamepadButton
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 (CInt -> IO (Ptr Void)
hs_bindgen_65d07695662b7e7c_base (SDL_GamepadButton -> FFIType SDL_GamepadButton
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadButton
x0))
sDL_GetGamepadStringForButton
:: SDL_GamepadButton
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadStringForButton :: SDL_GamepadButton -> IO (PtrConst CChar)
sDL_GetGamepadStringForButton =
SDL_GamepadButton -> IO (PtrConst CChar)
hs_bindgen_65d07695662b7e7c
foreign import ccall unsafe "hs_bindgen_05064f987387bd45"
hs_bindgen_05064f987387bd45_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_05064f987387bd45
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadButton
-> IO BG.CBool
hs_bindgen_05064f987387bd45 :: Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool
hs_bindgen_05064f987387bd45 =
\Ptr SDL_Gamepad
x0 ->
\SDL_GamepadButton
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_05064f987387bd45_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_GamepadButton -> FFIType SDL_GamepadButton
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadButton
x1))
sDL_GamepadHasButton
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadButton
-> IO BG.CBool
sDL_GamepadHasButton :: Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool
sDL_GamepadHasButton = Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool
hs_bindgen_05064f987387bd45
foreign import ccall unsafe "hs_bindgen_a672f55d7740b70a"
hs_bindgen_a672f55d7740b70a_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_a672f55d7740b70a
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadButton
-> IO BG.CBool
hs_bindgen_a672f55d7740b70a :: Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool
hs_bindgen_a672f55d7740b70a =
\Ptr SDL_Gamepad
x0 ->
\SDL_GamepadButton
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_a672f55d7740b70a_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_GamepadButton -> FFIType SDL_GamepadButton
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadButton
x1))
sDL_GetGamepadButton
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadButton
-> IO BG.CBool
sDL_GetGamepadButton :: Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool
sDL_GetGamepadButton = Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool
hs_bindgen_a672f55d7740b70a
foreign import ccall unsafe "hs_bindgen_6a6a621cfd450022"
hs_bindgen_6a6a621cfd450022_base
:: BG.CUInt
-> BG.CInt
-> IO BG.CUInt
hs_bindgen_6a6a621cfd450022
:: SDL_GamepadType
-> SDL_GamepadButton
-> IO SDL_GamepadButtonLabel
hs_bindgen_6a6a621cfd450022 :: SDL_GamepadType -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel
hs_bindgen_6a6a621cfd450022 =
\SDL_GamepadType
x0 ->
\SDL_GamepadButton
x1 ->
(CUInt -> SDL_GamepadButtonLabel)
-> IO CUInt -> IO SDL_GamepadButtonLabel
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_GamepadButtonLabel
FFIType SDL_GamepadButtonLabel -> SDL_GamepadButtonLabel
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUInt -> CInt -> IO CUInt
hs_bindgen_6a6a621cfd450022_base (SDL_GamepadType -> FFIType SDL_GamepadType
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadType
x0) (SDL_GamepadButton -> FFIType SDL_GamepadButton
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadButton
x1))
sDL_GetGamepadButtonLabelForType
:: SDL_GamepadType
-> SDL_GamepadButton
-> IO SDL_GamepadButtonLabel
sDL_GetGamepadButtonLabelForType :: SDL_GamepadType -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel
sDL_GetGamepadButtonLabelForType =
SDL_GamepadType -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel
hs_bindgen_6a6a621cfd450022
foreign import ccall unsafe "hs_bindgen_ea461caaa5e77e3a"
hs_bindgen_ea461caaa5e77e3a_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CUInt
hs_bindgen_ea461caaa5e77e3a
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadButton
-> IO SDL_GamepadButtonLabel
hs_bindgen_ea461caaa5e77e3a :: Ptr SDL_Gamepad -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel
hs_bindgen_ea461caaa5e77e3a =
\Ptr SDL_Gamepad
x0 ->
\SDL_GamepadButton
x1 ->
(CUInt -> SDL_GamepadButtonLabel)
-> IO CUInt -> IO SDL_GamepadButtonLabel
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_GamepadButtonLabel
FFIType SDL_GamepadButtonLabel -> SDL_GamepadButtonLabel
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CInt -> IO CUInt
hs_bindgen_ea461caaa5e77e3a_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_GamepadButton -> FFIType SDL_GamepadButton
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadButton
x1))
sDL_GetGamepadButtonLabel
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadButton
-> IO SDL_GamepadButtonLabel
sDL_GetGamepadButtonLabel :: Ptr SDL_Gamepad -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel
sDL_GetGamepadButtonLabel =
Ptr SDL_Gamepad -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel
hs_bindgen_ea461caaa5e77e3a
foreign import ccall unsafe "hs_bindgen_2d66738e85627648"
hs_bindgen_2d66738e85627648_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_2d66738e85627648
:: BG.Ptr SDL_Gamepad
-> IO BG.CInt
hs_bindgen_2d66738e85627648 :: Ptr SDL_Gamepad -> IO CInt
hs_bindgen_2d66738e85627648 =
\Ptr SDL_Gamepad
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_2d66738e85627648_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0))
sDL_GetNumGamepadTouchpads
:: BG.Ptr SDL_Gamepad
-> IO BG.CInt
sDL_GetNumGamepadTouchpads :: Ptr SDL_Gamepad -> IO CInt
sDL_GetNumGamepadTouchpads =
Ptr SDL_Gamepad -> IO CInt
hs_bindgen_2d66738e85627648
foreign import ccall unsafe "hs_bindgen_741e82f074f3aae4"
hs_bindgen_741e82f074f3aae4_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CInt
hs_bindgen_741e82f074f3aae4
:: BG.Ptr SDL_Gamepad
-> BG.CInt
-> IO BG.CInt
hs_bindgen_741e82f074f3aae4 :: Ptr SDL_Gamepad -> CInt -> IO CInt
hs_bindgen_741e82f074f3aae4 =
\Ptr SDL_Gamepad
x0 ->
\CInt
x1 ->
(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 -> CInt -> IO CInt
hs_bindgen_741e82f074f3aae4_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1))
sDL_GetNumGamepadTouchpadFingers
:: BG.Ptr SDL_Gamepad
-> BG.CInt
-> IO BG.CInt
sDL_GetNumGamepadTouchpadFingers :: Ptr SDL_Gamepad -> CInt -> IO CInt
sDL_GetNumGamepadTouchpadFingers =
Ptr SDL_Gamepad -> CInt -> IO CInt
hs_bindgen_741e82f074f3aae4
foreign import ccall unsafe "hs_bindgen_1b8db5e7a78bcf2a"
hs_bindgen_1b8db5e7a78bcf2a_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_1b8db5e7a78bcf2a
:: BG.Ptr SDL_Gamepad
-> BG.CInt
-> BG.CInt
-> BG.Ptr BG.CBool
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> IO BG.CBool
hs_bindgen_1b8db5e7a78bcf2a :: Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool
hs_bindgen_1b8db5e7a78bcf2a =
\Ptr SDL_Gamepad
x0 ->
\CInt
x1 ->
\CInt
x2 ->
\Ptr CBool
x3 ->
\Ptr CFloat
x4 ->
\Ptr CFloat
x5 ->
\Ptr 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
-> Ptr Void
-> Ptr Void
-> Ptr Void
-> Ptr Void
-> IO CBool
hs_bindgen_1b8db5e7a78bcf2a_base
(Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
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)
(Ptr CBool -> FFIType (Ptr CBool)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CBool
x3)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x4)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x5)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x6)
)
sDL_GetGamepadTouchpadFinger
:: BG.Ptr SDL_Gamepad
-> BG.CInt
-> BG.CInt
-> BG.Ptr BG.CBool
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> IO BG.CBool
sDL_GetGamepadTouchpadFinger :: Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool
sDL_GetGamepadTouchpadFinger =
Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool
hs_bindgen_1b8db5e7a78bcf2a
foreign import ccall unsafe "hs_bindgen_d58388fe9017bfd7"
hs_bindgen_d58388fe9017bfd7_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CInt
-> IO BG.CBool
hs_bindgen_d58388fe9017bfd7
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> IO BG.CBool
hs_bindgen_d58388fe9017bfd7 :: Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool
hs_bindgen_d58388fe9017bfd7 =
\Ptr SDL_Gamepad
x0 ->
\SDL_SensorType
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_d58388fe9017bfd7_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_SensorType -> FFIType SDL_SensorType
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_SensorType
x1))
sDL_GamepadHasSensor
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> IO BG.CBool
sDL_GamepadHasSensor :: Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool
sDL_GamepadHasSensor = Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool
hs_bindgen_d58388fe9017bfd7
foreign import ccall unsafe "hs_bindgen_5229480da62895d3"
hs_bindgen_5229480da62895d3_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CInt
-> BG.CBool
-> IO BG.CBool
hs_bindgen_5229480da62895d3
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> BG.CBool
-> IO BG.CBool
hs_bindgen_5229480da62895d3 :: Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool
hs_bindgen_5229480da62895d3 =
\Ptr SDL_Gamepad
x0 ->
\SDL_SensorType
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_5229480da62895d3_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_SensorType -> FFIType SDL_SensorType
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_SensorType
x1) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x2))
sDL_SetGamepadSensorEnabled
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> BG.CBool
-> IO BG.CBool
sDL_SetGamepadSensorEnabled :: Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool
sDL_SetGamepadSensorEnabled =
Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool
hs_bindgen_5229480da62895d3
foreign import ccall unsafe "hs_bindgen_cf910522abc1f0a2"
hs_bindgen_cf910522abc1f0a2_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CInt
-> IO BG.CBool
hs_bindgen_cf910522abc1f0a2
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> IO BG.CBool
hs_bindgen_cf910522abc1f0a2 :: Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool
hs_bindgen_cf910522abc1f0a2 =
\Ptr SDL_Gamepad
x0 ->
\SDL_SensorType
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_cf910522abc1f0a2_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_SensorType -> FFIType SDL_SensorType
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_SensorType
x1))
sDL_GamepadSensorEnabled
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> IO BG.CBool
sDL_GamepadSensorEnabled :: Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool
sDL_GamepadSensorEnabled =
Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool
hs_bindgen_cf910522abc1f0a2
foreign import ccall unsafe "hs_bindgen_523e72497fe70de7"
hs_bindgen_523e72497fe70de7_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CInt
-> IO BG.CFloat
hs_bindgen_523e72497fe70de7
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> IO BG.CFloat
hs_bindgen_523e72497fe70de7 :: Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat
hs_bindgen_523e72497fe70de7 =
\Ptr SDL_Gamepad
x0 ->
\SDL_SensorType
x1 ->
(CFloat -> CFloat) -> IO CFloat -> IO CFloat
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CFloat -> CFloat
FFIType CFloat -> CFloat
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CInt -> IO CFloat
hs_bindgen_523e72497fe70de7_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_SensorType -> FFIType SDL_SensorType
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_SensorType
x1))
sDL_GetGamepadSensorDataRate
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> IO BG.CFloat
sDL_GetGamepadSensorDataRate :: Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat
sDL_GetGamepadSensorDataRate =
Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat
hs_bindgen_523e72497fe70de7
foreign import ccall unsafe "hs_bindgen_772b88104300cbe9"
hs_bindgen_772b88104300cbe9_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CInt
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_772b88104300cbe9
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> BG.Ptr BG.CFloat
-> BG.CInt
-> IO BG.CBool
hs_bindgen_772b88104300cbe9 :: Ptr SDL_Gamepad -> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool
hs_bindgen_772b88104300cbe9 =
\Ptr SDL_Gamepad
x0 ->
\SDL_SensorType
x1 ->
\Ptr CFloat
x2 ->
\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 -> CInt -> IO CBool
hs_bindgen_772b88104300cbe9_base
(Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0)
(SDL_SensorType -> FFIType SDL_SensorType
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_SensorType
x1)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x2)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x3)
)
sDL_GetGamepadSensorData
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> BG.Ptr BG.CFloat
-> BG.CInt
-> IO BG.CBool
sDL_GetGamepadSensorData :: Ptr SDL_Gamepad -> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool
sDL_GetGamepadSensorData =
Ptr SDL_Gamepad -> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool
hs_bindgen_772b88104300cbe9
foreign import ccall unsafe "hs_bindgen_8a8a058abd787e14"
hs_bindgen_8a8a058abd787e14_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_8a8a058abd787e14
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_8a8a058abd787e14 :: Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_8a8a058abd787e14 =
\Ptr SDL_Gamepad
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_8a8a058abd787e14_base
(Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
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_RumbleGamepad
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_RumbleGamepad :: Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool
sDL_RumbleGamepad = Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_8a8a058abd787e14
foreign import ccall unsafe "hs_bindgen_70ab0a767dbce57a"
hs_bindgen_70ab0a767dbce57a_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word16
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_70ab0a767dbce57a
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_70ab0a767dbce57a :: Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_70ab0a767dbce57a =
\Ptr SDL_Gamepad
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_70ab0a767dbce57a_base
(Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
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_RumbleGamepadTriggers
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_RumbleGamepadTriggers :: Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool
sDL_RumbleGamepadTriggers =
Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool
hs_bindgen_70ab0a767dbce57a
foreign import ccall unsafe "hs_bindgen_2ae54d3de778ff13"
hs_bindgen_2ae54d3de778ff13_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_2ae54d3de778ff13
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_2ae54d3de778ff13 :: Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_2ae54d3de778ff13 =
\Ptr SDL_Gamepad
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_2ae54d3de778ff13_base
(Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
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_SetGamepadLED
:: BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_SetGamepadLED :: Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool
sDL_SetGamepadLED = Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_2ae54d3de778ff13
foreign import ccall unsafe "hs_bindgen_d29e9a9cdc821a93"
hs_bindgen_d29e9a9cdc821a93_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_d29e9a9cdc821a93
:: BG.Ptr SDL_Gamepad
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_d29e9a9cdc821a93 :: Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool
hs_bindgen_d29e9a9cdc821a93 =
\Ptr SDL_Gamepad
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_d29e9a9cdc821a93_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
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_SendGamepadEffect
:: BG.Ptr SDL_Gamepad
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> IO BG.CBool
sDL_SendGamepadEffect :: Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool
sDL_SendGamepadEffect = Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool
hs_bindgen_d29e9a9cdc821a93
foreign import ccall unsafe "hs_bindgen_49ebda4983cdcbad"
hs_bindgen_49ebda4983cdcbad_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_49ebda4983cdcbad
:: BG.Ptr SDL_Gamepad
-> IO ()
hs_bindgen_49ebda4983cdcbad :: Ptr SDL_Gamepad -> IO ()
hs_bindgen_49ebda4983cdcbad =
\Ptr SDL_Gamepad
x0 ->
Ptr Void -> IO ()
hs_bindgen_49ebda4983cdcbad_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0)
sDL_CloseGamepad
:: BG.Ptr SDL_Gamepad
-> IO ()
sDL_CloseGamepad :: Ptr SDL_Gamepad -> IO ()
sDL_CloseGamepad = Ptr SDL_Gamepad -> IO ()
hs_bindgen_49ebda4983cdcbad
foreign import ccall unsafe "hs_bindgen_3b3870e2dc35c94a"
hs_bindgen_3b3870e2dc35c94a_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_3b3870e2dc35c94a
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadButton
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_3b3870e2dc35c94a :: Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar)
hs_bindgen_3b3870e2dc35c94a =
\Ptr SDL_Gamepad
x0 ->
\SDL_GamepadButton
x1 ->
(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 -> CInt -> IO (Ptr Void)
hs_bindgen_3b3870e2dc35c94a_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_GamepadButton -> FFIType SDL_GamepadButton
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadButton
x1))
sDL_GetGamepadAppleSFSymbolsNameForButton
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadButton
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadAppleSFSymbolsNameForButton :: Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar)
sDL_GetGamepadAppleSFSymbolsNameForButton =
Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar)
hs_bindgen_3b3870e2dc35c94a
foreign import ccall unsafe "hs_bindgen_d904c8d057a68120"
hs_bindgen_d904c8d057a68120_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_d904c8d057a68120
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadAxis
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_d904c8d057a68120 :: Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar)
hs_bindgen_d904c8d057a68120 =
\Ptr SDL_Gamepad
x0 ->
\SDL_GamepadAxis
x1 ->
(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 -> CInt -> IO (Ptr Void)
hs_bindgen_d904c8d057a68120_base (Ptr SDL_Gamepad -> FFIType (Ptr SDL_Gamepad)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Gamepad
x0) (SDL_GamepadAxis -> FFIType SDL_GamepadAxis
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GamepadAxis
x1))
sDL_GetGamepadAppleSFSymbolsNameForAxis
:: BG.Ptr SDL_Gamepad
-> SDL_GamepadAxis
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGamepadAppleSFSymbolsNameForAxis :: Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar)
sDL_GetGamepadAppleSFSymbolsNameForAxis =
Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar)
hs_bindgen_d904c8d057a68120