Raster.keyCode( event )
Return the key code of the key pressed by the user (if any). This function is intended for use in keyDown() and keyUp() events.Parameters
| Name | Type | Description | |
|---|---|---|---|
| event | object | A DOM event object |
Returns
| Type | Description |
|---|---|
| number | The key code of the key pressed |