listInputDeviceButtons(
string
)
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
listInputDeviceButtons は、取り消し可能、照会不可能、および編集不可能です。
このコマンドは、引数として指定した入力デバイスのボタンをすべてリスト表示します。| string[] | コマンドの結果 |
import maya.cmds as cmds # Returns a list of the buttons of the spaceball. cmds.listInputDeviceButtons( 'spaceball' )