fwgl-0.1.0.2: FRP 2D/3D game engine

Safe HaskellNone
LanguageHaskell2010

FWGL.Input

Synopsis

Documentation

module FWGL.Key

data Input Source

The general input.

Constructors

Input 

data EventData Source

The data carried by an event.

keyUp :: Key -> SF Input (Event ()) Source

Keyboard release.

keyDown :: Key -> SF Input (Event ()) Source

Keyboard press.

key :: Key -> SF Input (Event ()) Source

Keyboard down.

mouseDown :: MouseButton -> SF Input (Event (Int, Int)) Source

Mouse press.

mouseUp :: MouseButton -> SF Input (Event (Int, Int)) Source

Mouse release.

mouse :: MouseButton -> SF Input (Event (Int, Int)) Source

Mouse down.

click :: SF Input (Event (Int, Int)) Source

Left click.

pointer :: SF Input (Int, Int) Source

Pointer location in pixels.

resize :: SF Input (Event (Int, Int)) Source

Windowframebuffercanvas/etc. resize.

size :: SF Input (Int, Int) Source

Windowframebuffercanvas size.