is an option that gives a list of external controllers or classes of controllers to try for functions such as ControllerState, Manipulate, and Graphics3D.
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 n raw device index from ControllerInformation All all devices supporting the requested controls Automatic the first controller that supports all necessary 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
open all close allBasic Examples (2)
By default, Manipulate responds to the first controller that supports all necessary controls:
Manipulate[u, {u, 0, 1}]Use "Gamepad" to specify a controller typically including two analog controls:
Manipulate[u, {u, 0, 1}, ControllerPath -> "Gamepad"]Scope (4)
Use "Joystick" to specify a controller typically including one primary analog control:
Manipulate[u, {u, 0, 1}, ControllerPath -> "Joystick"]Use "Multi-Axis Controller" for controllers such as space mice:
Manipulate[u, {u, 0, 1}, ControllerPath -> "Multi-Axis Controller"]Use "Detachable" to specify a controller not built into a computer:
Manipulate[u, {u, 0, 1}, ControllerPath -> "Detachable"]Use "BuiltIn" to specify a controller built into a computer:
Manipulate[u, {u, 0, 1}, ControllerPath -> "BuiltIn"]Related Guides
Related Workflows
- Control Interactive Content with a Gamepad
History
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_2026_controllerpath, author="Wolfram Research", title="{ControllerPath}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ControllerPath.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_controllerpath, organization={Wolfram Research}, title={ControllerPath}, year={2007}, url={https://reference.wolfram.com/language/ref/ControllerPath.html}, note=[Accessed: 12-June-2026]}