Go to: Synopsis. Return value. Related. Flags. Python examples.
listInputDevices([free=boolean], [primary=boolean], [secondary=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
listInputDevices is undoable, NOT queryable, and NOT editable.
This command lists all input devices that maya knows about.
assignInputDevice, attachDeviceAttr, detachDeviceAttr, devicePanel, getInputDeviceRange, getModifiers, listDeviceAttachments, listInputDeviceAxes, listInputDeviceButtons, recordAttr, setAttrMapping, setInputDeviceMapping, unassignInputDevice
free, primary, secondary
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
# Returns a list of devices.
cmds.listInputDevices()