This command lists all input devices that maya knows about.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
free (f) | bool | ||
primary (p) | bool | ||
secondary (s) | bool | ||
Derived from mel command maya.cmds.listInputDevices
Example:
import pymel.core as pm
# Returns a list of devices.
pm.listInputDevices()
# Result: [u'melvin', u'virtualClock'] #