Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype DOMGamepad = DOMGamepad (ForeignPtr DOMGamepad)
- class GObject o => DOMGamepadK o
- toDOMGamepad :: DOMGamepadK o => o -> IO DOMGamepad
- noDOMGamepad :: Maybe DOMGamepad
- data DOMGamepadGetIdMethodInfo
- dOMGamepadGetId :: (MonadIO m, DOMGamepadK a) => a -> m Text
- data DOMGamepadGetIndexMethodInfo
- dOMGamepadGetIndex :: (MonadIO m, DOMGamepadK a) => a -> m CULong
- data DOMGamepadGetTimestampMethodInfo
- dOMGamepadGetTimestamp :: (MonadIO m, DOMGamepadK a) => a -> m Word64
- data DOMGamepadIdPropertyInfo
- dOMGamepadId :: AttrLabelProxy "id"
- getDOMGamepadId :: (MonadIO m, DOMGamepadK o) => o -> m (Maybe Text)
- data DOMGamepadIndexPropertyInfo
- dOMGamepadIndex :: AttrLabelProxy "index"
- getDOMGamepadIndex :: (MonadIO m, DOMGamepadK o) => o -> m CULong
- data DOMGamepadTimestampPropertyInfo
- dOMGamepadTimestamp :: AttrLabelProxy "timestamp"
- getDOMGamepadTimestamp :: (MonadIO m, DOMGamepadK o) => o -> m Word64
Exported types
newtype DOMGamepad Source
GObject DOMGamepad | |
((~) * info (ResolveDOMGamepadMethod t DOMGamepad), MethodInfo * info DOMGamepad p) => IsLabelProxy t (DOMGamepad -> p) | |
type ParentTypes DOMGamepad | |
type AttributeList DOMGamepad | |
type SignalList DOMGamepad |
class GObject o => DOMGamepadK o Source
(GObject o, IsDescendantOf DOMGamepad o) => DOMGamepadK o |
toDOMGamepad :: DOMGamepadK o => o -> IO DOMGamepad Source
Methods
dOMGamepadGetId
data DOMGamepadGetIdMethodInfo Source
((~) * signature (m Text), MonadIO m, DOMGamepadK a) => MethodInfo * DOMGamepadGetIdMethodInfo a signature |
dOMGamepadGetId :: (MonadIO m, DOMGamepadK a) => a -> m Text Source
dOMGamepadGetIndex
data DOMGamepadGetIndexMethodInfo Source
((~) * signature (m CULong), MonadIO m, DOMGamepadK a) => MethodInfo * DOMGamepadGetIndexMethodInfo a signature |
dOMGamepadGetIndex :: (MonadIO m, DOMGamepadK a) => a -> m CULong Source
dOMGamepadGetTimestamp
data DOMGamepadGetTimestampMethodInfo Source
((~) * signature (m Word64), MonadIO m, DOMGamepadK a) => MethodInfo * DOMGamepadGetTimestampMethodInfo a signature |
dOMGamepadGetTimestamp :: (MonadIO m, DOMGamepadK a) => a -> m Word64 Source
Properties
Id
data DOMGamepadIdPropertyInfo Source
AttrInfo DOMGamepadIdPropertyInfo | |
type AttrLabel DOMGamepadIdPropertyInfo = "id" | |
type AttrGetType DOMGamepadIdPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint DOMGamepadIdPropertyInfo = DOMGamepadK | |
type AttrSetTypeConstraint DOMGamepadIdPropertyInfo = * ~ () | |
type AttrAllowedOps DOMGamepadIdPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
dOMGamepadId :: AttrLabelProxy "id" Source
getDOMGamepadId :: (MonadIO m, DOMGamepadK o) => o -> m (Maybe Text) Source
Index
data DOMGamepadIndexPropertyInfo Source
AttrInfo DOMGamepadIndexPropertyInfo | |
type AttrLabel DOMGamepadIndexPropertyInfo = "index" | |
type AttrGetType DOMGamepadIndexPropertyInfo = CULong | |
type AttrBaseTypeConstraint DOMGamepadIndexPropertyInfo = DOMGamepadK | |
type AttrSetTypeConstraint DOMGamepadIndexPropertyInfo = * ~ () | |
type AttrAllowedOps DOMGamepadIndexPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
dOMGamepadIndex :: AttrLabelProxy "index" Source
getDOMGamepadIndex :: (MonadIO m, DOMGamepadK o) => o -> m CULong Source
Timestamp
data DOMGamepadTimestampPropertyInfo Source
AttrInfo DOMGamepadTimestampPropertyInfo | |
type AttrLabel DOMGamepadTimestampPropertyInfo = "timestamp" | |
type AttrGetType DOMGamepadTimestampPropertyInfo = Word64 | |
type AttrBaseTypeConstraint DOMGamepadTimestampPropertyInfo = DOMGamepadK | |
type AttrSetTypeConstraint DOMGamepadTimestampPropertyInfo = * ~ () | |
type AttrAllowedOps DOMGamepadTimestampPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
dOMGamepadTimestamp :: AttrLabelProxy "timestamp" Source
getDOMGamepadTimestamp :: (MonadIO m, DOMGamepadK o) => o -> m Word64 Source