|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
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.
DetailsDetails
- With the setting ControllerPath->{id1, id2, ...}, Mathematica will successively try controllers specified by the identifiers
, 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 - 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
ExamplesExamplesopen allclose all
Basic Examples (6)Basic Examples (6)
By default, Manipulate responds to the first controller that supports all necessary controls:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
Use
to specify a controller typically including two analog controls:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
Use
to specify a controller typically including one primary analog control:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
Use
for controllers such as space mice:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
Use
to specify a controller not built into a computer:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
Use
to specify a controller built into a computer:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »






