# normalizeKeyCombo (@salmonui/data-grid/engine)

> The normalizeKeyCombo function of @salmonui/data-grid/engine: Canonical combo string: modifiers in Ctrl+Meta+Alt+Shift order, then the key. Mod resolves to Meta on macOS and Ctrl elsewhere; Cmd/Command mean Meta, Control means Ctrl, Option means Alt.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/normalizeKeyCombo

```ts
import { normalizeKeyCombo } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid/engine/keyboard`.

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: function

```ts
function normalizeKeyCombo(combo: string, platform?: KeyPlatform): string;
```

Canonical combo string: modifiers in `Ctrl+Meta+Alt+Shift` order, then the
key. `Mod` resolves to `Meta` on macOS and `Ctrl` elsewhere; `Cmd`/`Command`
mean `Meta`, `Control` means `Ctrl`, `Option` means `Alt`.
