ジャンプ先: 概要. 戻り値. 関連. Python 例.

概要

listInputDeviceButtons( string )

注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。

listInputDeviceButtons は、取り消し可能、照会不可能、および編集不可能です。

このコマンドは、引数として指定した入力デバイスのボタンをすべてリスト表示します。

戻り値

string[]コマンドの結果

関連

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

Python 例

import maya.cmds as cmds

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