移動先: 概要 戻り値 関連項目 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' )