# KeystrokeInfo

interface

Information about the keystroke.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/keyboard.ts#L318)

<a id="properties"></a>

## Properties

<a id="member-altKey"></a>

### `altKey: boolean`

Whether the `Alt` modifier was pressed.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/keyboard.ts#L328)

<a id="member-ctrlKey"></a>

### `ctrlKey: boolean`

Whether the `Ctrl` modifier was pressed.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/keyboard.ts#L338)

<a id="member-keyCode"></a>

### `keyCode: number`

The [key code](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode).

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/keyboard.ts#L323)

<a id="member-metaKey"></a>

### `metaKey: boolean`

Whether the `Cmd` modifier was pressed.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/keyboard.ts#L333)

<a id="member-shiftKey"></a>

### `shiftKey: boolean`

Whether the `Shift` modifier was pressed.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/keyboard.ts#L343)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
