Safe Haskell | None |
---|---|
Language | Haskell2010 |
SDL.Input.GameController
Synopsis
- data ControllerButton
- = ControllerButtonInvalid
- | ControllerButtonA
- | ControllerButtonB
- | ControllerButtonX
- | ControllerButtonY
- | ControllerButtonBack
- | ControllerButtonGuide
- | ControllerButtonStart
- | ControllerButtonLeftStick
- | ControllerButtonRightStick
- | ControllerButtonLeftShoulder
- | ControllerButtonRightShoulder
- | ControllerButtonDpadUp
- | ControllerButtonDpadDown
- | ControllerButtonDpadLeft
- | ControllerButtonDpadRight
- data ControllerButtonState
- data ControllerDeviceConnection
Documentation
data ControllerButton Source #
Identifies a gamepad button.
Constructors
Instances
data ControllerButtonState Source #
Identifies the state of a controller button.
Instances
data ControllerDeviceConnection Source #
Identified whether the game controller was added, removed, or remapped.