| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
JSDOM.Generated.GamepadButton
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.
Constructors
| GamepadButton | |
Fields | |
Instances
| PToJSVal GamepadButton Source # | |
Defined in JSDOM.Types Methods pToJSVal :: GamepadButton -> JSVal # | |
| PFromJSVal GamepadButton Source # | |
Defined in JSDOM.Types Methods pFromJSVal :: JSVal -> GamepadButton # | |
| ToJSVal GamepadButton Source # | |
Defined in JSDOM.Types | |
| FromJSVal GamepadButton Source # | |
Defined in JSDOM.Types Methods 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 Methods makeObject :: GamepadButton -> JSM Object # | |
| IsGObject GamepadButton Source # | |
Defined in JSDOM.Types Methods typeGType :: GamepadButton -> JSM GType | |