Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getId :: (MonadDOM m, FromJSString result) => Gamepad -> m result
- getIndex :: MonadDOM m => Gamepad -> m Word
- getConnected :: MonadDOM m => Gamepad -> m Bool
- getTimestamp :: MonadDOM m => Gamepad -> m Double
- getMapping :: (MonadDOM m, FromJSString result) => Gamepad -> m result
- getAxes :: MonadDOM m => Gamepad -> m [Double]
- getButtons :: MonadDOM m => Gamepad -> m [GamepadButton]
- newtype Gamepad = Gamepad {}
- gTypeGamepad :: JSM GType
Documentation
getMapping :: (MonadDOM m, FromJSString result) => Gamepad -> m result Source #
getButtons :: MonadDOM m => Gamepad -> m [GamepadButton] Source #
Functions for this inteface are in JSDOM.Gamepad.
Instances
PToJSVal Gamepad Source # | |
Defined in JSDOM.Types | |
PFromJSVal Gamepad Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Gamepad # | |
ToJSVal Gamepad Source # | |
FromJSVal Gamepad Source # | |
MakeObject Gamepad Source # | |
Defined in JSDOM.Types makeObject :: Gamepad -> JSM Object # | |
IsGObject Gamepad Source # | |
Defined in JSDOM.Types |
gTypeGamepad :: JSM GType Source #