ControllerPath

ControllerPath

is an option that gives a list of external controllers or classes of controllers to try for functions such as ControllerState, Manipulate, and Graphics3D.

Details

  • With the setting ControllerPath->{id1,id2,}, the Wolfram System will successively try controllers specified by the identifiers idn, using the first one that supports whatever controls are requested.
  • Identifiers for controllers can be the following:
  • "name"device name from ControllerInformation
    "class"device class specifier
    nraw device index from ControllerInformation
    Allall devices supporting the requested controls
  • Possible device class identifiers include:
  • "Gamepad"controller typically including two analog controls
    "Joystick"controller typically including one primary analog control
    "Detachable"controller not built into a computer
    "BuiltIn"controller built into a computer

Examples

Basic Examples  (6)

By default, Manipulate responds to the first controller that supports all necessary controls:

Use "Gamepad" to specify a controller typically including two analog controls:

Use "Joystick" to specify a controller typically including one primary analog control:

Use "Multi-Axis Controller" for controllers such as space mice:

Use "Detachable" to specify a controller not built into a computer:

Use "BuiltIn" to specify a controller built into a computer:

Wolfram Research (2007), ControllerPath, Wolfram Language function, https://reference.wolfram.com/language/ref/ControllerPath.html.

Text

Wolfram Research (2007), ControllerPath, Wolfram Language function, https://reference.wolfram.com/language/ref/ControllerPath.html.

CMS

Wolfram Language. 2007. "ControllerPath." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ControllerPath.html.

APA

Wolfram Language. (2007). ControllerPath. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ControllerPath.html

BibTeX

@misc{reference.wolfram_2024_controllerpath, author="Wolfram Research", title="{ControllerPath}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ControllerPath.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_controllerpath, organization={Wolfram Research}, title={ControllerPath}, year={2007}, url={https://reference.wolfram.com/language/ref/ControllerPath.html}, note=[Accessed: 21-November-2024 ]}