haskus-system-0.6.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.Arch.Linux.Graphics.Event

Description

Graphics events

Synopsis

Documentation

data Event Source #

Graphics events

Constructors

VBlankEvent EventType StructEventVBlank

VBlank event

CustomEvent Word32 Buffer

Custom event

Instances

peekEvents :: forall m. MonadIO m => Ptr () -> Word32 -> m [Event] Source #

Peek events

data StructEventVBlank Source #

drm_event_vblank

Instances

Show StructEventVBlank Source # 
Generic StructEventVBlank Source # 
Storable StructEventVBlank Source # 
type Rep StructEventVBlank Source # 
type Rep StructEventVBlank = D1 (MetaData "StructEventVBlank" "Haskus.Arch.Linux.Internals.Graphics" "haskus-system-0.6.0.0-LVSu3PthuRFHWVZOhe7JQX" False) (C1 (MetaCons "StructEventVBlank" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "vblankEventType") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Word32)) ((:*:) (S1 (MetaSel (Just Symbol "vblankEventSize") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Word32)) (S1 (MetaSel (Just Symbol "vblankEventUserData") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Word64)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "vblankEventSeconds") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Word32)) (S1 (MetaSel (Just Symbol "vblankEventMicroseconds") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Word32))) ((:*:) (S1 (MetaSel (Just Symbol "vblankEventSequence") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Word32)) (S1 (MetaSel (Just Symbol "vblankEventReserved") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Word32))))))