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 ()
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
getNumTouchFingers :: TouchID -> IO CInt
getTouchDevice :: CInt -> IO TouchID
peepEvents :: Ptr Event -> CInt -> EventAction -> Word32 -> Word32 -> IO CInt
pumpEvents :: IO ()
quitRequested :: IO Bool
recordGesture :: TouchID -> IO CInt
registerEvents :: CInt -> IO Word32
saveAllDollarTemplates :: Ptr RWops -> IO CInt
setEventFilter :: EventFilter -> Ptr () -> IO ()
Keyboard Support
getKeyFromName :: CString -> IO Keycode
getKeyFromScancode :: Scancode -> IO Keycode
getKeyName :: Keycode -> IO CString
getModState :: IO Keymod
getScancodeFromKey :: Keycode -> IO Scancode
getScancodeFromName :: CString -> IO Scancode
getScancodeName :: Scancode -> IO CString
isScreenKeyboardShown :: Window -> IO Bool
setModState :: Keymod -> IO ()
setTextInputRect :: Ptr Rect -> IO ()
startTextInput :: IO ()
stopTextInput :: IO ()
Mouse Support
freeCursor :: Cursor -> IO ()
setRelativeMouseMode :: Bool -> IO CInt
showCursor :: CInt -> IO CInt
warpMouseInWindow :: Window -> CInt -> CInt -> IO ()
Joystick Support
joystickClose :: Joystick -> IO ()
joystickEventState :: CInt -> IO CInt
joystickGetAttached :: Joystick -> IO Bool
joystickGetAxis :: Joystick -> CInt -> IO Int16
joystickGetButton :: Joystick -> CInt -> IO Word8
joystickGetGUIDString :: JoystickGUID -> CString -> CInt -> IO ()
joystickGetHat :: Joystick -> CInt -> IO Word8
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
Game Controller Support
gameControllerClose :: GameController -> IO ()
gameControllerEventState :: CInt -> IO CInt
gameControllerGetBindForButton :: GameController -> GameControllerButton -> IO GameControllerButtonBind
gameControllerUpdate :: IO ()
isGameController :: CInt -> IO Bool