This command lists all input devices that maya knows about.
Flags:
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'] #