Your Ad Here

Go to: Synopsis. Return value. Related. Python examples.

Synopsis

listInputDevices()

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

listInputDevices is undoable, queryable, and editable.

This command lists all input devices that maya knows about.

Return value


Array of strings

Related

assignInputDevice, attachDeviceAttr, detachDeviceAttr, devicePanel, getInputDeviceRange, getModifiers, listDeviceAttachments, listInputDeviceAxes, listInputDeviceButtons, recordAttr, setAttrMapping, setInputDeviceMapping, unassignInputDevice

Python examples

import maya.cmds as cmds

# Returns a list of devices.
cmds.listInputDevices()

  

Return to Autodesk Index


Your Ad Here