Window.onKeyDown

機能/意味
Key pressed
タイプ
Windowクラスのイベント
構文
onKeyDown(key, shift)
引数
key  The virtual key code value of the pressed key.
shift  The state of the shift keys and mouse buttons that were pressed at the same time as the key was pressed. It is a combination of the following values by bit OR.
ssAlt : ALT key was pressed
ssShift : SHIFT key was pressed
ssCtrl : CTRL key was pressed
ssLeft : Left mouse button was pressed
ssMiddle : The middle mouse button was pressed
ssRight : The right mouse button was pressed
 When the keyboard is pressed for a long time and a key repeat occurs, the following values are also combined.
ssRepeat : Key repeat occurred
説明
 Occurs when a key is pressed.