Go to: Synopsis. Return value. Related. Python examples.

Synopsis

listInputDeviceAxes( string )

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

listInputDeviceAxes is undoable, NOT queryable, and NOT editable.

This command lists all of the axes of the specified input device.

Return value

string[]

Related

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

Python examples

import maya.cmds as cmds

# Returns a list of the axes of the spaceball.
cmds.listInputDeviceAxes( 'spaceball' )