|
| Graphics.UI.SDL.Joystick | | Portability | portable | | Stability | provisional | | Maintainer | lemmih@gmail.com |
|
|
|
| Description |
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| Counts the number of joysticks attached to the system.
|
|
|
| Gets joystick name. Returns Nothing on error.
|
|
|
| Gets joystick name. Throws an exception on error.
|
|
|
| Opens a joystick for use. Returns Nothing on error.
|
|
|
| Opens a joystick for use. Throws an exception on error.
|
|
|
| Determines if a joystick has been opened.
|
|
|
| Gets the index of an Joystick.
|
|
|
| Gets the number of joystick axes.
|
|
|
| Gets the number of joystick trackballs.
|
|
|
| Gets the number of joystick hats.
|
|
|
| Gets the number of joystick buttons.
|
|
|
| Updates the state of all joysticks.
|
|
|
| Gets the current state of an axis.
|
|
|
| Gets the current state of a joystick hat.
|
|
|
| Gets the current state of a given button on a given joystick.
|
|
|
| Gets relative trackball motion.
|
|
|
| Force finalization of a previous opened Joystick. Only supported with GHC.
|
|
| Produced by Haddock version 0.8 |