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
import maya.cmds as cmds
# Returns a list of the axes of the spaceball.
pm.listInputDeviceAxes( 'spaceball' )