Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- addEventWatch :: EventFilter -> Ptr () -> IO ()
- delEventWatch :: EventFilter -> Ptr () -> IO ()
- eventState :: Word32 -> CInt -> IO Word8
- filterEvents :: EventFilter -> Ptr () -> IO ()
- flushEvent :: Word32 -> IO ()
- flushEvents :: Word32 -> Word32 -> IO ()
- getEventFilter :: Ptr EventFilter -> Ptr (Ptr ()) -> IO Bool
- getNumTouchDevices :: IO CInt
- getNumTouchFingers :: TouchID -> IO CInt
- getTouchDevice :: CInt -> IO TouchID
- getTouchFinger :: TouchID -> CInt -> IO (Ptr Finger)
- hasEvent :: Word32 -> IO Bool
- hasEvents :: Word32 -> Word32 -> IO Bool
- loadDollarTemplates :: TouchID -> Ptr RWops -> IO CInt
- peepEvents :: Ptr Event -> CInt -> EventAction -> Word32 -> Word32 -> IO CInt
- pollEvent :: Ptr Event -> IO CInt
- pumpEvents :: IO ()
- pushEvent :: Ptr Event -> IO CInt
- quitRequested :: IO Bool
- recordGesture :: TouchID -> IO CInt
- registerEvents :: CInt -> IO Word32
- saveAllDollarTemplates :: Ptr RWops -> IO CInt
- saveDollarTemplate :: GestureID -> Ptr RWops -> IO CInt
- setEventFilter :: EventFilter -> Ptr () -> IO ()
- waitEvent :: Ptr Event -> IO CInt
- waitEventTimeout :: Ptr Event -> CInt -> IO CInt
- getKeyFromName :: CString -> IO Keycode
- getKeyFromScancode :: Scancode -> IO Keycode
- getKeyName :: Keycode -> IO CString
- getKeyboardFocus :: IO Window
- getKeyboardState :: Ptr CInt -> IO (Ptr Word8)
- getModState :: IO Keymod
- getScancodeFromKey :: Keycode -> IO Scancode
- getScancodeFromName :: CString -> IO Scancode
- getScancodeName :: Scancode -> IO CString
- hasScreenKeyboardSupport :: IO Bool
- isScreenKeyboardShown :: Window -> IO Bool
- isTextInputActive :: IO Bool
- setModState :: Keymod -> IO ()
- setTextInputRect :: Ptr Rect -> IO ()
- startTextInput :: IO ()
- stopTextInput :: IO ()
- createColorCursor :: Ptr Surface -> CInt -> CInt -> IO Cursor
- createCursor :: Ptr Word8 -> Ptr Word8 -> CInt -> CInt -> CInt -> CInt -> IO Cursor
- createSystemCursor :: SystemCursor -> IO Cursor
- freeCursor :: Cursor -> IO ()
- getCursor :: IO Cursor
- getDefaultCursor :: IO Cursor
- getMouseFocus :: IO Window
- getMouseState :: Ptr CInt -> Ptr CInt -> IO Word32
- getRelativeMouseMode :: IO Bool
- getRelativeMouseState :: Ptr CInt -> Ptr CInt -> IO Word32
- setCursor :: Cursor -> IO ()
- setRelativeMouseMode :: Bool -> IO CInt
- showCursor :: CInt -> IO CInt
- warpMouseInWindow :: Window -> CInt -> CInt -> IO ()
- joystickClose :: Joystick -> IO ()
- joystickEventState :: CInt -> IO CInt
- joystickGetAttached :: Joystick -> IO Bool
- joystickGetAxis :: Joystick -> CInt -> IO Int16
- joystickGetBall :: Joystick -> CInt -> Ptr CInt -> Ptr CInt -> IO CInt
- joystickGetButton :: Joystick -> CInt -> IO Word8
- joystickGetDeviceGUID :: CInt -> IO JoystickGUID
- joystickGetGUID :: Joystick -> IO JoystickGUID
- joystickGetGUIDFromString :: CString -> IO JoystickGUID
- joystickGetGUIDString :: JoystickGUID -> CString -> CInt -> IO ()
- joystickGetHat :: Joystick -> CInt -> IO Word8
- joystickInstanceID :: Joystick -> IO JoystickID
- joystickName :: Joystick -> IO CString
- joystickNameForIndex :: CInt -> IO CString
- joystickNumAxes :: Joystick -> IO CInt
- joystickNumBalls :: Joystick -> IO CInt
- joystickNumButtons :: Joystick -> IO CInt
- joystickNumHats :: Joystick -> IO CInt
- joystickOpen :: CInt -> IO Joystick
- joystickUpdate :: IO ()
- numJoysticks :: IO CInt
- gameControllerAddMapping :: CString -> IO CInt
- gameControllerAddMappingsFromFile :: CString -> IO CInt
- gameControllerAddMappingsFromRW :: Ptr RWops -> CInt -> IO CInt
- gameControllerClose :: GameController -> IO ()
- gameControllerEventState :: CInt -> IO CInt
- gameControllerGetAttached :: GameController -> IO Bool
- gameControllerGetAxis :: GameController -> GameControllerAxis -> IO Int16
- gameControllerGetAxisFromString :: CString -> IO GameControllerAxis
- gameControllerGetBindForAxis :: GameController -> GameControllerAxis -> IO GameControllerButtonBind
- gameControllerGetBindForButton :: GameController -> GameControllerButton -> IO GameControllerButtonBind
- gameControllerGetButton :: GameController -> GameControllerButton -> IO Word8
- gameControllerGetButtonFromString :: CString -> IO GameControllerButton
- gameControllerGetJoystick :: GameController -> IO Joystick
- gameControllerGetStringForAxis :: GameControllerAxis -> IO CString
- gameControllerGetStringForButton :: GameControllerButton -> IO CString
- gameControllerMapping :: GameController -> IO CString
- gameControllerMappingForGUID :: JoystickGUID -> IO CString
- gameControllerName :: GameController -> IO CString
- gameControllerNameForIndex :: CInt -> IO CString
- gameControllerOpen :: CInt -> IO GameController
- gameControllerUpdate :: IO ()
- isGameController :: CInt -> IO Bool
Event Handling
addEventWatch :: EventFilter -> Ptr () -> IO () Source
delEventWatch :: EventFilter -> Ptr () -> IO () Source
filterEvents :: EventFilter -> Ptr () -> IO () Source
flushEvent :: Word32 -> IO () Source
flushEvents :: Word32 -> Word32 -> IO () Source
getEventFilter :: Ptr EventFilter -> Ptr (Ptr ()) -> IO Bool Source
getNumTouchFingers :: TouchID -> IO CInt Source
getTouchDevice :: CInt -> IO TouchID Source
peepEvents :: Ptr Event -> CInt -> EventAction -> Word32 -> Word32 -> IO CInt Source
pumpEvents :: IO () Source
recordGesture :: TouchID -> IO CInt Source
registerEvents :: CInt -> IO Word32 Source
setEventFilter :: EventFilter -> Ptr () -> IO () Source
Keyboard Support
getKeyFromName :: CString -> IO Keycode Source
getKeyName :: Keycode -> IO CString Source
getScancodeName :: Scancode -> IO CString Source
isScreenKeyboardShown :: Window -> IO Bool Source
setModState :: Keymod -> IO () Source
setTextInputRect :: Ptr Rect -> IO () Source
startTextInput :: IO () Source
stopTextInput :: IO () Source
Mouse Support
freeCursor :: Cursor -> IO () Source
setRelativeMouseMode :: Bool -> IO CInt Source
showCursor :: CInt -> IO CInt Source
Joystick Support
joystickClose :: Joystick -> IO () Source
joystickEventState :: CInt -> IO CInt Source
joystickGetAttached :: Joystick -> IO Bool Source
joystickGetGUIDString :: JoystickGUID -> CString -> CInt -> IO () Source
joystickName :: Joystick -> IO CString Source
joystickNameForIndex :: CInt -> IO CString Source
joystickNumAxes :: Joystick -> IO CInt Source
joystickNumBalls :: Joystick -> IO CInt Source
joystickNumButtons :: Joystick -> IO CInt Source
joystickNumHats :: Joystick -> IO CInt Source
joystickOpen :: CInt -> IO Joystick Source
joystickUpdate :: IO () Source
numJoysticks :: IO CInt Source
Game Controller Support
gameControllerClose :: GameController -> IO () Source
gameControllerEventState :: CInt -> IO CInt Source
gameControllerGetBindForAxis :: GameController -> GameControllerAxis -> IO GameControllerButtonBind Source
gameControllerGetBindForButton :: GameController -> GameControllerButton -> IO GameControllerButtonBind Source
gameControllerUpdate :: IO () Source
isGameController :: CInt -> IO Bool Source