Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data KeyboardMessage = MsgKeyboardEvent {}
- data Window
- data InputMotion
- data Keysym
Documentation
data KeyboardMessage Source #
Dataatype for handling all keyboard events haded down from SDL2
MsgKeyboardEvent | Arbitrary Keyboard event |
|
Instances
Show KeyboardMessage Source # | |
Defined in Affection.MessageBus.Message.KeyboardMessage showsPrec :: Int -> KeyboardMessage -> ShowS # show :: KeyboardMessage -> String # showList :: [KeyboardMessage] -> ShowS # | |
Message KeyboardMessage Source # | |
Defined in Affection.MessageBus.Message.KeyboardMessage msgTime :: KeyboardMessage -> Double Source # |
SDL reexports
Instances
Eq Window | |
Data Window | |
Defined in SDL.Internal.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Window -> c Window # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Window # toConstr :: Window -> Constr # dataTypeOf :: Window -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Window) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Window) # gmapT :: (forall b. Data b => b -> b) -> Window -> Window # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Window -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Window -> r # gmapQ :: (forall d. Data d => d -> u) -> Window -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Window -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Window -> m Window # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Window -> m Window # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Window -> m Window # | |
Ord Window | |
Show Window | |
Generic Window | |
type Rep Window | |
Defined in SDL.Internal.Types |
data InputMotion #
Instances
Information about a key press or key release event.
Instances
Eq Keysym | |
Data Keysym | |
Defined in SDL.Input.Keyboard gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Keysym -> c Keysym # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Keysym # toConstr :: Keysym -> Constr # dataTypeOf :: Keysym -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Keysym) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Keysym) # gmapT :: (forall b. Data b => b -> b) -> Keysym -> Keysym # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Keysym -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Keysym -> r # gmapQ :: (forall d. Data d => d -> u) -> Keysym -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Keysym -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Keysym -> m Keysym # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Keysym -> m Keysym # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Keysym -> m Keysym # | |
Ord Keysym | |
Read Keysym | |
Show Keysym | |
Generic Keysym | |
type Rep Keysym | |
Defined in SDL.Input.Keyboard type Rep Keysym = D1 (MetaData "Keysym" "SDL.Input.Keyboard" "sdl2-2.4.1.0-JfGLkN9ODDEI4y1RAyJJ9B" False) (C1 (MetaCons "Keysym" PrefixI True) (S1 (MetaSel (Just "keysymScancode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Scancode) :*: (S1 (MetaSel (Just "keysymKeycode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Keycode) :*: S1 (MetaSel (Just "keysymModifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 KeyModifier)))) |