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,}, the Wolfram System 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
    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

ExamplesExamplesopen allclose all

Basic Examples  (6)Basic Examples  (6)

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

Use to specify a controller typically including two analog controls:

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

Use for controllers such as space mice:

Use to specify a controller not built into a computer:

Use to specify a controller built into a computer:

Introduced in 2007
(6.0)