Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newGamepadEvent :: (MonadDOM m, ToJSString type') => type' -> GamepadEventInit -> m GamepadEvent
- getGamepad :: MonadDOM m => GamepadEvent -> m (Maybe Gamepad)
- getGamepadUnsafe :: (MonadDOM m, HasCallStack) => GamepadEvent -> m Gamepad
- getGamepadUnchecked :: MonadDOM m => GamepadEvent -> m Gamepad
- newtype GamepadEvent = GamepadEvent {}
- gTypeGamepadEvent :: JSM GType
Documentation
newGamepadEvent :: (MonadDOM m, ToJSString type') => type' -> GamepadEventInit -> m GamepadEvent Source #
getGamepad :: MonadDOM m => GamepadEvent -> m (Maybe Gamepad) Source #
getGamepadUnsafe :: (MonadDOM m, HasCallStack) => GamepadEvent -> m Gamepad Source #
getGamepadUnchecked :: MonadDOM m => GamepadEvent -> m Gamepad Source #
newtype GamepadEvent Source #
Functions for this inteface are in JSDOM.GamepadEvent. Base interface functions are in: