メインコンテンツ

caps

(To be removed) Joystick capabilities

caps will be removed in a future release. For more information, see Version History.

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

collapse all