Go to: Synopsis. Return value. Related. Flags. MEL examples.

Synopsis

listInputDevices [-free] [-primary] [-secondary]

listInputDevices is undoable, NOT queryable, and NOT editable.

This command lists all input devices that maya knows about.

Return value

string[]Command result

Related

assignInputDevice, attachDeviceAttr, detachDeviceAttr, devicePanel, getInputDeviceRange, getModifiers, listDeviceAttachments, listInputDeviceAxes, listInputDeviceButtons, recordAttr, setAttrMapping, setInputDeviceMapping, unassignInputDevice

Flags

free, primary, secondary
Long name (short name) Argument types Properties
-free(-f) create
List the free devices
-primary(-p) create
List the primary devices
-secondary(-s) create
List the secondary devices

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// Returns a list of devices.
listInputDevices;