System.getKeyState
機能/意味
Get key state
タイプ
Systemクラス
のメソッド
構文
getKeyState(
code
)
引数
code
Specify the
virtual key code
to get the status of.
戻り値
True if the key is pressed, false if not.
説明
Gets whether the key corresponding to the key code specified by code is pressed at the time of calling this method.