JOY_TYPE_

Supported Linux joystick drivers.

Description

Drivers JOY_TYPE_*/Linux
The Linux library supports the following type parameters for the install_joystick() function:
  • JOY_TYPE_AUTODETECT
    Attempts to autodetect your joystick hardware. It will use information from the configuration file if one is available (this can be created using the setup utility or by calling the save_joystick_data() function), so you can always use JOY_TYPE_AUTODETECT in your code and then select the exact hardware type from the setup program.
  • JOY_TYPE_NONE
    Dummy driver for machines without any joystick.
  • JOY_TYPE_LINUX_ANALOGUE
    Regular joystick interface. Joystick support needs to be enabled in your kernel.
See Also: