Safe Haskell | None |
---|---|
Language | Haskell2010 |
- module FWGL.Key
- data Input = Input {}
- data InputEvent
- data EventData = EventData {
- dataFramebufferSize :: Maybe (Int, Int)
- dataPointer :: Maybe (Int, Int)
- dataButton :: Maybe MouseButton
- dataKey :: Maybe Key
- keyUp :: Key -> SF Input (Event ())
- keyDown :: Key -> SF Input (Event ())
- key :: Key -> SF Input (Event ())
- mouseDown :: MouseButton -> SF Input (Event (Int, Int))
- mouseUp :: MouseButton -> SF Input (Event (Int, Int))
- mouse :: MouseButton -> SF Input (Event (Int, Int))
- click :: SF Input (Event (Int, Int))
- pointer :: SF Input (Int, Int)
- resize :: SF Input (Event (Int, Int))
- size :: SF Input (Int, Int)
Documentation
module FWGL.Key
data InputEvent Source
An event.
The data carried by an event.
EventData | |
|