{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Keyboard.Unsafe (
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_HasKeyboard,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetKeyboards,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetKeyboardNameForID,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetKeyboardFocus,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetKeyboardState,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_ResetKeyboard,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetModState,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_SetModState,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetKeyFromScancode,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetScancodeFromKey,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_SetScancodeName,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetScancodeName,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetScancodeFromName,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetKeyName,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetKeyFromName,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_StartTextInput,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_StartTextInputWithProperties,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_TextInputActive,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_StopTextInput,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_ClearComposition,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_SetTextInputArea,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_GetTextInputArea,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_HasScreenKeyboardSupport,
SDL3.Sys.Bindgen.Keyboard.Unsafe.sDL_ScreenKeyboardShown,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Keyboard
import SDL3.Sys.Bindgen.Keycode qualified
import SDL3.Sys.Bindgen.Properties qualified
import SDL3.Sys.Bindgen.Rect qualified
import SDL3.Sys.Bindgen.Scancode qualified
import SDL3.Sys.Bindgen.Video 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_keyboard.h>"
, "_Bool hs_bindgen_d64e7e9c8eac060b (void)"
, "{"
, " return (SDL_HasKeyboard)();"
, "}"
, "SDL_KeyboardID *hs_bindgen_5cbd85637f312ec5 ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetKeyboards)(arg1);"
, "}"
, "char const *hs_bindgen_ddca0041795d5b05 ("
, " SDL_KeyboardID arg1"
, ")"
, "{"
, " return (SDL_GetKeyboardNameForID)(arg1);"
, "}"
, "SDL_Window *hs_bindgen_c75176be07ddf456 (void)"
, "{"
, " return (SDL_GetKeyboardFocus)();"
, "}"
, "_Bool const *hs_bindgen_a0b91f25692e960c ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetKeyboardState)(arg1);"
, "}"
, "void hs_bindgen_61b9fb1b26a3505c (void)"
, "{"
, " (SDL_ResetKeyboard)();"
, "}"
, "SDL_Keymod hs_bindgen_d1acc028a58a01f0 (void)"
, "{"
, " return (SDL_GetModState)();"
, "}"
, "void hs_bindgen_b05ffb360c052d7c ("
, " SDL_Keymod arg1"
, ")"
, "{"
, " (SDL_SetModState)(arg1);"
, "}"
, "SDL_Keycode hs_bindgen_ff76f1254f8fdac9 ("
, " SDL_Scancode arg1,"
, " SDL_Keymod arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_GetKeyFromScancode)(arg1, arg2, arg3);"
, "}"
, "SDL_Scancode hs_bindgen_3ca1dc40673f0b86 ("
, " SDL_Keycode arg1,"
, " SDL_Keymod *arg2"
, ")"
, "{"
, " return (SDL_GetScancodeFromKey)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_8dafd77961e1a111 ("
, " SDL_Scancode arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_SetScancodeName)(arg1, arg2);"
, "}"
, "char const *hs_bindgen_b685af9e0919d14c ("
, " SDL_Scancode arg1"
, ")"
, "{"
, " return (SDL_GetScancodeName)(arg1);"
, "}"
, "SDL_Scancode hs_bindgen_7e17fd8d9faf99b2 ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_GetScancodeFromName)(arg1);"
, "}"
, "char const *hs_bindgen_bc806af89a4922a7 ("
, " SDL_Keycode arg1"
, ")"
, "{"
, " return (SDL_GetKeyName)(arg1);"
, "}"
, "SDL_Keycode hs_bindgen_427d0617876df1a1 ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_GetKeyFromName)(arg1);"
, "}"
, "_Bool hs_bindgen_5a9261502fa2575b ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_StartTextInput)(arg1);"
, "}"
, "_Bool hs_bindgen_0c7cd0ff2864a5c4 ("
, " SDL_Window *arg1,"
, " SDL_PropertiesID arg2"
, ")"
, "{"
, " return (SDL_StartTextInputWithProperties)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_5c76ed8d45b8c50f ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_TextInputActive)(arg1);"
, "}"
, "_Bool hs_bindgen_3ae77c9248468f14 ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_StopTextInput)(arg1);"
, "}"
, "_Bool hs_bindgen_2d81775a3f86e350 ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_ClearComposition)(arg1);"
, "}"
, "_Bool hs_bindgen_6de1e1b47fbde959 ("
, " SDL_Window *arg1,"
, " SDL_Rect const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_SetTextInputArea)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_e48f604580fa9c58 ("
, " SDL_Window *arg1,"
, " SDL_Rect *arg2,"
, " signed int *arg3"
, ")"
, "{"
, " return (SDL_GetTextInputArea)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_94887f48a4a41d37 (void)"
, "{"
, " return (SDL_HasScreenKeyboardSupport)();"
, "}"
, "_Bool hs_bindgen_6ec8a3c2431361bd ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_ScreenKeyboardShown)(arg1);"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_d64e7e9c8eac060b"
hs_bindgen_d64e7e9c8eac060b_base
:: IO BG.CBool
hs_bindgen_d64e7e9c8eac060b :: IO BG.CBool
hs_bindgen_d64e7e9c8eac060b :: IO CBool
hs_bindgen_d64e7e9c8eac060b =
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO CBool
hs_bindgen_d64e7e9c8eac060b_base
sDL_HasKeyboard :: IO BG.CBool
sDL_HasKeyboard :: IO CBool
sDL_HasKeyboard = IO CBool
hs_bindgen_d64e7e9c8eac060b
foreign import ccall unsafe "hs_bindgen_5cbd85637f312ec5"
hs_bindgen_5cbd85637f312ec5_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_5cbd85637f312ec5
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_KeyboardID)
hs_bindgen_5cbd85637f312ec5 :: Ptr CInt -> IO (Ptr SDL_KeyboardID)
hs_bindgen_5cbd85637f312ec5 =
\Ptr CInt
x0 ->
(Ptr Void -> Ptr SDL_KeyboardID)
-> IO (Ptr Void) -> IO (Ptr SDL_KeyboardID)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_KeyboardID
FFIType (Ptr SDL_KeyboardID) -> Ptr SDL_KeyboardID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_5cbd85637f312ec5_base (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x0))
sDL_GetKeyboards
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_KeyboardID)
sDL_GetKeyboards :: Ptr CInt -> IO (Ptr SDL_KeyboardID)
sDL_GetKeyboards = Ptr CInt -> IO (Ptr SDL_KeyboardID)
hs_bindgen_5cbd85637f312ec5
foreign import ccall unsafe "hs_bindgen_ddca0041795d5b05"
hs_bindgen_ddca0041795d5b05_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_ddca0041795d5b05
:: SDL_KeyboardID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_ddca0041795d5b05 :: SDL_KeyboardID -> IO (PtrConst CChar)
hs_bindgen_ddca0041795d5b05 =
\SDL_KeyboardID
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_ddca0041795d5b05_base (SDL_KeyboardID -> FFIType SDL_KeyboardID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_KeyboardID
x0))
sDL_GetKeyboardNameForID
:: SDL_KeyboardID
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetKeyboardNameForID :: SDL_KeyboardID -> IO (PtrConst CChar)
sDL_GetKeyboardNameForID =
SDL_KeyboardID -> IO (PtrConst CChar)
hs_bindgen_ddca0041795d5b05
foreign import ccall unsafe "hs_bindgen_c75176be07ddf456"
hs_bindgen_c75176be07ddf456_base
:: IO (BG.Ptr BG.Void)
hs_bindgen_c75176be07ddf456 :: IO (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window)
hs_bindgen_c75176be07ddf456 :: IO (Ptr SDL_Window)
hs_bindgen_c75176be07ddf456 =
(Ptr Void -> Ptr SDL_Window)
-> IO (Ptr Void) -> IO (Ptr SDL_Window)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_Window
FFIType (Ptr SDL_Window) -> Ptr SDL_Window
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (Ptr Void)
hs_bindgen_c75176be07ddf456_base
sDL_GetKeyboardFocus :: IO (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window)
sDL_GetKeyboardFocus :: IO (Ptr SDL_Window)
sDL_GetKeyboardFocus = IO (Ptr SDL_Window)
hs_bindgen_c75176be07ddf456
foreign import ccall unsafe "hs_bindgen_a0b91f25692e960c"
hs_bindgen_a0b91f25692e960c_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_a0b91f25692e960c
:: BG.Ptr BG.CInt
-> IO (PtrConst.PtrConst BG.CBool)
hs_bindgen_a0b91f25692e960c :: Ptr CInt -> IO (PtrConst CBool)
hs_bindgen_a0b91f25692e960c =
\Ptr CInt
x0 ->
(Ptr Void -> PtrConst CBool)
-> IO (Ptr Void) -> IO (PtrConst CBool)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CBool
FFIType (PtrConst CBool) -> PtrConst CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_a0b91f25692e960c_base (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x0))
sDL_GetKeyboardState
:: BG.Ptr BG.CInt
-> IO (PtrConst.PtrConst BG.CBool)
sDL_GetKeyboardState :: Ptr CInt -> IO (PtrConst CBool)
sDL_GetKeyboardState = Ptr CInt -> IO (PtrConst CBool)
hs_bindgen_a0b91f25692e960c
foreign import ccall unsafe "hs_bindgen_61b9fb1b26a3505c"
hs_bindgen_61b9fb1b26a3505c_base
:: IO ()
hs_bindgen_61b9fb1b26a3505c :: IO ()
hs_bindgen_61b9fb1b26a3505c :: IO ()
hs_bindgen_61b9fb1b26a3505c =
IO ()
hs_bindgen_61b9fb1b26a3505c_base
sDL_ResetKeyboard :: IO ()
sDL_ResetKeyboard :: IO ()
sDL_ResetKeyboard = IO ()
hs_bindgen_61b9fb1b26a3505c
foreign import ccall unsafe "hs_bindgen_d1acc028a58a01f0"
hs_bindgen_d1acc028a58a01f0_base
:: IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_d1acc028a58a01f0 :: IO SDL3.Sys.Bindgen.Keycode.SDL_Keymod
hs_bindgen_d1acc028a58a01f0 :: IO SDL_Keymod
hs_bindgen_d1acc028a58a01f0 =
(Word16 -> SDL_Keymod) -> IO Word16 -> IO SDL_Keymod
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word16 -> SDL_Keymod
FFIType SDL_Keymod -> SDL_Keymod
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO Word16
hs_bindgen_d1acc028a58a01f0_base
sDL_GetModState :: IO SDL3.Sys.Bindgen.Keycode.SDL_Keymod
sDL_GetModState :: IO SDL_Keymod
sDL_GetModState = IO SDL_Keymod
hs_bindgen_d1acc028a58a01f0
foreign import ccall unsafe "hs_bindgen_b05ffb360c052d7c"
hs_bindgen_b05ffb360c052d7c_base
:: HsBindgen.Runtime.LibC.Word16
-> IO ()
hs_bindgen_b05ffb360c052d7c
:: SDL3.Sys.Bindgen.Keycode.SDL_Keymod
-> IO ()
hs_bindgen_b05ffb360c052d7c :: SDL_Keymod -> IO ()
hs_bindgen_b05ffb360c052d7c =
\SDL_Keymod
x0 ->
Word16 -> IO ()
hs_bindgen_b05ffb360c052d7c_base (SDL_Keymod -> FFIType SDL_Keymod
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Keymod
x0)
sDL_SetModState
:: SDL3.Sys.Bindgen.Keycode.SDL_Keymod
-> IO ()
sDL_SetModState :: SDL_Keymod -> IO ()
sDL_SetModState = SDL_Keymod -> IO ()
hs_bindgen_b05ffb360c052d7c
foreign import ccall unsafe "hs_bindgen_ff76f1254f8fdac9"
hs_bindgen_ff76f1254f8fdac9_base
:: HsBindgen.Runtime.Support.CUInt
-> HsBindgen.Runtime.LibC.Word16
-> BG.CBool
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_ff76f1254f8fdac9
:: SDL3.Sys.Bindgen.Scancode.SDL_Scancode
-> SDL3.Sys.Bindgen.Keycode.SDL_Keymod
-> BG.CBool
-> IO SDL3.Sys.Bindgen.Keycode.SDL_Keycode
hs_bindgen_ff76f1254f8fdac9 :: SDL_Scancode -> SDL_Keymod -> CBool -> IO SDL_Keycode
hs_bindgen_ff76f1254f8fdac9 =
\SDL_Scancode
x0 ->
\SDL_Keymod
x1 ->
\CBool
x2 ->
(Word32 -> SDL_Keycode) -> IO Word32 -> IO SDL_Keycode
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Word32 -> SDL_Keycode
FFIType SDL_Keycode -> SDL_Keycode
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(CUInt -> Word16 -> CBool -> IO Word32
hs_bindgen_ff76f1254f8fdac9_base (SDL_Scancode -> FFIType SDL_Scancode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Scancode
x0) (SDL_Keymod -> FFIType SDL_Keymod
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Keymod
x1) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x2))
sDL_GetKeyFromScancode
:: SDL3.Sys.Bindgen.Scancode.SDL_Scancode
-> SDL3.Sys.Bindgen.Keycode.SDL_Keymod
-> BG.CBool
-> IO SDL3.Sys.Bindgen.Keycode.SDL_Keycode
sDL_GetKeyFromScancode :: SDL_Scancode -> SDL_Keymod -> CBool -> IO SDL_Keycode
sDL_GetKeyFromScancode = SDL_Scancode -> SDL_Keymod -> CBool -> IO SDL_Keycode
hs_bindgen_ff76f1254f8fdac9
foreign import ccall unsafe "hs_bindgen_3ca1dc40673f0b86"
hs_bindgen_3ca1dc40673f0b86_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CUInt
hs_bindgen_3ca1dc40673f0b86
:: SDL3.Sys.Bindgen.Keycode.SDL_Keycode
-> BG.Ptr SDL3.Sys.Bindgen.Keycode.SDL_Keymod
-> IO SDL3.Sys.Bindgen.Scancode.SDL_Scancode
hs_bindgen_3ca1dc40673f0b86 :: SDL_Keycode -> Ptr SDL_Keymod -> IO SDL_Scancode
hs_bindgen_3ca1dc40673f0b86 =
\SDL_Keycode
x0 ->
\Ptr SDL_Keymod
x1 ->
(CUInt -> SDL_Scancode) -> IO CUInt -> IO SDL_Scancode
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_Scancode
FFIType SDL_Scancode -> SDL_Scancode
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> Ptr Void -> IO CUInt
hs_bindgen_3ca1dc40673f0b86_base (SDL_Keycode -> FFIType SDL_Keycode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Keycode
x0) (Ptr SDL_Keymod -> FFIType (Ptr SDL_Keymod)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Keymod
x1))
sDL_GetScancodeFromKey
:: SDL3.Sys.Bindgen.Keycode.SDL_Keycode
-> BG.Ptr SDL3.Sys.Bindgen.Keycode.SDL_Keymod
-> IO SDL3.Sys.Bindgen.Scancode.SDL_Scancode
sDL_GetScancodeFromKey :: SDL_Keycode -> Ptr SDL_Keymod -> IO SDL_Scancode
sDL_GetScancodeFromKey = SDL_Keycode -> Ptr SDL_Keymod -> IO SDL_Scancode
hs_bindgen_3ca1dc40673f0b86
foreign import ccall unsafe "hs_bindgen_8dafd77961e1a111"
hs_bindgen_8dafd77961e1a111_base
:: HsBindgen.Runtime.Support.CUInt
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_8dafd77961e1a111
:: SDL3.Sys.Bindgen.Scancode.SDL_Scancode
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_8dafd77961e1a111 :: SDL_Scancode -> PtrConst CChar -> IO CBool
hs_bindgen_8dafd77961e1a111 =
\SDL_Scancode
x0 ->
\PtrConst CChar
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUInt -> Ptr Void -> IO CBool
hs_bindgen_8dafd77961e1a111_base (SDL_Scancode -> FFIType SDL_Scancode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Scancode
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_SetScancodeName
:: SDL3.Sys.Bindgen.Scancode.SDL_Scancode
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
sDL_SetScancodeName :: SDL_Scancode -> PtrConst CChar -> IO CBool
sDL_SetScancodeName = SDL_Scancode -> PtrConst CChar -> IO CBool
hs_bindgen_8dafd77961e1a111
foreign import ccall unsafe "hs_bindgen_b685af9e0919d14c"
hs_bindgen_b685af9e0919d14c_base
:: HsBindgen.Runtime.Support.CUInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_b685af9e0919d14c
:: SDL3.Sys.Bindgen.Scancode.SDL_Scancode
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_b685af9e0919d14c :: SDL_Scancode -> IO (PtrConst CChar)
hs_bindgen_b685af9e0919d14c =
\SDL_Scancode
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUInt -> IO (Ptr Void)
hs_bindgen_b685af9e0919d14c_base (SDL_Scancode -> FFIType SDL_Scancode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Scancode
x0))
sDL_GetScancodeName
:: SDL3.Sys.Bindgen.Scancode.SDL_Scancode
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetScancodeName :: SDL_Scancode -> IO (PtrConst CChar)
sDL_GetScancodeName = SDL_Scancode -> IO (PtrConst CChar)
hs_bindgen_b685af9e0919d14c
foreign import ccall unsafe "hs_bindgen_7e17fd8d9faf99b2"
hs_bindgen_7e17fd8d9faf99b2_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CUInt
hs_bindgen_7e17fd8d9faf99b2
:: PtrConst.PtrConst BG.CChar
-> IO SDL3.Sys.Bindgen.Scancode.SDL_Scancode
hs_bindgen_7e17fd8d9faf99b2 :: PtrConst CChar -> IO SDL_Scancode
hs_bindgen_7e17fd8d9faf99b2 =
\PtrConst CChar
x0 ->
(CUInt -> SDL_Scancode) -> IO CUInt -> IO SDL_Scancode
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_Scancode
FFIType SDL_Scancode -> SDL_Scancode
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CUInt
hs_bindgen_7e17fd8d9faf99b2_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_GetScancodeFromName
:: PtrConst.PtrConst BG.CChar
-> IO SDL3.Sys.Bindgen.Scancode.SDL_Scancode
sDL_GetScancodeFromName :: PtrConst CChar -> IO SDL_Scancode
sDL_GetScancodeFromName = PtrConst CChar -> IO SDL_Scancode
hs_bindgen_7e17fd8d9faf99b2
foreign import ccall unsafe "hs_bindgen_bc806af89a4922a7"
hs_bindgen_bc806af89a4922a7_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_bc806af89a4922a7
:: SDL3.Sys.Bindgen.Keycode.SDL_Keycode
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_bc806af89a4922a7 :: SDL_Keycode -> IO (PtrConst CChar)
hs_bindgen_bc806af89a4922a7 =
\SDL_Keycode
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_bc806af89a4922a7_base (SDL_Keycode -> FFIType SDL_Keycode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Keycode
x0))
sDL_GetKeyName
:: SDL3.Sys.Bindgen.Keycode.SDL_Keycode
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetKeyName :: SDL_Keycode -> IO (PtrConst CChar)
sDL_GetKeyName = SDL_Keycode -> IO (PtrConst CChar)
hs_bindgen_bc806af89a4922a7
foreign import ccall unsafe "hs_bindgen_427d0617876df1a1"
hs_bindgen_427d0617876df1a1_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_427d0617876df1a1
:: PtrConst.PtrConst BG.CChar
-> IO SDL3.Sys.Bindgen.Keycode.SDL_Keycode
hs_bindgen_427d0617876df1a1 :: PtrConst CChar -> IO SDL_Keycode
hs_bindgen_427d0617876df1a1 =
\PtrConst CChar
x0 ->
(Word32 -> SDL_Keycode) -> IO Word32 -> IO SDL_Keycode
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_Keycode
FFIType SDL_Keycode -> SDL_Keycode
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_427d0617876df1a1_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_GetKeyFromName
:: PtrConst.PtrConst BG.CChar
-> IO SDL3.Sys.Bindgen.Keycode.SDL_Keycode
sDL_GetKeyFromName :: PtrConst CChar -> IO SDL_Keycode
sDL_GetKeyFromName = PtrConst CChar -> IO SDL_Keycode
hs_bindgen_427d0617876df1a1
foreign import ccall unsafe "hs_bindgen_5a9261502fa2575b"
hs_bindgen_5a9261502fa2575b_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_5a9261502fa2575b
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_5a9261502fa2575b :: Ptr SDL_Window -> IO CBool
hs_bindgen_5a9261502fa2575b =
\Ptr SDL_Window
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_5a9261502fa2575b_base (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x0))
sDL_StartTextInput
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
sDL_StartTextInput :: Ptr SDL_Window -> IO CBool
sDL_StartTextInput = Ptr SDL_Window -> IO CBool
hs_bindgen_5a9261502fa2575b
foreign import ccall unsafe "hs_bindgen_0c7cd0ff2864a5c4"
hs_bindgen_0c7cd0ff2864a5c4_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_0c7cd0ff2864a5c4
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO BG.CBool
hs_bindgen_0c7cd0ff2864a5c4 :: Ptr SDL_Window -> SDL_PropertiesID -> IO CBool
hs_bindgen_0c7cd0ff2864a5c4 =
\Ptr SDL_Window
x0 ->
\SDL_PropertiesID
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Word32 -> IO CBool
hs_bindgen_0c7cd0ff2864a5c4_base (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x0) (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x1))
sDL_StartTextInputWithProperties
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO BG.CBool
sDL_StartTextInputWithProperties :: Ptr SDL_Window -> SDL_PropertiesID -> IO CBool
sDL_StartTextInputWithProperties =
Ptr SDL_Window -> SDL_PropertiesID -> IO CBool
hs_bindgen_0c7cd0ff2864a5c4
foreign import ccall unsafe "hs_bindgen_5c76ed8d45b8c50f"
hs_bindgen_5c76ed8d45b8c50f_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_5c76ed8d45b8c50f
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_5c76ed8d45b8c50f :: Ptr SDL_Window -> IO CBool
hs_bindgen_5c76ed8d45b8c50f =
\Ptr SDL_Window
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_5c76ed8d45b8c50f_base (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x0))
sDL_TextInputActive
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
sDL_TextInputActive :: Ptr SDL_Window -> IO CBool
sDL_TextInputActive = Ptr SDL_Window -> IO CBool
hs_bindgen_5c76ed8d45b8c50f
foreign import ccall unsafe "hs_bindgen_3ae77c9248468f14"
hs_bindgen_3ae77c9248468f14_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_3ae77c9248468f14
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_3ae77c9248468f14 :: Ptr SDL_Window -> IO CBool
hs_bindgen_3ae77c9248468f14 =
\Ptr SDL_Window
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_3ae77c9248468f14_base (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x0))
sDL_StopTextInput
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
sDL_StopTextInput :: Ptr SDL_Window -> IO CBool
sDL_StopTextInput = Ptr SDL_Window -> IO CBool
hs_bindgen_3ae77c9248468f14
foreign import ccall unsafe "hs_bindgen_2d81775a3f86e350"
hs_bindgen_2d81775a3f86e350_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_2d81775a3f86e350
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_2d81775a3f86e350 :: Ptr SDL_Window -> IO CBool
hs_bindgen_2d81775a3f86e350 =
\Ptr SDL_Window
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_2d81775a3f86e350_base (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x0))
sDL_ClearComposition
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
sDL_ClearComposition :: Ptr SDL_Window -> IO CBool
sDL_ClearComposition = Ptr SDL_Window -> IO CBool
hs_bindgen_2d81775a3f86e350
foreign import ccall unsafe "hs_bindgen_6de1e1b47fbde959"
hs_bindgen_6de1e1b47fbde959_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_6de1e1b47fbde959
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CInt
-> IO BG.CBool
hs_bindgen_6de1e1b47fbde959 :: Ptr SDL_Window -> PtrConst SDL_Rect -> CInt -> IO CBool
hs_bindgen_6de1e1b47fbde959 =
\Ptr SDL_Window
x0 ->
\PtrConst SDL_Rect
x1 ->
\CInt
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CInt -> IO CBool
hs_bindgen_6de1e1b47fbde959_base (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x0) (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2))
sDL_SetTextInputArea
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CInt
-> IO BG.CBool
sDL_SetTextInputArea :: Ptr SDL_Window -> PtrConst SDL_Rect -> CInt -> IO CBool
sDL_SetTextInputArea = Ptr SDL_Window -> PtrConst SDL_Rect -> CInt -> IO CBool
hs_bindgen_6de1e1b47fbde959
foreign import ccall unsafe "hs_bindgen_e48f604580fa9c58"
hs_bindgen_e48f604580fa9c58_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_e48f604580fa9c58
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> BG.Ptr SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr BG.CInt
-> IO BG.CBool
hs_bindgen_e48f604580fa9c58 :: Ptr SDL_Window -> Ptr SDL_Rect -> Ptr CInt -> IO CBool
hs_bindgen_e48f604580fa9c58 =
\Ptr SDL_Window
x0 ->
\Ptr SDL_Rect
x1 ->
\Ptr CInt
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_e48f604580fa9c58_base (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x0) (Ptr SDL_Rect -> FFIType (Ptr SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Rect
x1) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x2))
sDL_GetTextInputArea
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> BG.Ptr SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr BG.CInt
-> IO BG.CBool
sDL_GetTextInputArea :: Ptr SDL_Window -> Ptr SDL_Rect -> Ptr CInt -> IO CBool
sDL_GetTextInputArea = Ptr SDL_Window -> Ptr SDL_Rect -> Ptr CInt -> IO CBool
hs_bindgen_e48f604580fa9c58
foreign import ccall unsafe "hs_bindgen_94887f48a4a41d37"
hs_bindgen_94887f48a4a41d37_base
:: IO BG.CBool
hs_bindgen_94887f48a4a41d37 :: IO BG.CBool
hs_bindgen_94887f48a4a41d37 :: IO CBool
hs_bindgen_94887f48a4a41d37 =
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO CBool
hs_bindgen_94887f48a4a41d37_base
sDL_HasScreenKeyboardSupport :: IO BG.CBool
sDL_HasScreenKeyboardSupport :: IO CBool
sDL_HasScreenKeyboardSupport =
IO CBool
hs_bindgen_94887f48a4a41d37
foreign import ccall unsafe "hs_bindgen_6ec8a3c2431361bd"
hs_bindgen_6ec8a3c2431361bd_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_6ec8a3c2431361bd
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_6ec8a3c2431361bd :: Ptr SDL_Window -> IO CBool
hs_bindgen_6ec8a3c2431361bd =
\Ptr SDL_Window
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_6ec8a3c2431361bd_base (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x0))
sDL_ScreenKeyboardShown
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
sDL_ScreenKeyboardShown :: Ptr SDL_Window -> IO CBool
sDL_ScreenKeyboardShown = Ptr SDL_Window -> IO CBool
hs_bindgen_6ec8a3c2431361bd