Main Content

caps

Joystick capabilities

Syntax

c = caps(joy)

Description

c = caps(joy) returns joystick capabilities, such as the number of axes, buttons, POVs, and force-feedback axes. The return value is a structure with fields named Axes, Buttons, POVs, and Forces.

Input Arguments

expand all

Joystick, specified as a vrjoystick object.

Output Arguments

expand all

Joystick capabilities, returned as a structure.

Version History

Introduced in R2007b

See Also