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.