pymel.core.system.listInputDevices

listInputDevices(*args, **kwargs)

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'] #

Previous topic

pymel.core.system.listInputDeviceButtons

Next topic

pymel.core.system.listNamespaces

Core

Core Modules

Other Modules

This Page