{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Keyboard.Safe (
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_HasKeyboard,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetKeyboards,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetKeyboardNameForID,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetKeyboardFocus,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetKeyboardState,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_ResetKeyboard,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetModState,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_SetModState,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetKeyFromScancode,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetScancodeFromKey,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_SetScancodeName,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetScancodeName,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetScancodeFromName,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetKeyName,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetKeyFromName,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_StartTextInput,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_StartTextInputWithProperties,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_TextInputActive,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_StopTextInput,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_ClearComposition,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_SetTextInputArea,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_GetTextInputArea,
SDL3.Sys.Bindgen.Keyboard.Safe.sDL_HasScreenKeyboardSupport,
SDL3.Sys.Bindgen.Keyboard.Safe.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_1ef4ce9325e1d7c1 (void)"
, "{"
, " return (SDL_HasKeyboard)();"
, "}"
, "SDL_KeyboardID *hs_bindgen_b59c0860157b89a3 ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetKeyboards)(arg1);"
, "}"
, "char const *hs_bindgen_cbd6c7684c35aab5 ("
, " SDL_KeyboardID arg1"
, ")"
, "{"
, " return (SDL_GetKeyboardNameForID)(arg1);"
, "}"
, "SDL_Window *hs_bindgen_4466a0bcf920ec34 (void)"
, "{"
, " return (SDL_GetKeyboardFocus)();"
, "}"
, "_Bool const *hs_bindgen_28f41d367bc840d8 ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetKeyboardState)(arg1);"
, "}"
, "void hs_bindgen_e5be3af904377165 (void)"
, "{"
, " (SDL_ResetKeyboard)();"
, "}"
, "SDL_Keymod hs_bindgen_2b74759b43835352 (void)"
, "{"
, " return (SDL_GetModState)();"
, "}"
, "void hs_bindgen_12c8d03624bdd31a ("
, " SDL_Keymod arg1"
, ")"
, "{"
, " (SDL_SetModState)(arg1);"
, "}"
, "SDL_Keycode hs_bindgen_2ed37c1ae220bcdc ("
, " SDL_Scancode arg1,"
, " SDL_Keymod arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_GetKeyFromScancode)(arg1, arg2, arg3);"
, "}"
, "SDL_Scancode hs_bindgen_fc2da5865c26d1eb ("
, " SDL_Keycode arg1,"
, " SDL_Keymod *arg2"
, ")"
, "{"
, " return (SDL_GetScancodeFromKey)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_d3d1490d83b9909e ("
, " SDL_Scancode arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_SetScancodeName)(arg1, arg2);"
, "}"
, "char const *hs_bindgen_7fa9ebec253c00ba ("
, " SDL_Scancode arg1"
, ")"
, "{"
, " return (SDL_GetScancodeName)(arg1);"
, "}"
, "SDL_Scancode hs_bindgen_93b32ce48be9ecca ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_GetScancodeFromName)(arg1);"
, "}"
, "char const *hs_bindgen_1808b5592239c8c9 ("
, " SDL_Keycode arg1"
, ")"
, "{"
, " return (SDL_GetKeyName)(arg1);"
, "}"
, "SDL_Keycode hs_bindgen_cc4e614de70c9201 ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_GetKeyFromName)(arg1);"
, "}"
, "_Bool hs_bindgen_ee1b6ad2d89317cd ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_StartTextInput)(arg1);"
, "}"
, "_Bool hs_bindgen_9f9c608b064a8e66 ("
, " SDL_Window *arg1,"
, " SDL_PropertiesID arg2"
, ")"
, "{"
, " return (SDL_StartTextInputWithProperties)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_459a3903a479c503 ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_TextInputActive)(arg1);"
, "}"
, "_Bool hs_bindgen_2b5c6adc62fd6b03 ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_StopTextInput)(arg1);"
, "}"
, "_Bool hs_bindgen_6b1d107b71fa60e9 ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_ClearComposition)(arg1);"
, "}"
, "_Bool hs_bindgen_03f0bc714d10f56b ("
, " SDL_Window *arg1,"
, " SDL_Rect const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_SetTextInputArea)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_20c88b6d3256a2c4 ("
, " SDL_Window *arg1,"
, " SDL_Rect *arg2,"
, " signed int *arg3"
, ")"
, "{"
, " return (SDL_GetTextInputArea)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_052de17a6a7b51b1 (void)"
, "{"
, " return (SDL_HasScreenKeyboardSupport)();"
, "}"
, "_Bool hs_bindgen_166e1a8b6522af56 ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return (SDL_ScreenKeyboardShown)(arg1);"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_1ef4ce9325e1d7c1"
hs_bindgen_1ef4ce9325e1d7c1_base
:: IO BG.CBool
hs_bindgen_1ef4ce9325e1d7c1 :: IO BG.CBool
hs_bindgen_1ef4ce9325e1d7c1 :: IO CBool
hs_bindgen_1ef4ce9325e1d7c1 =
(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_1ef4ce9325e1d7c1_base
sDL_HasKeyboard :: IO BG.CBool
sDL_HasKeyboard :: IO CBool
sDL_HasKeyboard = IO CBool
hs_bindgen_1ef4ce9325e1d7c1
foreign import ccall safe "hs_bindgen_b59c0860157b89a3"
hs_bindgen_b59c0860157b89a3_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_b59c0860157b89a3
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_KeyboardID)
hs_bindgen_b59c0860157b89a3 :: Ptr CInt -> IO (Ptr SDL_KeyboardID)
hs_bindgen_b59c0860157b89a3 =
\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_b59c0860157b89a3_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_b59c0860157b89a3
foreign import ccall safe "hs_bindgen_cbd6c7684c35aab5"
hs_bindgen_cbd6c7684c35aab5_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_cbd6c7684c35aab5
:: SDL_KeyboardID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_cbd6c7684c35aab5 :: SDL_KeyboardID -> IO (PtrConst CChar)
hs_bindgen_cbd6c7684c35aab5 =
\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_cbd6c7684c35aab5_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_cbd6c7684c35aab5
foreign import ccall safe "hs_bindgen_4466a0bcf920ec34"
hs_bindgen_4466a0bcf920ec34_base
:: IO (BG.Ptr BG.Void)
hs_bindgen_4466a0bcf920ec34 :: IO (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window)
hs_bindgen_4466a0bcf920ec34 :: IO (Ptr SDL_Window)
hs_bindgen_4466a0bcf920ec34 =
(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_4466a0bcf920ec34_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_4466a0bcf920ec34
foreign import ccall safe "hs_bindgen_28f41d367bc840d8"
hs_bindgen_28f41d367bc840d8_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_28f41d367bc840d8
:: BG.Ptr BG.CInt
-> IO (PtrConst.PtrConst BG.CBool)
hs_bindgen_28f41d367bc840d8 :: Ptr CInt -> IO (PtrConst CBool)
hs_bindgen_28f41d367bc840d8 =
\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_28f41d367bc840d8_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_28f41d367bc840d8
foreign import ccall safe "hs_bindgen_e5be3af904377165"
hs_bindgen_e5be3af904377165_base
:: IO ()
hs_bindgen_e5be3af904377165 :: IO ()
hs_bindgen_e5be3af904377165 :: IO ()
hs_bindgen_e5be3af904377165 =
IO ()
hs_bindgen_e5be3af904377165_base
sDL_ResetKeyboard :: IO ()
sDL_ResetKeyboard :: IO ()
sDL_ResetKeyboard = IO ()
hs_bindgen_e5be3af904377165
foreign import ccall safe "hs_bindgen_2b74759b43835352"
hs_bindgen_2b74759b43835352_base
:: IO HsBindgen.Runtime.LibC.Word16
hs_bindgen_2b74759b43835352 :: IO SDL3.Sys.Bindgen.Keycode.SDL_Keymod
hs_bindgen_2b74759b43835352 :: IO SDL_Keymod
hs_bindgen_2b74759b43835352 =
(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_2b74759b43835352_base
sDL_GetModState :: IO SDL3.Sys.Bindgen.Keycode.SDL_Keymod
sDL_GetModState :: IO SDL_Keymod
sDL_GetModState = IO SDL_Keymod
hs_bindgen_2b74759b43835352
foreign import ccall safe "hs_bindgen_12c8d03624bdd31a"
hs_bindgen_12c8d03624bdd31a_base
:: HsBindgen.Runtime.LibC.Word16
-> IO ()
hs_bindgen_12c8d03624bdd31a
:: SDL3.Sys.Bindgen.Keycode.SDL_Keymod
-> IO ()
hs_bindgen_12c8d03624bdd31a :: SDL_Keymod -> IO ()
hs_bindgen_12c8d03624bdd31a =
\SDL_Keymod
x0 ->
Word16 -> IO ()
hs_bindgen_12c8d03624bdd31a_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_12c8d03624bdd31a
foreign import ccall safe "hs_bindgen_2ed37c1ae220bcdc"
hs_bindgen_2ed37c1ae220bcdc_base
:: HsBindgen.Runtime.Support.CUInt
-> HsBindgen.Runtime.LibC.Word16
-> BG.CBool
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_2ed37c1ae220bcdc
:: SDL3.Sys.Bindgen.Scancode.SDL_Scancode
-> SDL3.Sys.Bindgen.Keycode.SDL_Keymod
-> BG.CBool
-> IO SDL3.Sys.Bindgen.Keycode.SDL_Keycode
hs_bindgen_2ed37c1ae220bcdc :: SDL_Scancode -> SDL_Keymod -> CBool -> IO SDL_Keycode
hs_bindgen_2ed37c1ae220bcdc =
\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_2ed37c1ae220bcdc_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_2ed37c1ae220bcdc
foreign import ccall safe "hs_bindgen_fc2da5865c26d1eb"
hs_bindgen_fc2da5865c26d1eb_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CUInt
hs_bindgen_fc2da5865c26d1eb
:: SDL3.Sys.Bindgen.Keycode.SDL_Keycode
-> BG.Ptr SDL3.Sys.Bindgen.Keycode.SDL_Keymod
-> IO SDL3.Sys.Bindgen.Scancode.SDL_Scancode
hs_bindgen_fc2da5865c26d1eb :: SDL_Keycode -> Ptr SDL_Keymod -> IO SDL_Scancode
hs_bindgen_fc2da5865c26d1eb =
\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_fc2da5865c26d1eb_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_fc2da5865c26d1eb
foreign import ccall safe "hs_bindgen_d3d1490d83b9909e"
hs_bindgen_d3d1490d83b9909e_base
:: HsBindgen.Runtime.Support.CUInt
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_d3d1490d83b9909e
:: SDL3.Sys.Bindgen.Scancode.SDL_Scancode
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_d3d1490d83b9909e :: SDL_Scancode -> PtrConst CChar -> IO CBool
hs_bindgen_d3d1490d83b9909e =
\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_d3d1490d83b9909e_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_d3d1490d83b9909e
foreign import ccall safe "hs_bindgen_7fa9ebec253c00ba"
hs_bindgen_7fa9ebec253c00ba_base
:: HsBindgen.Runtime.Support.CUInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_7fa9ebec253c00ba
:: SDL3.Sys.Bindgen.Scancode.SDL_Scancode
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_7fa9ebec253c00ba :: SDL_Scancode -> IO (PtrConst CChar)
hs_bindgen_7fa9ebec253c00ba =
\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_7fa9ebec253c00ba_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_7fa9ebec253c00ba
foreign import ccall safe "hs_bindgen_93b32ce48be9ecca"
hs_bindgen_93b32ce48be9ecca_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CUInt
hs_bindgen_93b32ce48be9ecca
:: PtrConst.PtrConst BG.CChar
-> IO SDL3.Sys.Bindgen.Scancode.SDL_Scancode
hs_bindgen_93b32ce48be9ecca :: PtrConst CChar -> IO SDL_Scancode
hs_bindgen_93b32ce48be9ecca =
\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_93b32ce48be9ecca_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_93b32ce48be9ecca
foreign import ccall safe "hs_bindgen_1808b5592239c8c9"
hs_bindgen_1808b5592239c8c9_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_1808b5592239c8c9
:: SDL3.Sys.Bindgen.Keycode.SDL_Keycode
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_1808b5592239c8c9 :: SDL_Keycode -> IO (PtrConst CChar)
hs_bindgen_1808b5592239c8c9 =
\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_1808b5592239c8c9_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_1808b5592239c8c9
foreign import ccall safe "hs_bindgen_cc4e614de70c9201"
hs_bindgen_cc4e614de70c9201_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_cc4e614de70c9201
:: PtrConst.PtrConst BG.CChar
-> IO SDL3.Sys.Bindgen.Keycode.SDL_Keycode
hs_bindgen_cc4e614de70c9201 :: PtrConst CChar -> IO SDL_Keycode
hs_bindgen_cc4e614de70c9201 =
\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_cc4e614de70c9201_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_cc4e614de70c9201
foreign import ccall safe "hs_bindgen_ee1b6ad2d89317cd"
hs_bindgen_ee1b6ad2d89317cd_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_ee1b6ad2d89317cd
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_ee1b6ad2d89317cd :: Ptr SDL_Window -> IO CBool
hs_bindgen_ee1b6ad2d89317cd =
\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_ee1b6ad2d89317cd_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_ee1b6ad2d89317cd
foreign import ccall safe "hs_bindgen_9f9c608b064a8e66"
hs_bindgen_9f9c608b064a8e66_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_9f9c608b064a8e66
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO BG.CBool
hs_bindgen_9f9c608b064a8e66 :: Ptr SDL_Window -> SDL_PropertiesID -> IO CBool
hs_bindgen_9f9c608b064a8e66 =
\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_9f9c608b064a8e66_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_9f9c608b064a8e66
foreign import ccall safe "hs_bindgen_459a3903a479c503"
hs_bindgen_459a3903a479c503_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_459a3903a479c503
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_459a3903a479c503 :: Ptr SDL_Window -> IO CBool
hs_bindgen_459a3903a479c503 =
\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_459a3903a479c503_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_459a3903a479c503
foreign import ccall safe "hs_bindgen_2b5c6adc62fd6b03"
hs_bindgen_2b5c6adc62fd6b03_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_2b5c6adc62fd6b03
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_2b5c6adc62fd6b03 :: Ptr SDL_Window -> IO CBool
hs_bindgen_2b5c6adc62fd6b03 =
\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_2b5c6adc62fd6b03_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_2b5c6adc62fd6b03
foreign import ccall safe "hs_bindgen_6b1d107b71fa60e9"
hs_bindgen_6b1d107b71fa60e9_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_6b1d107b71fa60e9
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_6b1d107b71fa60e9 :: Ptr SDL_Window -> IO CBool
hs_bindgen_6b1d107b71fa60e9 =
\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_6b1d107b71fa60e9_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_6b1d107b71fa60e9
foreign import ccall safe "hs_bindgen_03f0bc714d10f56b"
hs_bindgen_03f0bc714d10f56b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_03f0bc714d10f56b
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CInt
-> IO BG.CBool
hs_bindgen_03f0bc714d10f56b :: Ptr SDL_Window -> PtrConst SDL_Rect -> CInt -> IO CBool
hs_bindgen_03f0bc714d10f56b =
\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_03f0bc714d10f56b_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_03f0bc714d10f56b
foreign import ccall safe "hs_bindgen_20c88b6d3256a2c4"
hs_bindgen_20c88b6d3256a2c4_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_20c88b6d3256a2c4
:: 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_20c88b6d3256a2c4 :: Ptr SDL_Window -> Ptr SDL_Rect -> Ptr CInt -> IO CBool
hs_bindgen_20c88b6d3256a2c4 =
\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_20c88b6d3256a2c4_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_20c88b6d3256a2c4
foreign import ccall safe "hs_bindgen_052de17a6a7b51b1"
hs_bindgen_052de17a6a7b51b1_base
:: IO BG.CBool
hs_bindgen_052de17a6a7b51b1 :: IO BG.CBool
hs_bindgen_052de17a6a7b51b1 :: IO CBool
hs_bindgen_052de17a6a7b51b1 =
(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_052de17a6a7b51b1_base
sDL_HasScreenKeyboardSupport :: IO BG.CBool
sDL_HasScreenKeyboardSupport :: IO CBool
sDL_HasScreenKeyboardSupport =
IO CBool
hs_bindgen_052de17a6a7b51b1
foreign import ccall safe "hs_bindgen_166e1a8b6522af56"
hs_bindgen_166e1a8b6522af56_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_166e1a8b6522af56
:: BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_166e1a8b6522af56 :: Ptr SDL_Window -> IO CBool
hs_bindgen_166e1a8b6522af56 =
\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_166e1a8b6522af56_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_166e1a8b6522af56