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


listInputDeviceButtons( string )

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

listInputDeviceButtons is undoable, NOT queryable, and NOT editable.

This command lists all of the buttons of the specified input device specified as an argument.

Return value



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

Python examples

import maya.cmds as cmds

# Returns a list of the buttons of the spaceball.
cmds.listInputDeviceButtons( 'spaceball' )