class JoystickDevice
Defined in:
Encapsulates a joystick device (desktop only).
C4Input.h
Definition
class JoystickDevice final : public InputDevice
Description
The JoystickDevice
class encapsulates any generic gaming device, which includes joysticks, game pads, and genre-specific devices such as steering wheels and rudder pedals. This type of input device can exist only on desktop platforms.The types of the input controls belonging to a joystick device can be rather diverse. Specific controls such as joystick axes or buttons should be located by examining the HID usage value assigned to each control, returned by the
InputControl::GetInputControlHidUsage
function.
Base Classes
InputDevice |
A JoystickDevice is a specific type of input device.
|
See Also