HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulesdl2-2.5.6.1Haskell2010

SDL.Input.GameController

  • 8 types
  • 14 values
  • Packagesdl2-2.5.6.1
  • Exports22
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceGameController.hs
datadata ControllerDevice
#

A description of game controller that can be opened using openController. To retrieve a list of connected game controllers, use availableControllers.

Instances6Eq, Ord, Read, Show, Generic, Rep
newtypenewtype GameController
#
Instances6Eq, Data, Ord, Show, Generic, Rep
datadata ControllerButton
#
Instances9Eq, Data, Ord, Read, Show, Generic, …
Instances8Eq, Data, Ord, Read, Show, Generic, …
datadata ControllerAxis
#
Instances9Eq, Data, Ord, Read, Show, Generic, …

Identifies whether the game controller was added, removed, or remapped.

Instances8Eq, Data, Ord, Read, Show, Generic, …