Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.
gTypeGamepad :: JSM GType Source #