|
|
|||
|
|
| Built-in Mathematica Symbol | Tutorials »|See Also »|More About » |
| ControllerState["c"] gives the state of the control c for the first connected controller device on which it is supported. |
| ControllerState[{"c1", "c2", ...}] gives the states of several controls. |
| ControllerState[id, "c"] gives the state of control c for controller devices with the specified identifier. |
| ControllerState[id, {"c1", "c2", ...}] gives the states of several controls for several controller devices. |
| "X" or "X1" | x | primary | |
| "Y" or "Y1" | y | primary | |
| "Z" or "Z1" | z | primary | |
| "XY" or "XY1" | {x,y} | primary 2-axis controller value | |
| "XYZ" or "XYZ1" | {x,y,z} | primary 3-axis controller value | |
| "X2", "Y2", "XY2", etc. | x, y, {x, y}, etc. | values from a secondary controller | |
| "B1", "B2", etc. | b1, b2, etc. | button states |
| "Axes" | a list of all supported axis-like controls | |
| "Buttons" | a list of all supported button-like controls | |
| "Controls" | a list of all supported controls | |
| "Hardware" | information on the controller device hardware | |
| "Mapping" | rules for Mathematica mappings of controls | |
| "Rules" | rules for the settings of all controls |
| "name" | device name from ControllerInformation | |
| "class" | device class specifier | |
| n | raw device index from ControllerInformation | |
| All | all devices supporting the requested controls |
| "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 |