Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getPressed :: MonadDOM m => GamepadButton -> m Bool
- getValue :: MonadDOM m => GamepadButton -> m Double
- newtype GamepadButton = GamepadButton {}
- gTypeGamepadButton :: JSM GType
Documentation
getPressed :: MonadDOM m => GamepadButton -> m Bool Source #
newtype GamepadButton Source #
Functions for this inteface are in JSDOM.GamepadButton.
Instances
PToJSVal GamepadButton Source # | |
Defined in JSDOM.Types pToJSVal :: GamepadButton -> JSVal # | |
PFromJSVal GamepadButton Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> GamepadButton # | |
ToJSVal GamepadButton Source # | |
Defined in JSDOM.Types toJSVal :: GamepadButton -> JSM JSVal # toJSValListOf :: [GamepadButton] -> JSM JSVal # | |
FromJSVal GamepadButton Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe GamepadButton) # fromJSValUnchecked :: JSVal -> JSM GamepadButton # fromJSValListOf :: JSVal -> JSM (Maybe [GamepadButton]) # fromJSValUncheckedListOf :: JSVal -> JSM [GamepadButton] # | |
MakeObject GamepadButton Source # | |
Defined in JSDOM.Types makeObject :: GamepadButton -> JSM Object # | |
IsGObject GamepadButton Source # | |
Defined in JSDOM.Types typeGType :: GamepadButton -> JSM GType |