pymel.core.system.listInputDeviceButtons — PyMEL 1.0.7 documentation

pymel.core.system.listInputDeviceButtons

listInputDeviceButtons(*args, **kwargs)

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

Derived from mel command maya.cmds.listInputDeviceButtons

Example:

import pymel.core as pm

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