pymel.core.system.listInputDevices¶
- listInputDevices(*args, **kwargs)¶
This command lists all input devices that maya knows about.
Dynamic library stub function
Flags:
Long Name / Short Name Argument Types Properties free / f bool List the free devices primary / p bool List the primary devices secondary / s bool List the secondary devices Flag can have multiple arguments, passed either as a tuple or a list. 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'] #