{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Gamepad.FunPtr (
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_AddGamepadMapping,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_AddGamepadMappingsFromIO,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_AddGamepadMappingsFromFile,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_ReloadGamepadMappings,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadMappings,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadMappingForGUID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadMapping,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_SetGamepadMapping,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_HasGamepad,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepads,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_IsGamepad,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadNameForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadPathForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadPlayerIndexForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadGUIDForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadVendorForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadProductForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadProductVersionForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadTypeForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetRealGamepadTypeForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadMappingForID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_OpenGamepad,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadFromID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadFromPlayerIndex,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadProperties,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadID,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadName,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadPath,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadType,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetRealGamepadType,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadPlayerIndex,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_SetGamepadPlayerIndex,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadVendor,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadProduct,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadProductVersion,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadFirmwareVersion,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadSerial,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadSteamHandle,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadConnectionState,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadPowerInfo,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GamepadConnected,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadJoystick,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_SetGamepadEventsEnabled,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GamepadEventsEnabled,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadBindings,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_UpdateGamepads,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadTypeFromString,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadStringForType,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadAxisFromString,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadStringForAxis,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GamepadHasAxis,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadAxis,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadButtonFromString,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadStringForButton,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GamepadHasButton,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadButton,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadButtonLabelForType,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadButtonLabel,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetNumGamepadTouchpads,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetNumGamepadTouchpadFingers,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadTouchpadFinger,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GamepadHasSensor,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_SetGamepadSensorEnabled,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GamepadSensorEnabled,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadSensorDataRate,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadSensorData,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_RumbleGamepad,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_RumbleGamepadTriggers,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_SetGamepadLED,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_SendGamepadEffect,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_CloseGamepad,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadAppleSFSymbolsNameForButton,
SDL3.Sys.Bindgen.Gamepad.FunPtr.sDL_GetGamepadAppleSFSymbolsNameForAxis,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.PtrConst qualified as PtrConst
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>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_AddGamepadMapping */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_f56db84bc08d998c (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_AddGamepadMapping;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_AddGamepadMappingsFromIO */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_a541948e617e6e63 (void)) ("
, " SDL_IOStream *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return &SDL_AddGamepadMappingsFromIO;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_AddGamepadMappingsFromFile */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_41978012228f1faa (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_AddGamepadMappingsFromFile;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_ReloadGamepadMappings */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_4df07d31710d5cb5 (void)) (void)"
, "{"
, " return &SDL_ReloadGamepadMappings;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadMappings */"
, "__attribute__ ((const))"
, "char **(*hs_bindgen_eeb3cc137ed4da1e (void)) ("
, " signed int *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadMappings;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadMappingForGUID */"
, "__attribute__ ((const))"
, "char *(*hs_bindgen_676f8bee7fec25e8 (void)) ("
, " SDL_GUID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadMappingForGUID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadMapping */"
, "__attribute__ ((const))"
, "char *(*hs_bindgen_330564406990299e (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadMapping;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_SetGamepadMapping */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_f7235f6f99c772ca (void)) ("
, " SDL_JoystickID arg1,"
, " char const *arg2"
, ")"
, "{"
, " return &SDL_SetGamepadMapping;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_HasGamepad */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_171b935423ed7323 (void)) (void)"
, "{"
, " return &SDL_HasGamepad;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepads */"
, "__attribute__ ((const))"
, "SDL_JoystickID *(*hs_bindgen_095806a9813b5184 (void)) ("
, " signed int *arg1"
, ")"
, "{"
, " return &SDL_GetGamepads;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_IsGamepad */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_d37b79b846feea5a (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_IsGamepad;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadNameForID */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_4149d7834c57d24c (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadNameForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadPathForID */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_e6466e1cd168d223 (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadPathForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadPlayerIndexForID */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_2b10ba6f8bda9f40 (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadPlayerIndexForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadGUIDForID */"
, "__attribute__ ((const))"
, "SDL_GUID (*hs_bindgen_a8f30b2ab2c4c03d (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadGUIDForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadVendorForID */"
, "__attribute__ ((const))"
, "Uint16 (*hs_bindgen_1c8946f34d79c303 (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadVendorForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadProductForID */"
, "__attribute__ ((const))"
, "Uint16 (*hs_bindgen_edfc500830dad203 (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadProductForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadProductVersionForID */"
, "__attribute__ ((const))"
, "Uint16 (*hs_bindgen_ccbc199841dd7663 (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadProductVersionForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadTypeForID */"
, "__attribute__ ((const))"
, "SDL_GamepadType (*hs_bindgen_a56519061f425d2d (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadTypeForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetRealGamepadTypeForID */"
, "__attribute__ ((const))"
, "SDL_GamepadType (*hs_bindgen_ea844fcc269b3863 (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetRealGamepadTypeForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadMappingForID */"
, "__attribute__ ((const))"
, "char *(*hs_bindgen_3a88aaf2c38a542b (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadMappingForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_OpenGamepad */"
, "__attribute__ ((const))"
, "SDL_Gamepad *(*hs_bindgen_d2263d27295e9ca6 (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_OpenGamepad;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadFromID */"
, "__attribute__ ((const))"
, "SDL_Gamepad *(*hs_bindgen_a2eccf4e721a7b78 (void)) ("
, " SDL_JoystickID arg1"
, ")"
, "{"
, " return &SDL_GetGamepadFromID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadFromPlayerIndex */"
, "__attribute__ ((const))"
, "SDL_Gamepad *(*hs_bindgen_d5762153bda1c5a2 (void)) ("
, " signed int arg1"
, ")"
, "{"
, " return &SDL_GetGamepadFromPlayerIndex;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadProperties */"
, "__attribute__ ((const))"
, "SDL_PropertiesID (*hs_bindgen_f6b1c3e515df26bf (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadProperties;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadID */"
, "__attribute__ ((const))"
, "SDL_JoystickID (*hs_bindgen_aeb6f834f1bb9bba (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadName */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_a6ba120e3c657e82 (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadName;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadPath */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_25cf3224bc5505cc (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadPath;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadType */"
, "__attribute__ ((const))"
, "SDL_GamepadType (*hs_bindgen_131b0de798357722 (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadType;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetRealGamepadType */"
, "__attribute__ ((const))"
, "SDL_GamepadType (*hs_bindgen_299f836c8b95a4d8 (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetRealGamepadType;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadPlayerIndex */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_c48d71502b4eef8f (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadPlayerIndex;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_SetGamepadPlayerIndex */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_90716136f5deb4d3 (void)) ("
, " SDL_Gamepad *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return &SDL_SetGamepadPlayerIndex;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadVendor */"
, "__attribute__ ((const))"
, "Uint16 (*hs_bindgen_ffa764d02a95dc96 (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadVendor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadProduct */"
, "__attribute__ ((const))"
, "Uint16 (*hs_bindgen_22ebf47a7ce663ce (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadProduct;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadProductVersion */"
, "__attribute__ ((const))"
, "Uint16 (*hs_bindgen_cb998d733e296e5c (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadProductVersion;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadFirmwareVersion */"
, "__attribute__ ((const))"
, "Uint16 (*hs_bindgen_dddc5b49b1eab050 (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadFirmwareVersion;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadSerial */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_ee2ba2bdd8e4e8f4 (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadSerial;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadSteamHandle */"
, "__attribute__ ((const))"
, "Uint64 (*hs_bindgen_3f35ecfbc73c387c (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadSteamHandle;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadConnectionState */"
, "__attribute__ ((const))"
, "SDL_JoystickConnectionState (*hs_bindgen_53909ff1f2a38eeb (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadConnectionState;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadPowerInfo */"
, "__attribute__ ((const))"
, "SDL_PowerState (*hs_bindgen_c9db854f84cfdf17 (void)) ("
, " SDL_Gamepad *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return &SDL_GetGamepadPowerInfo;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GamepadConnected */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_f53e7088d703eb0d (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GamepadConnected;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadJoystick */"
, "__attribute__ ((const))"
, "SDL_Joystick *(*hs_bindgen_437957a44b873407 (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadJoystick;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_SetGamepadEventsEnabled */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_bd360bbccf8e02d1 (void)) ("
, " _Bool arg1"
, ")"
, "{"
, " return &SDL_SetGamepadEventsEnabled;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GamepadEventsEnabled */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_495749302a88fada (void)) (void)"
, "{"
, " return &SDL_GamepadEventsEnabled;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadBindings */"
, "__attribute__ ((const))"
, "SDL_GamepadBinding **(*hs_bindgen_3bbe8c4408199173 (void)) ("
, " SDL_Gamepad *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return &SDL_GetGamepadBindings;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_UpdateGamepads */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_3029fdebe260ad88 (void)) (void)"
, "{"
, " return &SDL_UpdateGamepads;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadTypeFromString */"
, "__attribute__ ((const))"
, "SDL_GamepadType (*hs_bindgen_919d1827bf3ece38 (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadTypeFromString;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadStringForType */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_e0a2bc0194ece97f (void)) ("
, " SDL_GamepadType arg1"
, ")"
, "{"
, " return &SDL_GetGamepadStringForType;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadAxisFromString */"
, "__attribute__ ((const))"
, "SDL_GamepadAxis (*hs_bindgen_3e2dae12c3051365 (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadAxisFromString;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadStringForAxis */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_4979edfa77e4fc76 (void)) ("
, " SDL_GamepadAxis arg1"
, ")"
, "{"
, " return &SDL_GetGamepadStringForAxis;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GamepadHasAxis */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_3ea6abfb2ca9a69e (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadAxis arg2"
, ")"
, "{"
, " return &SDL_GamepadHasAxis;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadAxis */"
, "__attribute__ ((const))"
, "Sint16 (*hs_bindgen_a8dfd9fddde7c51f (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadAxis arg2"
, ")"
, "{"
, " return &SDL_GetGamepadAxis;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadButtonFromString */"
, "__attribute__ ((const))"
, "SDL_GamepadButton (*hs_bindgen_aacf61245766bd7f (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_GetGamepadButtonFromString;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadStringForButton */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_e28b377b66d430c7 (void)) ("
, " SDL_GamepadButton arg1"
, ")"
, "{"
, " return &SDL_GetGamepadStringForButton;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GamepadHasButton */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_915b6e8126454256 (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return &SDL_GamepadHasButton;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadButton */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_f63603565928dd6d (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return &SDL_GetGamepadButton;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadButtonLabelForType */"
, "__attribute__ ((const))"
, "SDL_GamepadButtonLabel (*hs_bindgen_5d5da36c408f3ed5 (void)) ("
, " SDL_GamepadType arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return &SDL_GetGamepadButtonLabelForType;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadButtonLabel */"
, "__attribute__ ((const))"
, "SDL_GamepadButtonLabel (*hs_bindgen_6c96bb1d7ac32853 (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return &SDL_GetGamepadButtonLabel;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetNumGamepadTouchpads */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_de275259788d26ed (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_GetNumGamepadTouchpads;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetNumGamepadTouchpadFingers */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_acaeb05c5893aeba (void)) ("
, " SDL_Gamepad *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return &SDL_GetNumGamepadTouchpadFingers;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadTouchpadFinger */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_4408908532932c4e (void)) ("
, " SDL_Gamepad *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " _Bool *arg4,"
, " float *arg5,"
, " float *arg6,"
, " float *arg7"
, ")"
, "{"
, " return &SDL_GetGamepadTouchpadFinger;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GamepadHasSensor */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_041741220ac7e52d (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2"
, ")"
, "{"
, " return &SDL_GamepadHasSensor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_SetGamepadSensorEnabled */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_04571bb432b35b67 (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return &SDL_SetGamepadSensorEnabled;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GamepadSensorEnabled */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_98c53abf20c77167 (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2"
, ")"
, "{"
, " return &SDL_GamepadSensorEnabled;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadSensorDataRate */"
, "__attribute__ ((const))"
, "float (*hs_bindgen_b6592bd554a6f989 (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2"
, ")"
, "{"
, " return &SDL_GetGamepadSensorDataRate;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadSensorData */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_9753ce47b936d3ec (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_SensorType arg2,"
, " float *arg3,"
, " signed int arg4"
, ")"
, "{"
, " return &SDL_GetGamepadSensorData;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_RumbleGamepad */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_66c29b053dd2103a (void)) ("
, " SDL_Gamepad *arg1,"
, " Uint16 arg2,"
, " Uint16 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return &SDL_RumbleGamepad;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_RumbleGamepadTriggers */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_d96d791857c3d06b (void)) ("
, " SDL_Gamepad *arg1,"
, " Uint16 arg2,"
, " Uint16 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return &SDL_RumbleGamepadTriggers;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_SetGamepadLED */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_fb1de1463dc236a8 (void)) ("
, " SDL_Gamepad *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4"
, ")"
, "{"
, " return &SDL_SetGamepadLED;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_SendGamepadEffect */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_5961396a3fadcac6 (void)) ("
, " SDL_Gamepad *arg1,"
, " void const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return &SDL_SendGamepadEffect;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_CloseGamepad */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_599bdf2afa4631b2 (void)) ("
, " SDL_Gamepad *arg1"
, ")"
, "{"
, " return &SDL_CloseGamepad;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadAppleSFSymbolsNameForButton */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_901b303b0d647ea4 (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadButton arg2"
, ")"
, "{"
, " return &SDL_GetGamepadAppleSFSymbolsNameForButton;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Gamepad_get_SDL_GetGamepadAppleSFSymbolsNameForAxis */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_0f564808a8b0fec7 (void)) ("
, " SDL_Gamepad *arg1,"
, " SDL_GamepadAxis arg2"
, ")"
, "{"
, " return &SDL_GetGamepadAppleSFSymbolsNameForAxis;"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_f56db84bc08d998c"
hs_bindgen_f56db84bc08d998c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_f56db84bc08d998c :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CInt))
hs_bindgen_f56db84bc08d998c :: IO (FunPtr (PtrConst CChar -> IO CInt))
hs_bindgen_f56db84bc08d998c =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (PtrConst CChar -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (PtrConst CChar -> IO CInt)
FFIType (FunPtr (PtrConst CChar -> IO CInt))
-> FunPtr (PtrConst CChar -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_f56db84bc08d998c_base
{-# NOINLINE sDL_AddGamepadMapping #-}
sDL_AddGamepadMapping :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CInt)
sDL_AddGamepadMapping :: FunPtr (PtrConst CChar -> IO CInt)
sDL_AddGamepadMapping =
IO (FunPtr (PtrConst CChar -> IO CInt))
-> FunPtr (PtrConst CChar -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO CInt))
hs_bindgen_f56db84bc08d998c
foreign import ccall unsafe "hs_bindgen_a541948e617e6e63"
hs_bindgen_a541948e617e6e63_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a541948e617e6e63
:: IO (BG.FunPtr (BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream -> BG.CBool -> IO BG.CInt))
hs_bindgen_a541948e617e6e63 :: IO (FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt))
hs_bindgen_a541948e617e6e63 =
(FunPtr Void -> FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt)
FFIType (FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt))
-> FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a541948e617e6e63_base
{-# NOINLINE sDL_AddGamepadMappingsFromIO #-}
sDL_AddGamepadMappingsFromIO
:: BG.FunPtr (BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream -> BG.CBool -> IO BG.CInt)
sDL_AddGamepadMappingsFromIO :: FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt)
sDL_AddGamepadMappingsFromIO =
IO (FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt))
-> FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_IOStream -> CBool -> IO CInt))
hs_bindgen_a541948e617e6e63
foreign import ccall unsafe "hs_bindgen_41978012228f1faa"
hs_bindgen_41978012228f1faa_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_41978012228f1faa :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CInt))
hs_bindgen_41978012228f1faa :: IO (FunPtr (PtrConst CChar -> IO CInt))
hs_bindgen_41978012228f1faa =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (PtrConst CChar -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (PtrConst CChar -> IO CInt)
FFIType (FunPtr (PtrConst CChar -> IO CInt))
-> FunPtr (PtrConst CChar -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_41978012228f1faa_base
{-# NOINLINE sDL_AddGamepadMappingsFromFile #-}
sDL_AddGamepadMappingsFromFile :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CInt)
sDL_AddGamepadMappingsFromFile :: FunPtr (PtrConst CChar -> IO CInt)
sDL_AddGamepadMappingsFromFile =
IO (FunPtr (PtrConst CChar -> IO CInt))
-> FunPtr (PtrConst CChar -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO CInt))
hs_bindgen_41978012228f1faa
foreign import ccall unsafe "hs_bindgen_4df07d31710d5cb5"
hs_bindgen_4df07d31710d5cb5_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4df07d31710d5cb5 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_4df07d31710d5cb5 :: IO (FunPtr (IO CBool))
hs_bindgen_4df07d31710d5cb5 =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4df07d31710d5cb5_base
{-# NOINLINE sDL_ReloadGamepadMappings #-}
sDL_ReloadGamepadMappings :: BG.FunPtr (IO BG.CBool)
sDL_ReloadGamepadMappings :: FunPtr (IO CBool)
sDL_ReloadGamepadMappings =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_4df07d31710d5cb5
foreign import ccall unsafe "hs_bindgen_eeb3cc137ed4da1e"
hs_bindgen_eeb3cc137ed4da1e_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_eeb3cc137ed4da1e :: IO (BG.FunPtr (BG.Ptr BG.CInt -> IO (BG.Ptr (BG.Ptr BG.CChar))))
hs_bindgen_eeb3cc137ed4da1e :: IO (FunPtr (Ptr CInt -> IO (Ptr (Ptr CChar))))
hs_bindgen_eeb3cc137ed4da1e =
(FunPtr Void -> FunPtr (Ptr CInt -> IO (Ptr (Ptr CChar))))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr CInt -> 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 FunPtr Void -> FunPtr (Ptr CInt -> IO (Ptr (Ptr CChar)))
FFIType (FunPtr (Ptr CInt -> IO (Ptr (Ptr CChar))))
-> FunPtr (Ptr CInt -> IO (Ptr (Ptr CChar)))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_eeb3cc137ed4da1e_base
{-# NOINLINE sDL_GetGamepadMappings #-}
sDL_GetGamepadMappings :: BG.FunPtr (BG.Ptr BG.CInt -> IO (BG.Ptr (BG.Ptr BG.CChar)))
sDL_GetGamepadMappings :: FunPtr (Ptr CInt -> IO (Ptr (Ptr CChar)))
sDL_GetGamepadMappings =
IO (FunPtr (Ptr CInt -> IO (Ptr (Ptr CChar))))
-> FunPtr (Ptr CInt -> IO (Ptr (Ptr CChar)))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr CInt -> IO (Ptr (Ptr CChar))))
hs_bindgen_eeb3cc137ed4da1e
foreign import ccall unsafe "hs_bindgen_676f8bee7fec25e8"
hs_bindgen_676f8bee7fec25e8_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_676f8bee7fec25e8
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Guid.SDL_GUID -> IO (BG.Ptr BG.CChar)))
hs_bindgen_676f8bee7fec25e8 :: IO (FunPtr (SDL_GUID -> IO (Ptr CChar)))
hs_bindgen_676f8bee7fec25e8 =
(FunPtr Void -> FunPtr (SDL_GUID -> IO (Ptr CChar)))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_GUID -> 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 FunPtr Void -> FunPtr (SDL_GUID -> IO (Ptr CChar))
FFIType (FunPtr (SDL_GUID -> IO (Ptr CChar)))
-> FunPtr (SDL_GUID -> IO (Ptr CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_676f8bee7fec25e8_base
{-# NOINLINE sDL_GetGamepadMappingForGUID #-}
sDL_GetGamepadMappingForGUID :: BG.FunPtr (SDL3.Sys.Bindgen.Guid.SDL_GUID -> IO (BG.Ptr BG.CChar))
sDL_GetGamepadMappingForGUID :: FunPtr (SDL_GUID -> IO (Ptr CChar))
sDL_GetGamepadMappingForGUID =
IO (FunPtr (SDL_GUID -> IO (Ptr CChar)))
-> FunPtr (SDL_GUID -> IO (Ptr CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_GUID -> IO (Ptr CChar)))
hs_bindgen_676f8bee7fec25e8
foreign import ccall unsafe "hs_bindgen_330564406990299e"
hs_bindgen_330564406990299e_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_330564406990299e :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (BG.Ptr BG.CChar)))
hs_bindgen_330564406990299e :: IO (FunPtr (Ptr SDL_Gamepad -> IO (Ptr CChar)))
hs_bindgen_330564406990299e =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (Ptr CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (Ptr CChar))
FFIType (FunPtr (Ptr SDL_Gamepad -> IO (Ptr CChar)))
-> FunPtr (Ptr SDL_Gamepad -> IO (Ptr CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_330564406990299e_base
{-# NOINLINE sDL_GetGamepadMapping #-}
sDL_GetGamepadMapping :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (BG.Ptr BG.CChar))
sDL_GetGamepadMapping :: FunPtr (Ptr SDL_Gamepad -> IO (Ptr CChar))
sDL_GetGamepadMapping =
IO (FunPtr (Ptr SDL_Gamepad -> IO (Ptr CChar)))
-> FunPtr (Ptr SDL_Gamepad -> IO (Ptr CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO (Ptr CChar)))
hs_bindgen_330564406990299e
foreign import ccall unsafe "hs_bindgen_f7235f6f99c772ca"
hs_bindgen_f7235f6f99c772ca_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_f7235f6f99c772ca
:: IO
(BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> PtrConst.PtrConst BG.CChar -> IO BG.CBool))
hs_bindgen_f7235f6f99c772ca :: IO (FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool))
hs_bindgen_f7235f6f99c772ca =
(FunPtr Void
-> FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool)
FFIType (FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool))
-> FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_f7235f6f99c772ca_base
{-# NOINLINE sDL_SetGamepadMapping #-}
sDL_SetGamepadMapping
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> PtrConst.PtrConst BG.CChar -> IO BG.CBool)
sDL_SetGamepadMapping :: FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool)
sDL_SetGamepadMapping =
IO (FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool))
-> FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> PtrConst CChar -> IO CBool))
hs_bindgen_f7235f6f99c772ca
foreign import ccall unsafe "hs_bindgen_171b935423ed7323"
hs_bindgen_171b935423ed7323_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_171b935423ed7323 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_171b935423ed7323 :: IO (FunPtr (IO CBool))
hs_bindgen_171b935423ed7323 =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_171b935423ed7323_base
{-# NOINLINE sDL_HasGamepad #-}
sDL_HasGamepad :: BG.FunPtr (IO BG.CBool)
sDL_HasGamepad :: FunPtr (IO CBool)
sDL_HasGamepad =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_171b935423ed7323
foreign import ccall unsafe "hs_bindgen_095806a9813b5184"
hs_bindgen_095806a9813b5184_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_095806a9813b5184
:: IO (BG.FunPtr (BG.Ptr BG.CInt -> IO (BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_JoystickID)))
hs_bindgen_095806a9813b5184 :: IO (FunPtr (Ptr CInt -> IO (Ptr SDL_JoystickID)))
hs_bindgen_095806a9813b5184 =
(FunPtr Void -> FunPtr (Ptr CInt -> IO (Ptr SDL_JoystickID)))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr CInt -> 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 FunPtr Void -> FunPtr (Ptr CInt -> IO (Ptr SDL_JoystickID))
FFIType (FunPtr (Ptr CInt -> IO (Ptr SDL_JoystickID)))
-> FunPtr (Ptr CInt -> IO (Ptr SDL_JoystickID))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_095806a9813b5184_base
{-# NOINLINE sDL_GetGamepads #-}
sDL_GetGamepads
:: BG.FunPtr (BG.Ptr BG.CInt -> IO (BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_JoystickID))
sDL_GetGamepads :: FunPtr (Ptr CInt -> IO (Ptr SDL_JoystickID))
sDL_GetGamepads =
IO (FunPtr (Ptr CInt -> IO (Ptr SDL_JoystickID)))
-> FunPtr (Ptr CInt -> IO (Ptr SDL_JoystickID))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr CInt -> IO (Ptr SDL_JoystickID)))
hs_bindgen_095806a9813b5184
foreign import ccall unsafe "hs_bindgen_d37b79b846feea5a"
hs_bindgen_d37b79b846feea5a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_d37b79b846feea5a
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO BG.CBool))
hs_bindgen_d37b79b846feea5a :: IO (FunPtr (SDL_JoystickID -> IO CBool))
hs_bindgen_d37b79b846feea5a =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_JoystickID -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (SDL_JoystickID -> IO CBool)
FFIType (FunPtr (SDL_JoystickID -> IO CBool))
-> FunPtr (SDL_JoystickID -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_d37b79b846feea5a_base
{-# NOINLINE sDL_IsGamepad #-}
sDL_IsGamepad :: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO BG.CBool)
sDL_IsGamepad :: FunPtr (SDL_JoystickID -> IO CBool)
sDL_IsGamepad =
IO (FunPtr (SDL_JoystickID -> IO CBool))
-> FunPtr (SDL_JoystickID -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO CBool))
hs_bindgen_d37b79b846feea5a
foreign import ccall unsafe "hs_bindgen_4149d7834c57d24c"
hs_bindgen_4149d7834c57d24c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4149d7834c57d24c
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_4149d7834c57d24c :: IO (FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
hs_bindgen_4149d7834c57d24c =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_JoystickID -> 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 FunPtr Void -> FunPtr (SDL_JoystickID -> IO (PtrConst CChar))
FFIType (FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
-> FunPtr (SDL_JoystickID -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4149d7834c57d24c_base
{-# NOINLINE sDL_GetGamepadNameForID #-}
sDL_GetGamepadNameForID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadNameForID :: FunPtr (SDL_JoystickID -> IO (PtrConst CChar))
sDL_GetGamepadNameForID =
IO (FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
-> FunPtr (SDL_JoystickID -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
hs_bindgen_4149d7834c57d24c
foreign import ccall unsafe "hs_bindgen_e6466e1cd168d223"
hs_bindgen_e6466e1cd168d223_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e6466e1cd168d223
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_e6466e1cd168d223 :: IO (FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
hs_bindgen_e6466e1cd168d223 =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_JoystickID -> 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 FunPtr Void -> FunPtr (SDL_JoystickID -> IO (PtrConst CChar))
FFIType (FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
-> FunPtr (SDL_JoystickID -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e6466e1cd168d223_base
{-# NOINLINE sDL_GetGamepadPathForID #-}
sDL_GetGamepadPathForID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadPathForID :: FunPtr (SDL_JoystickID -> IO (PtrConst CChar))
sDL_GetGamepadPathForID =
IO (FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
-> FunPtr (SDL_JoystickID -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO (PtrConst CChar)))
hs_bindgen_e6466e1cd168d223
foreign import ccall unsafe "hs_bindgen_2b10ba6f8bda9f40"
hs_bindgen_2b10ba6f8bda9f40_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_2b10ba6f8bda9f40
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO BG.CInt))
hs_bindgen_2b10ba6f8bda9f40 :: IO (FunPtr (SDL_JoystickID -> IO CInt))
hs_bindgen_2b10ba6f8bda9f40 =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_JoystickID -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (SDL_JoystickID -> IO CInt)
FFIType (FunPtr (SDL_JoystickID -> IO CInt))
-> FunPtr (SDL_JoystickID -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_2b10ba6f8bda9f40_base
{-# NOINLINE sDL_GetGamepadPlayerIndexForID #-}
sDL_GetGamepadPlayerIndexForID :: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO BG.CInt)
sDL_GetGamepadPlayerIndexForID :: FunPtr (SDL_JoystickID -> IO CInt)
sDL_GetGamepadPlayerIndexForID =
IO (FunPtr (SDL_JoystickID -> IO CInt))
-> FunPtr (SDL_JoystickID -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO CInt))
hs_bindgen_2b10ba6f8bda9f40
foreign import ccall unsafe "hs_bindgen_a8f30b2ab2c4c03d"
hs_bindgen_a8f30b2ab2c4c03d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a8f30b2ab2c4c03d
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL3.Sys.Bindgen.Guid.SDL_GUID))
hs_bindgen_a8f30b2ab2c4c03d :: IO (FunPtr (SDL_JoystickID -> IO SDL_GUID))
hs_bindgen_a8f30b2ab2c4c03d =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO SDL_GUID))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_JoystickID -> IO SDL_GUID))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (SDL_JoystickID -> IO SDL_GUID)
FFIType (FunPtr (SDL_JoystickID -> IO SDL_GUID))
-> FunPtr (SDL_JoystickID -> IO SDL_GUID)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a8f30b2ab2c4c03d_base
{-# NOINLINE sDL_GetGamepadGUIDForID #-}
sDL_GetGamepadGUIDForID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL3.Sys.Bindgen.Guid.SDL_GUID)
sDL_GetGamepadGUIDForID :: FunPtr (SDL_JoystickID -> IO SDL_GUID)
sDL_GetGamepadGUIDForID =
IO (FunPtr (SDL_JoystickID -> IO SDL_GUID))
-> FunPtr (SDL_JoystickID -> IO SDL_GUID)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO SDL_GUID))
hs_bindgen_a8f30b2ab2c4c03d
foreign import ccall unsafe "hs_bindgen_1c8946f34d79c303"
hs_bindgen_1c8946f34d79c303_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_1c8946f34d79c303
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL3.Sys.Bindgen.Stdinc.Uint16))
hs_bindgen_1c8946f34d79c303 :: IO (FunPtr (SDL_JoystickID -> IO Uint16))
hs_bindgen_1c8946f34d79c303 =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO Uint16))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_JoystickID -> IO Uint16))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (SDL_JoystickID -> IO Uint16)
FFIType (FunPtr (SDL_JoystickID -> IO Uint16))
-> FunPtr (SDL_JoystickID -> IO Uint16)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_1c8946f34d79c303_base
{-# NOINLINE sDL_GetGamepadVendorForID #-}
sDL_GetGamepadVendorForID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL3.Sys.Bindgen.Stdinc.Uint16)
sDL_GetGamepadVendorForID :: FunPtr (SDL_JoystickID -> IO Uint16)
sDL_GetGamepadVendorForID =
IO (FunPtr (SDL_JoystickID -> IO Uint16))
-> FunPtr (SDL_JoystickID -> IO Uint16)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO Uint16))
hs_bindgen_1c8946f34d79c303
foreign import ccall unsafe "hs_bindgen_edfc500830dad203"
hs_bindgen_edfc500830dad203_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_edfc500830dad203
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL3.Sys.Bindgen.Stdinc.Uint16))
hs_bindgen_edfc500830dad203 :: IO (FunPtr (SDL_JoystickID -> IO Uint16))
hs_bindgen_edfc500830dad203 =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO Uint16))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_JoystickID -> IO Uint16))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (SDL_JoystickID -> IO Uint16)
FFIType (FunPtr (SDL_JoystickID -> IO Uint16))
-> FunPtr (SDL_JoystickID -> IO Uint16)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_edfc500830dad203_base
{-# NOINLINE sDL_GetGamepadProductForID #-}
sDL_GetGamepadProductForID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL3.Sys.Bindgen.Stdinc.Uint16)
sDL_GetGamepadProductForID :: FunPtr (SDL_JoystickID -> IO Uint16)
sDL_GetGamepadProductForID =
IO (FunPtr (SDL_JoystickID -> IO Uint16))
-> FunPtr (SDL_JoystickID -> IO Uint16)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO Uint16))
hs_bindgen_edfc500830dad203
foreign import ccall unsafe "hs_bindgen_ccbc199841dd7663"
hs_bindgen_ccbc199841dd7663_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ccbc199841dd7663
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL3.Sys.Bindgen.Stdinc.Uint16))
hs_bindgen_ccbc199841dd7663 :: IO (FunPtr (SDL_JoystickID -> IO Uint16))
hs_bindgen_ccbc199841dd7663 =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO Uint16))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_JoystickID -> IO Uint16))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (SDL_JoystickID -> IO Uint16)
FFIType (FunPtr (SDL_JoystickID -> IO Uint16))
-> FunPtr (SDL_JoystickID -> IO Uint16)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_ccbc199841dd7663_base
{-# NOINLINE sDL_GetGamepadProductVersionForID #-}
sDL_GetGamepadProductVersionForID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL3.Sys.Bindgen.Stdinc.Uint16)
sDL_GetGamepadProductVersionForID :: FunPtr (SDL_JoystickID -> IO Uint16)
sDL_GetGamepadProductVersionForID =
IO (FunPtr (SDL_JoystickID -> IO Uint16))
-> FunPtr (SDL_JoystickID -> IO Uint16)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO Uint16))
hs_bindgen_ccbc199841dd7663
foreign import ccall unsafe "hs_bindgen_a56519061f425d2d"
hs_bindgen_a56519061f425d2d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a56519061f425d2d
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL_GamepadType))
hs_bindgen_a56519061f425d2d :: IO (FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
hs_bindgen_a56519061f425d2d =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_JoystickID -> 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 FunPtr Void -> FunPtr (SDL_JoystickID -> IO SDL_GamepadType)
FFIType (FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
-> FunPtr (SDL_JoystickID -> IO SDL_GamepadType)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a56519061f425d2d_base
{-# NOINLINE sDL_GetGamepadTypeForID #-}
sDL_GetGamepadTypeForID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL_GamepadType)
sDL_GetGamepadTypeForID :: FunPtr (SDL_JoystickID -> IO SDL_GamepadType)
sDL_GetGamepadTypeForID =
IO (FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
-> FunPtr (SDL_JoystickID -> IO SDL_GamepadType)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
hs_bindgen_a56519061f425d2d
foreign import ccall unsafe "hs_bindgen_ea844fcc269b3863"
hs_bindgen_ea844fcc269b3863_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ea844fcc269b3863
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL_GamepadType))
hs_bindgen_ea844fcc269b3863 :: IO (FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
hs_bindgen_ea844fcc269b3863 =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_JoystickID -> 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 FunPtr Void -> FunPtr (SDL_JoystickID -> IO SDL_GamepadType)
FFIType (FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
-> FunPtr (SDL_JoystickID -> IO SDL_GamepadType)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_ea844fcc269b3863_base
{-# NOINLINE sDL_GetRealGamepadTypeForID #-}
sDL_GetRealGamepadTypeForID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO SDL_GamepadType)
sDL_GetRealGamepadTypeForID :: FunPtr (SDL_JoystickID -> IO SDL_GamepadType)
sDL_GetRealGamepadTypeForID =
IO (FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
-> FunPtr (SDL_JoystickID -> IO SDL_GamepadType)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO SDL_GamepadType))
hs_bindgen_ea844fcc269b3863
foreign import ccall unsafe "hs_bindgen_3a88aaf2c38a542b"
hs_bindgen_3a88aaf2c38a542b_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3a88aaf2c38a542b
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (BG.Ptr BG.CChar)))
hs_bindgen_3a88aaf2c38a542b :: IO (FunPtr (SDL_JoystickID -> IO (Ptr CChar)))
hs_bindgen_3a88aaf2c38a542b =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO (Ptr CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_JoystickID -> 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 FunPtr Void -> FunPtr (SDL_JoystickID -> IO (Ptr CChar))
FFIType (FunPtr (SDL_JoystickID -> IO (Ptr CChar)))
-> FunPtr (SDL_JoystickID -> IO (Ptr CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3a88aaf2c38a542b_base
{-# NOINLINE sDL_GetGamepadMappingForID #-}
sDL_GetGamepadMappingForID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (BG.Ptr BG.CChar))
sDL_GetGamepadMappingForID :: FunPtr (SDL_JoystickID -> IO (Ptr CChar))
sDL_GetGamepadMappingForID =
IO (FunPtr (SDL_JoystickID -> IO (Ptr CChar)))
-> FunPtr (SDL_JoystickID -> IO (Ptr CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO (Ptr CChar)))
hs_bindgen_3a88aaf2c38a542b
foreign import ccall unsafe "hs_bindgen_d2263d27295e9ca6"
hs_bindgen_d2263d27295e9ca6_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_d2263d27295e9ca6
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (BG.Ptr SDL_Gamepad)))
hs_bindgen_d2263d27295e9ca6 :: IO (FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
hs_bindgen_d2263d27295e9ca6 =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_JoystickID -> 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 FunPtr Void -> FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad))
FFIType (FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
-> FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_d2263d27295e9ca6_base
{-# NOINLINE sDL_OpenGamepad #-}
sDL_OpenGamepad :: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (BG.Ptr SDL_Gamepad))
sDL_OpenGamepad :: FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad))
sDL_OpenGamepad =
IO (FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
-> FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
hs_bindgen_d2263d27295e9ca6
foreign import ccall unsafe "hs_bindgen_a2eccf4e721a7b78"
hs_bindgen_a2eccf4e721a7b78_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a2eccf4e721a7b78
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (BG.Ptr SDL_Gamepad)))
hs_bindgen_a2eccf4e721a7b78 :: IO (FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
hs_bindgen_a2eccf4e721a7b78 =
(FunPtr Void -> FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_JoystickID -> 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 FunPtr Void -> FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad))
FFIType (FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
-> FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a2eccf4e721a7b78_base
{-# NOINLINE sDL_GetGamepadFromID #-}
sDL_GetGamepadFromID
:: BG.FunPtr (SDL3.Sys.Bindgen.Joystick.SDL_JoystickID -> IO (BG.Ptr SDL_Gamepad))
sDL_GetGamepadFromID :: FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad))
sDL_GetGamepadFromID =
IO (FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
-> FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_JoystickID -> IO (Ptr SDL_Gamepad)))
hs_bindgen_a2eccf4e721a7b78
foreign import ccall unsafe "hs_bindgen_d5762153bda1c5a2"
hs_bindgen_d5762153bda1c5a2_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_d5762153bda1c5a2 :: IO (BG.FunPtr (BG.CInt -> IO (BG.Ptr SDL_Gamepad)))
hs_bindgen_d5762153bda1c5a2 :: IO (FunPtr (CInt -> IO (Ptr SDL_Gamepad)))
hs_bindgen_d5762153bda1c5a2 =
(FunPtr Void -> FunPtr (CInt -> IO (Ptr SDL_Gamepad)))
-> IO (FunPtr Void) -> IO (FunPtr (CInt -> 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 FunPtr Void -> FunPtr (CInt -> IO (Ptr SDL_Gamepad))
FFIType (FunPtr (CInt -> IO (Ptr SDL_Gamepad)))
-> FunPtr (CInt -> IO (Ptr SDL_Gamepad))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_d5762153bda1c5a2_base
{-# NOINLINE sDL_GetGamepadFromPlayerIndex #-}
sDL_GetGamepadFromPlayerIndex :: BG.FunPtr (BG.CInt -> IO (BG.Ptr SDL_Gamepad))
sDL_GetGamepadFromPlayerIndex :: FunPtr (CInt -> IO (Ptr SDL_Gamepad))
sDL_GetGamepadFromPlayerIndex =
IO (FunPtr (CInt -> IO (Ptr SDL_Gamepad)))
-> FunPtr (CInt -> IO (Ptr SDL_Gamepad))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (CInt -> IO (Ptr SDL_Gamepad)))
hs_bindgen_d5762153bda1c5a2
foreign import ccall unsafe "hs_bindgen_f6b1c3e515df26bf"
hs_bindgen_f6b1c3e515df26bf_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_f6b1c3e515df26bf
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID))
hs_bindgen_f6b1c3e515df26bf :: IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_PropertiesID))
hs_bindgen_f6b1c3e515df26bf =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO SDL_PropertiesID))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO SDL_PropertiesID)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO SDL_PropertiesID))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_PropertiesID)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_f6b1c3e515df26bf_base
{-# NOINLINE sDL_GetGamepadProperties #-}
sDL_GetGamepadProperties
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID)
sDL_GetGamepadProperties :: FunPtr (Ptr SDL_Gamepad -> IO SDL_PropertiesID)
sDL_GetGamepadProperties =
IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_PropertiesID))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_PropertiesID)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_PropertiesID))
hs_bindgen_f6b1c3e515df26bf
foreign import ccall unsafe "hs_bindgen_aeb6f834f1bb9bba"
hs_bindgen_aeb6f834f1bb9bba_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_aeb6f834f1bb9bba
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Joystick.SDL_JoystickID))
hs_bindgen_aeb6f834f1bb9bba :: IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickID))
hs_bindgen_aeb6f834f1bb9bba =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickID))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickID)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickID))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickID)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_aeb6f834f1bb9bba_base
{-# NOINLINE sDL_GetGamepadID #-}
sDL_GetGamepadID :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Joystick.SDL_JoystickID)
sDL_GetGamepadID :: FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickID)
sDL_GetGamepadID =
IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickID))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickID)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickID))
hs_bindgen_aeb6f834f1bb9bba
foreign import ccall unsafe "hs_bindgen_a6ba120e3c657e82"
hs_bindgen_a6ba120e3c657e82_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a6ba120e3c657e82
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_a6ba120e3c657e82 :: IO (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
hs_bindgen_a6ba120e3c657e82 =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
FFIType (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
-> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a6ba120e3c657e82_base
{-# NOINLINE sDL_GetGamepadName #-}
sDL_GetGamepadName :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadName :: FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
sDL_GetGamepadName =
IO (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
-> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
hs_bindgen_a6ba120e3c657e82
foreign import ccall unsafe "hs_bindgen_25cf3224bc5505cc"
hs_bindgen_25cf3224bc5505cc_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_25cf3224bc5505cc
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_25cf3224bc5505cc :: IO (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
hs_bindgen_25cf3224bc5505cc =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
FFIType (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
-> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_25cf3224bc5505cc_base
{-# NOINLINE sDL_GetGamepadPath #-}
sDL_GetGamepadPath :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadPath :: FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
sDL_GetGamepadPath =
IO (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
-> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
hs_bindgen_25cf3224bc5505cc
foreign import ccall unsafe "hs_bindgen_131b0de798357722"
hs_bindgen_131b0de798357722_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_131b0de798357722 :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL_GamepadType))
hs_bindgen_131b0de798357722 :: IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
hs_bindgen_131b0de798357722 =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_131b0de798357722_base
{-# NOINLINE sDL_GetGamepadType #-}
sDL_GetGamepadType :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL_GamepadType)
sDL_GetGamepadType :: FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType)
sDL_GetGamepadType =
IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
hs_bindgen_131b0de798357722
foreign import ccall unsafe "hs_bindgen_299f836c8b95a4d8"
hs_bindgen_299f836c8b95a4d8_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_299f836c8b95a4d8 :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL_GamepadType))
hs_bindgen_299f836c8b95a4d8 :: IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
hs_bindgen_299f836c8b95a4d8 =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_299f836c8b95a4d8_base
{-# NOINLINE sDL_GetRealGamepadType #-}
sDL_GetRealGamepadType :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL_GamepadType)
sDL_GetRealGamepadType :: FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType)
sDL_GetRealGamepadType =
IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_GamepadType))
hs_bindgen_299f836c8b95a4d8
foreign import ccall unsafe "hs_bindgen_c48d71502b4eef8f"
hs_bindgen_c48d71502b4eef8f_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_c48d71502b4eef8f :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO BG.CInt))
hs_bindgen_c48d71502b4eef8f :: IO (FunPtr (Ptr SDL_Gamepad -> IO CInt))
hs_bindgen_c48d71502b4eef8f =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Gamepad -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO CInt)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO CInt))
-> FunPtr (Ptr SDL_Gamepad -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_c48d71502b4eef8f_base
{-# NOINLINE sDL_GetGamepadPlayerIndex #-}
sDL_GetGamepadPlayerIndex :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO BG.CInt)
sDL_GetGamepadPlayerIndex :: FunPtr (Ptr SDL_Gamepad -> IO CInt)
sDL_GetGamepadPlayerIndex =
IO (FunPtr (Ptr SDL_Gamepad -> IO CInt))
-> FunPtr (Ptr SDL_Gamepad -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO CInt))
hs_bindgen_c48d71502b4eef8f
foreign import ccall unsafe "hs_bindgen_90716136f5deb4d3"
hs_bindgen_90716136f5deb4d3_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_90716136f5deb4d3 :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> BG.CInt -> IO BG.CBool))
hs_bindgen_90716136f5deb4d3 :: IO (FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool))
hs_bindgen_90716136f5deb4d3 =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool)
FFIType (FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_90716136f5deb4d3_base
{-# NOINLINE sDL_SetGamepadPlayerIndex #-}
sDL_SetGamepadPlayerIndex :: BG.FunPtr (BG.Ptr SDL_Gamepad -> BG.CInt -> IO BG.CBool)
sDL_SetGamepadPlayerIndex :: FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool)
sDL_SetGamepadPlayerIndex =
IO (FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> CInt -> IO CBool))
hs_bindgen_90716136f5deb4d3
foreign import ccall unsafe "hs_bindgen_ffa764d02a95dc96"
hs_bindgen_ffa764d02a95dc96_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ffa764d02a95dc96
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint16))
hs_bindgen_ffa764d02a95dc96 :: IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
hs_bindgen_ffa764d02a95dc96 =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_ffa764d02a95dc96_base
{-# NOINLINE sDL_GetGamepadVendor #-}
sDL_GetGamepadVendor :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint16)
sDL_GetGamepadVendor :: FunPtr (Ptr SDL_Gamepad -> IO Uint16)
sDL_GetGamepadVendor =
IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
hs_bindgen_ffa764d02a95dc96
foreign import ccall unsafe "hs_bindgen_22ebf47a7ce663ce"
hs_bindgen_22ebf47a7ce663ce_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_22ebf47a7ce663ce
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint16))
hs_bindgen_22ebf47a7ce663ce :: IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
hs_bindgen_22ebf47a7ce663ce =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_22ebf47a7ce663ce_base
{-# NOINLINE sDL_GetGamepadProduct #-}
sDL_GetGamepadProduct :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint16)
sDL_GetGamepadProduct :: FunPtr (Ptr SDL_Gamepad -> IO Uint16)
sDL_GetGamepadProduct =
IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
hs_bindgen_22ebf47a7ce663ce
foreign import ccall unsafe "hs_bindgen_cb998d733e296e5c"
hs_bindgen_cb998d733e296e5c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_cb998d733e296e5c
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint16))
hs_bindgen_cb998d733e296e5c :: IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
hs_bindgen_cb998d733e296e5c =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_cb998d733e296e5c_base
{-# NOINLINE sDL_GetGamepadProductVersion #-}
sDL_GetGamepadProductVersion :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint16)
sDL_GetGamepadProductVersion :: FunPtr (Ptr SDL_Gamepad -> IO Uint16)
sDL_GetGamepadProductVersion =
IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
hs_bindgen_cb998d733e296e5c
foreign import ccall unsafe "hs_bindgen_dddc5b49b1eab050"
hs_bindgen_dddc5b49b1eab050_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_dddc5b49b1eab050
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint16))
hs_bindgen_dddc5b49b1eab050 :: IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
hs_bindgen_dddc5b49b1eab050 =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_dddc5b49b1eab050_base
{-# NOINLINE sDL_GetGamepadFirmwareVersion #-}
sDL_GetGamepadFirmwareVersion :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint16)
sDL_GetGamepadFirmwareVersion :: FunPtr (Ptr SDL_Gamepad -> IO Uint16)
sDL_GetGamepadFirmwareVersion =
IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint16)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO Uint16))
hs_bindgen_dddc5b49b1eab050
foreign import ccall unsafe "hs_bindgen_ee2ba2bdd8e4e8f4"
hs_bindgen_ee2ba2bdd8e4e8f4_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ee2ba2bdd8e4e8f4
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_ee2ba2bdd8e4e8f4 :: IO (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
hs_bindgen_ee2ba2bdd8e4e8f4 =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
FFIType (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
-> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_ee2ba2bdd8e4e8f4_base
{-# NOINLINE sDL_GetGamepadSerial #-}
sDL_GetGamepadSerial :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadSerial :: FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
sDL_GetGamepadSerial =
IO (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
-> FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO (PtrConst CChar)))
hs_bindgen_ee2ba2bdd8e4e8f4
foreign import ccall unsafe "hs_bindgen_3f35ecfbc73c387c"
hs_bindgen_3f35ecfbc73c387c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3f35ecfbc73c387c
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint64))
hs_bindgen_3f35ecfbc73c387c :: IO (FunPtr (Ptr SDL_Gamepad -> IO Uint64))
hs_bindgen_3f35ecfbc73c387c =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint64))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Gamepad -> IO Uint64))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO Uint64)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO Uint64))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint64)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3f35ecfbc73c387c_base
{-# NOINLINE sDL_GetGamepadSteamHandle #-}
sDL_GetGamepadSteamHandle :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Stdinc.Uint64)
sDL_GetGamepadSteamHandle :: FunPtr (Ptr SDL_Gamepad -> IO Uint64)
sDL_GetGamepadSteamHandle =
IO (FunPtr (Ptr SDL_Gamepad -> IO Uint64))
-> FunPtr (Ptr SDL_Gamepad -> IO Uint64)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO Uint64))
hs_bindgen_3f35ecfbc73c387c
foreign import ccall unsafe "hs_bindgen_53909ff1f2a38eeb"
hs_bindgen_53909ff1f2a38eeb_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_53909ff1f2a38eeb
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Joystick.SDL_JoystickConnectionState))
hs_bindgen_53909ff1f2a38eeb :: IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState))
hs_bindgen_53909ff1f2a38eeb =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState)
FFIType
(FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_53909ff1f2a38eeb_base
{-# NOINLINE sDL_GetGamepadConnectionState #-}
sDL_GetGamepadConnectionState
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO SDL3.Sys.Bindgen.Joystick.SDL_JoystickConnectionState)
sDL_GetGamepadConnectionState :: FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState)
sDL_GetGamepadConnectionState =
IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState))
-> FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO SDL_JoystickConnectionState))
hs_bindgen_53909ff1f2a38eeb
foreign import ccall unsafe "hs_bindgen_c9db854f84cfdf17"
hs_bindgen_c9db854f84cfdf17_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_c9db854f84cfdf17
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> BG.Ptr BG.CInt -> IO SDL3.Sys.Bindgen.Power.SDL_PowerState))
hs_bindgen_c9db854f84cfdf17 :: IO (FunPtr (Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState))
hs_bindgen_c9db854f84cfdf17 =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> Ptr 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 FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState)
FFIType (FunPtr (Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState))
-> FunPtr (Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_c9db854f84cfdf17_base
{-# NOINLINE sDL_GetGamepadPowerInfo #-}
sDL_GetGamepadPowerInfo
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> BG.Ptr BG.CInt -> IO SDL3.Sys.Bindgen.Power.SDL_PowerState)
sDL_GetGamepadPowerInfo :: FunPtr (Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState)
sDL_GetGamepadPowerInfo =
IO (FunPtr (Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState))
-> FunPtr (Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> Ptr CInt -> IO SDL_PowerState))
hs_bindgen_c9db854f84cfdf17
foreign import ccall unsafe "hs_bindgen_f53e7088d703eb0d"
hs_bindgen_f53e7088d703eb0d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_f53e7088d703eb0d :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO BG.CBool))
hs_bindgen_f53e7088d703eb0d :: IO (FunPtr (Ptr SDL_Gamepad -> IO CBool))
hs_bindgen_f53e7088d703eb0d =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Gamepad -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO CBool)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_f53e7088d703eb0d_base
{-# NOINLINE sDL_GamepadConnected #-}
sDL_GamepadConnected :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO BG.CBool)
sDL_GamepadConnected :: FunPtr (Ptr SDL_Gamepad -> IO CBool)
sDL_GamepadConnected =
IO (FunPtr (Ptr SDL_Gamepad -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO CBool))
hs_bindgen_f53e7088d703eb0d
foreign import ccall unsafe "hs_bindgen_437957a44b873407"
hs_bindgen_437957a44b873407_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_437957a44b873407
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick)))
hs_bindgen_437957a44b873407 :: IO (FunPtr (Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick)))
hs_bindgen_437957a44b873407 =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick)))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick))
FFIType (FunPtr (Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick)))
-> FunPtr (Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_437957a44b873407_base
{-# NOINLINE sDL_GetGamepadJoystick #-}
sDL_GetGamepadJoystick
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO (BG.Ptr SDL3.Sys.Bindgen.Joystick.SDL_Joystick))
sDL_GetGamepadJoystick :: FunPtr (Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick))
sDL_GetGamepadJoystick =
IO (FunPtr (Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick)))
-> FunPtr (Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO (Ptr SDL_Joystick)))
hs_bindgen_437957a44b873407
foreign import ccall unsafe "hs_bindgen_bd360bbccf8e02d1"
hs_bindgen_bd360bbccf8e02d1_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_bd360bbccf8e02d1 :: IO (BG.FunPtr (BG.CBool -> IO ()))
hs_bindgen_bd360bbccf8e02d1 :: IO (FunPtr (CBool -> IO ()))
hs_bindgen_bd360bbccf8e02d1 =
(FunPtr Void -> FunPtr (CBool -> IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (CBool -> IO ()))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (CBool -> IO ())
FFIType (FunPtr (CBool -> IO ())) -> FunPtr (CBool -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_bd360bbccf8e02d1_base
{-# NOINLINE sDL_SetGamepadEventsEnabled #-}
sDL_SetGamepadEventsEnabled :: BG.FunPtr (BG.CBool -> IO ())
sDL_SetGamepadEventsEnabled :: FunPtr (CBool -> IO ())
sDL_SetGamepadEventsEnabled =
IO (FunPtr (CBool -> IO ())) -> FunPtr (CBool -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (CBool -> IO ()))
hs_bindgen_bd360bbccf8e02d1
foreign import ccall unsafe "hs_bindgen_495749302a88fada"
hs_bindgen_495749302a88fada_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_495749302a88fada :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_495749302a88fada :: IO (FunPtr (IO CBool))
hs_bindgen_495749302a88fada =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_495749302a88fada_base
{-# NOINLINE sDL_GamepadEventsEnabled #-}
sDL_GamepadEventsEnabled :: BG.FunPtr (IO BG.CBool)
sDL_GamepadEventsEnabled :: FunPtr (IO CBool)
sDL_GamepadEventsEnabled =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_495749302a88fada
foreign import ccall unsafe "hs_bindgen_3bbe8c4408199173"
hs_bindgen_3bbe8c4408199173_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3bbe8c4408199173
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> BG.Ptr BG.CInt -> IO (BG.Ptr (BG.Ptr SDL_GamepadBinding))))
hs_bindgen_3bbe8c4408199173 :: IO
(FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding))))
hs_bindgen_3bbe8c4408199173 =
(FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding))))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> 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 FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding)))
FFIType
(FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding))))
-> FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding)))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3bbe8c4408199173_base
{-# NOINLINE sDL_GetGamepadBindings #-}
sDL_GetGamepadBindings
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> BG.Ptr BG.CInt -> IO (BG.Ptr (BG.Ptr SDL_GamepadBinding)))
sDL_GetGamepadBindings :: FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding)))
sDL_GetGamepadBindings =
IO
(FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding))))
-> FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding)))
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_Gamepad -> Ptr CInt -> IO (Ptr (Ptr SDL_GamepadBinding))))
hs_bindgen_3bbe8c4408199173
foreign import ccall unsafe "hs_bindgen_3029fdebe260ad88"
hs_bindgen_3029fdebe260ad88_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3029fdebe260ad88 :: IO (BG.FunPtr (IO ()))
hs_bindgen_3029fdebe260ad88 :: IO (FunPtr (IO ()))
hs_bindgen_3029fdebe260ad88 =
(FunPtr Void -> FunPtr (IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (IO ()))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO ())
FFIType (FunPtr (IO ())) -> FunPtr (IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3029fdebe260ad88_base
{-# NOINLINE sDL_UpdateGamepads #-}
sDL_UpdateGamepads :: BG.FunPtr (IO ())
sDL_UpdateGamepads :: FunPtr (IO ())
sDL_UpdateGamepads =
IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO ()))
hs_bindgen_3029fdebe260ad88
foreign import ccall unsafe "hs_bindgen_919d1827bf3ece38"
hs_bindgen_919d1827bf3ece38_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_919d1827bf3ece38 :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO SDL_GamepadType))
hs_bindgen_919d1827bf3ece38 :: IO (FunPtr (PtrConst CChar -> IO SDL_GamepadType))
hs_bindgen_919d1827bf3ece38 =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO SDL_GamepadType))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst CChar -> 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 FunPtr Void -> FunPtr (PtrConst CChar -> IO SDL_GamepadType)
FFIType (FunPtr (PtrConst CChar -> IO SDL_GamepadType))
-> FunPtr (PtrConst CChar -> IO SDL_GamepadType)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_919d1827bf3ece38_base
{-# NOINLINE sDL_GetGamepadTypeFromString #-}
sDL_GetGamepadTypeFromString :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO SDL_GamepadType)
sDL_GetGamepadTypeFromString :: FunPtr (PtrConst CChar -> IO SDL_GamepadType)
sDL_GetGamepadTypeFromString =
IO (FunPtr (PtrConst CChar -> IO SDL_GamepadType))
-> FunPtr (PtrConst CChar -> IO SDL_GamepadType)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO SDL_GamepadType))
hs_bindgen_919d1827bf3ece38
foreign import ccall unsafe "hs_bindgen_e0a2bc0194ece97f"
hs_bindgen_e0a2bc0194ece97f_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e0a2bc0194ece97f :: IO (BG.FunPtr (SDL_GamepadType -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_e0a2bc0194ece97f :: IO (FunPtr (SDL_GamepadType -> IO (PtrConst CChar)))
hs_bindgen_e0a2bc0194ece97f =
(FunPtr Void -> FunPtr (SDL_GamepadType -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_GamepadType -> 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 FunPtr Void -> FunPtr (SDL_GamepadType -> IO (PtrConst CChar))
FFIType (FunPtr (SDL_GamepadType -> IO (PtrConst CChar)))
-> FunPtr (SDL_GamepadType -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e0a2bc0194ece97f_base
{-# NOINLINE sDL_GetGamepadStringForType #-}
sDL_GetGamepadStringForType :: BG.FunPtr (SDL_GamepadType -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadStringForType :: FunPtr (SDL_GamepadType -> IO (PtrConst CChar))
sDL_GetGamepadStringForType =
IO (FunPtr (SDL_GamepadType -> IO (PtrConst CChar)))
-> FunPtr (SDL_GamepadType -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_GamepadType -> IO (PtrConst CChar)))
hs_bindgen_e0a2bc0194ece97f
foreign import ccall unsafe "hs_bindgen_3e2dae12c3051365"
hs_bindgen_3e2dae12c3051365_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3e2dae12c3051365 :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO SDL_GamepadAxis))
hs_bindgen_3e2dae12c3051365 :: IO (FunPtr (PtrConst CChar -> IO SDL_GamepadAxis))
hs_bindgen_3e2dae12c3051365 =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO SDL_GamepadAxis))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst CChar -> 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 FunPtr Void -> FunPtr (PtrConst CChar -> IO SDL_GamepadAxis)
FFIType (FunPtr (PtrConst CChar -> IO SDL_GamepadAxis))
-> FunPtr (PtrConst CChar -> IO SDL_GamepadAxis)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3e2dae12c3051365_base
{-# NOINLINE sDL_GetGamepadAxisFromString #-}
sDL_GetGamepadAxisFromString :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO SDL_GamepadAxis)
sDL_GetGamepadAxisFromString :: FunPtr (PtrConst CChar -> IO SDL_GamepadAxis)
sDL_GetGamepadAxisFromString =
IO (FunPtr (PtrConst CChar -> IO SDL_GamepadAxis))
-> FunPtr (PtrConst CChar -> IO SDL_GamepadAxis)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO SDL_GamepadAxis))
hs_bindgen_3e2dae12c3051365
foreign import ccall unsafe "hs_bindgen_4979edfa77e4fc76"
hs_bindgen_4979edfa77e4fc76_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4979edfa77e4fc76 :: IO (BG.FunPtr (SDL_GamepadAxis -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_4979edfa77e4fc76 :: IO (FunPtr (SDL_GamepadAxis -> IO (PtrConst CChar)))
hs_bindgen_4979edfa77e4fc76 =
(FunPtr Void -> FunPtr (SDL_GamepadAxis -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_GamepadAxis -> 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 FunPtr Void -> FunPtr (SDL_GamepadAxis -> IO (PtrConst CChar))
FFIType (FunPtr (SDL_GamepadAxis -> IO (PtrConst CChar)))
-> FunPtr (SDL_GamepadAxis -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4979edfa77e4fc76_base
{-# NOINLINE sDL_GetGamepadStringForAxis #-}
sDL_GetGamepadStringForAxis :: BG.FunPtr (SDL_GamepadAxis -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadStringForAxis :: FunPtr (SDL_GamepadAxis -> IO (PtrConst CChar))
sDL_GetGamepadStringForAxis =
IO (FunPtr (SDL_GamepadAxis -> IO (PtrConst CChar)))
-> FunPtr (SDL_GamepadAxis -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_GamepadAxis -> IO (PtrConst CChar)))
hs_bindgen_4979edfa77e4fc76
foreign import ccall unsafe "hs_bindgen_3ea6abfb2ca9a69e"
hs_bindgen_3ea6abfb2ca9a69e_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3ea6abfb2ca9a69e :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO BG.CBool))
hs_bindgen_3ea6abfb2ca9a69e :: IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool))
hs_bindgen_3ea6abfb2ca9a69e =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool)
FFIType (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3ea6abfb2ca9a69e_base
{-# NOINLINE sDL_GamepadHasAxis #-}
sDL_GamepadHasAxis :: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO BG.CBool)
sDL_GamepadHasAxis :: FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool)
sDL_GamepadHasAxis =
IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO CBool))
hs_bindgen_3ea6abfb2ca9a69e
foreign import ccall unsafe "hs_bindgen_a8dfd9fddde7c51f"
hs_bindgen_a8dfd9fddde7c51f_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a8dfd9fddde7c51f
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO SDL3.Sys.Bindgen.Stdinc.Sint16))
hs_bindgen_a8dfd9fddde7c51f :: IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16))
hs_bindgen_a8dfd9fddde7c51f =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16)
FFIType (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16))
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a8dfd9fddde7c51f_base
{-# NOINLINE sDL_GetGamepadAxis #-}
sDL_GetGamepadAxis
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO SDL3.Sys.Bindgen.Stdinc.Sint16)
sDL_GetGamepadAxis :: FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16)
sDL_GetGamepadAxis =
IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16))
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO Sint16))
hs_bindgen_a8dfd9fddde7c51f
foreign import ccall unsafe "hs_bindgen_aacf61245766bd7f"
hs_bindgen_aacf61245766bd7f_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_aacf61245766bd7f :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO SDL_GamepadButton))
hs_bindgen_aacf61245766bd7f :: IO (FunPtr (PtrConst CChar -> IO SDL_GamepadButton))
hs_bindgen_aacf61245766bd7f =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO SDL_GamepadButton))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst CChar -> 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 FunPtr Void -> FunPtr (PtrConst CChar -> IO SDL_GamepadButton)
FFIType (FunPtr (PtrConst CChar -> IO SDL_GamepadButton))
-> FunPtr (PtrConst CChar -> IO SDL_GamepadButton)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_aacf61245766bd7f_base
{-# NOINLINE sDL_GetGamepadButtonFromString #-}
sDL_GetGamepadButtonFromString :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO SDL_GamepadButton)
sDL_GetGamepadButtonFromString :: FunPtr (PtrConst CChar -> IO SDL_GamepadButton)
sDL_GetGamepadButtonFromString =
IO (FunPtr (PtrConst CChar -> IO SDL_GamepadButton))
-> FunPtr (PtrConst CChar -> IO SDL_GamepadButton)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO SDL_GamepadButton))
hs_bindgen_aacf61245766bd7f
foreign import ccall unsafe "hs_bindgen_e28b377b66d430c7"
hs_bindgen_e28b377b66d430c7_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e28b377b66d430c7 :: IO (BG.FunPtr (SDL_GamepadButton -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_e28b377b66d430c7 :: IO (FunPtr (SDL_GamepadButton -> IO (PtrConst CChar)))
hs_bindgen_e28b377b66d430c7 =
(FunPtr Void -> FunPtr (SDL_GamepadButton -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_GamepadButton -> 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 FunPtr Void -> FunPtr (SDL_GamepadButton -> IO (PtrConst CChar))
FFIType (FunPtr (SDL_GamepadButton -> IO (PtrConst CChar)))
-> FunPtr (SDL_GamepadButton -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e28b377b66d430c7_base
{-# NOINLINE sDL_GetGamepadStringForButton #-}
sDL_GetGamepadStringForButton :: BG.FunPtr (SDL_GamepadButton -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadStringForButton :: FunPtr (SDL_GamepadButton -> IO (PtrConst CChar))
sDL_GetGamepadStringForButton =
IO (FunPtr (SDL_GamepadButton -> IO (PtrConst CChar)))
-> FunPtr (SDL_GamepadButton -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_GamepadButton -> IO (PtrConst CChar)))
hs_bindgen_e28b377b66d430c7
foreign import ccall unsafe "hs_bindgen_915b6e8126454256"
hs_bindgen_915b6e8126454256_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_915b6e8126454256
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadButton -> IO BG.CBool))
hs_bindgen_915b6e8126454256 :: IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
hs_bindgen_915b6e8126454256 =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool)
FFIType (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_915b6e8126454256_base
{-# NOINLINE sDL_GamepadHasButton #-}
sDL_GamepadHasButton :: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadButton -> IO BG.CBool)
sDL_GamepadHasButton :: FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool)
sDL_GamepadHasButton =
IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
hs_bindgen_915b6e8126454256
foreign import ccall unsafe "hs_bindgen_f63603565928dd6d"
hs_bindgen_f63603565928dd6d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_f63603565928dd6d
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadButton -> IO BG.CBool))
hs_bindgen_f63603565928dd6d :: IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
hs_bindgen_f63603565928dd6d =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool)
FFIType (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_f63603565928dd6d_base
{-# NOINLINE sDL_GetGamepadButton #-}
sDL_GetGamepadButton :: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadButton -> IO BG.CBool)
sDL_GetGamepadButton :: FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool)
sDL_GetGamepadButton =
IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> SDL_GamepadButton -> IO CBool))
hs_bindgen_f63603565928dd6d
foreign import ccall unsafe "hs_bindgen_5d5da36c408f3ed5"
hs_bindgen_5d5da36c408f3ed5_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_5d5da36c408f3ed5
:: IO (BG.FunPtr (SDL_GamepadType -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
hs_bindgen_5d5da36c408f3ed5 :: IO
(FunPtr
(SDL_GamepadType
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
hs_bindgen_5d5da36c408f3ed5 =
(FunPtr Void
-> FunPtr
(SDL_GamepadType
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
-> IO (FunPtr Void)
-> IO
(FunPtr
(SDL_GamepadType
-> SDL_GamepadButton -> 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 FunPtr Void
-> FunPtr
(SDL_GamepadType -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
FFIType
(FunPtr
(SDL_GamepadType
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
-> FunPtr
(SDL_GamepadType -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_5d5da36c408f3ed5_base
{-# NOINLINE sDL_GetGamepadButtonLabelForType #-}
sDL_GetGamepadButtonLabelForType
:: BG.FunPtr (SDL_GamepadType -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
sDL_GetGamepadButtonLabelForType :: FunPtr
(SDL_GamepadType -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
sDL_GetGamepadButtonLabelForType =
IO
(FunPtr
(SDL_GamepadType
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
-> FunPtr
(SDL_GamepadType -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(SDL_GamepadType
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
hs_bindgen_5d5da36c408f3ed5
foreign import ccall unsafe "hs_bindgen_6c96bb1d7ac32853"
hs_bindgen_6c96bb1d7ac32853_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_6c96bb1d7ac32853
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
hs_bindgen_6c96bb1d7ac32853 :: IO
(FunPtr
(Ptr SDL_Gamepad
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
hs_bindgen_6c96bb1d7ac32853 =
(FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_Gamepad
-> SDL_GamepadButton -> 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 FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
FFIType
(FunPtr
(Ptr SDL_Gamepad
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_6c96bb1d7ac32853_base
{-# NOINLINE sDL_GetGamepadButtonLabel #-}
sDL_GetGamepadButtonLabel
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
sDL_GetGamepadButtonLabel :: FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
sDL_GetGamepadButtonLabel =
IO
(FunPtr
(Ptr SDL_Gamepad
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO SDL_GamepadButtonLabel)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_Gamepad
-> SDL_GamepadButton -> IO SDL_GamepadButtonLabel))
hs_bindgen_6c96bb1d7ac32853
foreign import ccall unsafe "hs_bindgen_de275259788d26ed"
hs_bindgen_de275259788d26ed_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_de275259788d26ed :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO BG.CInt))
hs_bindgen_de275259788d26ed :: IO (FunPtr (Ptr SDL_Gamepad -> IO CInt))
hs_bindgen_de275259788d26ed =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Gamepad -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO CInt)
FFIType (FunPtr (Ptr SDL_Gamepad -> IO CInt))
-> FunPtr (Ptr SDL_Gamepad -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_de275259788d26ed_base
{-# NOINLINE sDL_GetNumGamepadTouchpads #-}
sDL_GetNumGamepadTouchpads :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO BG.CInt)
sDL_GetNumGamepadTouchpads :: FunPtr (Ptr SDL_Gamepad -> IO CInt)
sDL_GetNumGamepadTouchpads =
IO (FunPtr (Ptr SDL_Gamepad -> IO CInt))
-> FunPtr (Ptr SDL_Gamepad -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO CInt))
hs_bindgen_de275259788d26ed
foreign import ccall unsafe "hs_bindgen_acaeb05c5893aeba"
hs_bindgen_acaeb05c5893aeba_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_acaeb05c5893aeba :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> BG.CInt -> IO BG.CInt))
hs_bindgen_acaeb05c5893aeba :: IO (FunPtr (Ptr SDL_Gamepad -> CInt -> IO CInt))
hs_bindgen_acaeb05c5893aeba =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> CInt -> IO CInt))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> 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 FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> CInt -> IO CInt)
FFIType (FunPtr (Ptr SDL_Gamepad -> CInt -> IO CInt))
-> FunPtr (Ptr SDL_Gamepad -> CInt -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_acaeb05c5893aeba_base
{-# NOINLINE sDL_GetNumGamepadTouchpadFingers #-}
sDL_GetNumGamepadTouchpadFingers :: BG.FunPtr (BG.Ptr SDL_Gamepad -> BG.CInt -> IO BG.CInt)
sDL_GetNumGamepadTouchpadFingers :: FunPtr (Ptr SDL_Gamepad -> CInt -> IO CInt)
sDL_GetNumGamepadTouchpadFingers =
IO (FunPtr (Ptr SDL_Gamepad -> CInt -> IO CInt))
-> FunPtr (Ptr SDL_Gamepad -> CInt -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> CInt -> IO CInt))
hs_bindgen_acaeb05c5893aeba
foreign import ccall unsafe "hs_bindgen_4408908532932c4e"
hs_bindgen_4408908532932c4e_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4408908532932c4e
:: IO
( BG.FunPtr
( 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_4408908532932c4e :: IO
(FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool))
hs_bindgen_4408908532932c4e =
(FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool)
FFIType
(FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool))
-> FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4408908532932c4e_base
{-# NOINLINE sDL_GetGamepadTouchpadFinger #-}
sDL_GetGamepadTouchpadFinger
:: BG.FunPtr
( 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 :: FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool)
sDL_GetGamepadTouchpadFinger =
IO
(FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool))
-> FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_Gamepad
-> CInt
-> CInt
-> Ptr CBool
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool))
hs_bindgen_4408908532932c4e
foreign import ccall unsafe "hs_bindgen_041741220ac7e52d"
hs_bindgen_041741220ac7e52d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_041741220ac7e52d
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL3.Sys.Bindgen.Sensor.SDL_SensorType -> IO BG.CBool))
hs_bindgen_041741220ac7e52d :: IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
hs_bindgen_041741220ac7e52d =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool)
FFIType (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_041741220ac7e52d_base
{-# NOINLINE sDL_GamepadHasSensor #-}
sDL_GamepadHasSensor
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL3.Sys.Bindgen.Sensor.SDL_SensorType -> IO BG.CBool)
sDL_GamepadHasSensor :: FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool)
sDL_GamepadHasSensor =
IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
hs_bindgen_041741220ac7e52d
foreign import ccall unsafe "hs_bindgen_04571bb432b35b67"
hs_bindgen_04571bb432b35b67_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_04571bb432b35b67
:: IO
(BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL3.Sys.Bindgen.Sensor.SDL_SensorType -> BG.CBool -> IO BG.CBool))
hs_bindgen_04571bb432b35b67 :: IO
(FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool))
hs_bindgen_04571bb432b35b67 =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> 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 FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool)
FFIType
(FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_04571bb432b35b67_base
{-# NOINLINE sDL_SetGamepadSensorEnabled #-}
sDL_SetGamepadSensorEnabled
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL3.Sys.Bindgen.Sensor.SDL_SensorType -> BG.CBool -> IO BG.CBool)
sDL_SetGamepadSensorEnabled :: FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool)
sDL_SetGamepadSensorEnabled =
IO
(FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> CBool -> IO CBool))
hs_bindgen_04571bb432b35b67
foreign import ccall unsafe "hs_bindgen_98c53abf20c77167"
hs_bindgen_98c53abf20c77167_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_98c53abf20c77167
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL3.Sys.Bindgen.Sensor.SDL_SensorType -> IO BG.CBool))
hs_bindgen_98c53abf20c77167 :: IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
hs_bindgen_98c53abf20c77167 =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool)
FFIType (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_98c53abf20c77167_base
{-# NOINLINE sDL_GamepadSensorEnabled #-}
sDL_GamepadSensorEnabled
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL3.Sys.Bindgen.Sensor.SDL_SensorType -> IO BG.CBool)
sDL_GamepadSensorEnabled :: FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool)
sDL_GamepadSensorEnabled =
IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CBool))
hs_bindgen_98c53abf20c77167
foreign import ccall unsafe "hs_bindgen_b6592bd554a6f989"
hs_bindgen_b6592bd554a6f989_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_b6592bd554a6f989
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL3.Sys.Bindgen.Sensor.SDL_SensorType -> IO BG.CFloat))
hs_bindgen_b6592bd554a6f989 :: IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat))
hs_bindgen_b6592bd554a6f989 =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat)
FFIType (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat))
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_b6592bd554a6f989_base
{-# NOINLINE sDL_GetGamepadSensorDataRate #-}
sDL_GetGamepadSensorDataRate
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL3.Sys.Bindgen.Sensor.SDL_SensorType -> IO BG.CFloat)
sDL_GetGamepadSensorDataRate :: FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat)
sDL_GetGamepadSensorDataRate =
IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat))
-> FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> SDL_SensorType -> IO CFloat))
hs_bindgen_b6592bd554a6f989
foreign import ccall unsafe "hs_bindgen_9753ce47b936d3ec"
hs_bindgen_9753ce47b936d3ec_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_9753ce47b936d3ec
:: IO
( BG.FunPtr
( BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> BG.Ptr BG.CFloat
-> BG.CInt
-> IO BG.CBool
)
)
hs_bindgen_9753ce47b936d3ec :: IO
(FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool))
hs_bindgen_9753ce47b936d3ec =
(FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool)
FFIType
(FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool))
-> FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_9753ce47b936d3ec_base
{-# NOINLINE sDL_GetGamepadSensorData #-}
sDL_GetGamepadSensorData
:: BG.FunPtr
( BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Sensor.SDL_SensorType
-> BG.Ptr BG.CFloat
-> BG.CInt
-> IO BG.CBool
)
sDL_GetGamepadSensorData :: FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool)
sDL_GetGamepadSensorData =
IO
(FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool))
-> FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_Gamepad
-> SDL_SensorType -> Ptr CFloat -> CInt -> IO CBool))
hs_bindgen_9753ce47b936d3ec
foreign import ccall unsafe "hs_bindgen_66c29b053dd2103a"
hs_bindgen_66c29b053dd2103a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_66c29b053dd2103a
:: IO
( BG.FunPtr
( BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
)
)
hs_bindgen_66c29b053dd2103a :: IO
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
hs_bindgen_66c29b053dd2103a =
(FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool)
FFIType
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
-> FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_66c29b053dd2103a_base
{-# NOINLINE sDL_RumbleGamepad #-}
sDL_RumbleGamepad
:: BG.FunPtr
( BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
)
sDL_RumbleGamepad :: FunPtr (Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool)
sDL_RumbleGamepad =
IO
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
-> FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
hs_bindgen_66c29b053dd2103a
foreign import ccall unsafe "hs_bindgen_d96d791857c3d06b"
hs_bindgen_d96d791857c3d06b_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_d96d791857c3d06b
:: IO
( BG.FunPtr
( BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
)
)
hs_bindgen_d96d791857c3d06b :: IO
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
hs_bindgen_d96d791857c3d06b =
(FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool)
FFIType
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
-> FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_d96d791857c3d06b_base
{-# NOINLINE sDL_RumbleGamepadTriggers #-}
sDL_RumbleGamepadTriggers
:: BG.FunPtr
( BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
)
sDL_RumbleGamepadTriggers :: FunPtr (Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool)
sDL_RumbleGamepadTriggers =
IO
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
-> FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_Gamepad -> Uint16 -> Uint16 -> Uint32 -> IO CBool))
hs_bindgen_d96d791857c3d06b
foreign import ccall unsafe "hs_bindgen_fb1de1463dc236a8"
hs_bindgen_fb1de1463dc236a8_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_fb1de1463dc236a8
:: IO
( BG.FunPtr
( BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
)
)
hs_bindgen_fb1de1463dc236a8 :: IO
(FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool))
hs_bindgen_fb1de1463dc236a8 =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool)
FFIType
(FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_fb1de1463dc236a8_base
{-# NOINLINE sDL_SetGamepadLED #-}
sDL_SetGamepadLED
:: BG.FunPtr
( BG.Ptr SDL_Gamepad
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
)
sDL_SetGamepadLED :: FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool)
sDL_SetGamepadLED =
IO
(FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr (Ptr SDL_Gamepad -> Uint8 -> Uint8 -> Uint8 -> IO CBool))
hs_bindgen_fb1de1463dc236a8
foreign import ccall unsafe "hs_bindgen_5961396a3fadcac6"
hs_bindgen_5961396a3fadcac6_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_5961396a3fadcac6
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> PtrConst.PtrConst BG.Void -> BG.CInt -> IO BG.CBool))
hs_bindgen_5961396a3fadcac6 :: IO (FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool))
hs_bindgen_5961396a3fadcac6 =
(FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool)
FFIType
(FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_5961396a3fadcac6_base
{-# NOINLINE sDL_SendGamepadEffect #-}
sDL_SendGamepadEffect
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> PtrConst.PtrConst BG.Void -> BG.CInt -> IO BG.CBool)
sDL_SendGamepadEffect :: FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool)
sDL_SendGamepadEffect =
IO (FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool))
-> FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> PtrConst Void -> CInt -> IO CBool))
hs_bindgen_5961396a3fadcac6
foreign import ccall unsafe "hs_bindgen_599bdf2afa4631b2"
hs_bindgen_599bdf2afa4631b2_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_599bdf2afa4631b2 :: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> IO ()))
hs_bindgen_599bdf2afa4631b2 :: IO (FunPtr (Ptr SDL_Gamepad -> IO ()))
hs_bindgen_599bdf2afa4631b2 =
(FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Gamepad -> IO ()))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Gamepad -> IO ())
FFIType (FunPtr (Ptr SDL_Gamepad -> IO ()))
-> FunPtr (Ptr SDL_Gamepad -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_599bdf2afa4631b2_base
{-# NOINLINE sDL_CloseGamepad #-}
sDL_CloseGamepad :: BG.FunPtr (BG.Ptr SDL_Gamepad -> IO ())
sDL_CloseGamepad :: FunPtr (Ptr SDL_Gamepad -> IO ())
sDL_CloseGamepad =
IO (FunPtr (Ptr SDL_Gamepad -> IO ()))
-> FunPtr (Ptr SDL_Gamepad -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Gamepad -> IO ()))
hs_bindgen_599bdf2afa4631b2
foreign import ccall unsafe "hs_bindgen_901b303b0d647ea4"
hs_bindgen_901b303b0d647ea4_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_901b303b0d647ea4
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_901b303b0d647ea4 :: IO
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar)))
hs_bindgen_901b303b0d647ea4 =
(FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> 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 FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar))
FFIType
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar)))
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_901b303b0d647ea4_base
{-# NOINLINE sDL_GetGamepadAppleSFSymbolsNameForButton #-}
sDL_GetGamepadAppleSFSymbolsNameForButton
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadAppleSFSymbolsNameForButton :: FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar))
sDL_GetGamepadAppleSFSymbolsNameForButton =
IO
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar)))
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadButton -> IO (PtrConst CChar)))
hs_bindgen_901b303b0d647ea4
foreign import ccall unsafe "hs_bindgen_0f564808a8b0fec7"
hs_bindgen_0f564808a8b0fec7_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_0f564808a8b0fec7
:: IO (BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_0f564808a8b0fec7 :: IO
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar)))
hs_bindgen_0f564808a8b0fec7 =
(FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadAxis -> 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 FunPtr Void
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar))
FFIType
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar)))
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_0f564808a8b0fec7_base
{-# NOINLINE sDL_GetGamepadAppleSFSymbolsNameForAxis #-}
sDL_GetGamepadAppleSFSymbolsNameForAxis
:: BG.FunPtr (BG.Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetGamepadAppleSFSymbolsNameForAxis :: FunPtr (Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar))
sDL_GetGamepadAppleSFSymbolsNameForAxis =
IO
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar)))
-> FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_Gamepad -> SDL_GamepadAxis -> IO (PtrConst CChar)))
hs_bindgen_0f564808a8b0fec7