Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- consumeSDLMouseEvents :: forall am us. (Participant am us, Mesg am us ~ MouseMessage) => am -> [EventPayload] -> Affection us [EventPayload]
Documentation
consumeSDLMouseEvents Source #
:: (Participant am us, Mesg am us ~ MouseMessage) | |
=> am | The message system participant |
-> [EventPayload] | Incoming events |
-> Affection us [EventPayload] | Leftover SDL events |
Helper funtion that consumes all Mouse-related Eventpayload
s
and emits appropriate MouseMessage
s