Loading...
Searching...
No Matches
Joystick Class Reference

Class that provides an interface to joysticks and game controllers. More...

Detailed Description

Class that provides an interface to joysticks and game controllers.

This class allows application to access the data from game controllers of any type (joysticks, gamepads, racing wheels, etc). It provides discovery of the button configuration and axis layout and reports the status of the buttons and position of the axis. There is also support for enumerating the available controllers.

Joysticks can be accessed in two modes called standard and enhanced. The standard mode is for compatibility with the BeBox joysticks and is not implemented in Haiku. New applications should use the enhanced mode.