Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- initAppInput :: AppInput
- data AppInput = AppInput {
- inpQuit :: Bool
- inpKey :: [Scancode]
- inpMousePos :: V2 Double
- inpMouseLeft :: Maybe (V2 Double)
- inpMouseRight :: Maybe (V2 Double)
Documentation
Data type which stores all user inputs at the current time. You should not interact with this type directly, but use signal functions like anyKeyActive
to get events.