Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data AppInput
- parseWinInput :: SF WinInput AppInput
- mousePos :: SF AppInput (Double, Double)
- mouseRelPos :: SF AppInput (Double, Double)
- runSFEveryOtherTick :: SF a (Event b) -> SF a (Event b)
- mouseMoving :: SF AppInput (Event (Double, Double))
- mouseStopped :: SF AppInput (Event ())
- lbp :: SF AppInput (Event ())
- lbpPos :: SF AppInput (Event (Double, Double))
- lbDown :: SF AppInput Bool
- rbp :: SF AppInput (Event ())
- rbpPos :: SF AppInput (Event (Double, Double))
- rbDown :: SF AppInput Bool
- keyInput :: Scancode -> String -> SF AppInput (Event ())
- quitEvent :: SF AppInput (Event ())
- centerEvent :: SF AppInput (Event ())
- module SDL.Input.Keyboard.Codes
Documentation
parseWinInput :: SF WinInput AppInput Source #
Filter and transform SDL events into events which are relevant to our application
lbpPos :: SF AppInput (Event (Double, Double)) Source #
Events that indicate left button click and are tagged with mouse position
rbpPos :: SF AppInput (Event (Double, Double)) Source #
Events that indicate right button click and are tagged with mouse position
module SDL.Input.Keyboard.Codes