Go to: Synopsis. Return value. Related. Python examples.
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.
import maya.cmds as cmds # Returns a list of devices. cmds.listInputDevices()