pymel.core.system.listInputDeviceAxes

listInputDeviceAxes(*args, **kwargs)

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

Derived from mel command maya.cmds.listInputDeviceAxes

Example:

import pymel.core as pm

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