# DefaultHotkeysOptions

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [types.ts:205](https://github.com/TanStack/hotkeys/blob/main/packages/alpine-hotkeys/src/types.ts#L205)

Shared defaults; call-specific options take precedence.

## Properties

### hotkey?

```ts
optional hotkey?: AlpineHotkeyCommonOptions;
```

Defined in: [types.ts:221](https://github.com/TanStack/hotkeys/blob/main/packages/alpine-hotkeys/src/types.ts#L221)

Defaults for every hotkey. `requireReset` applies to chords and `timeout` to sequences.

***

### hotkeyRecorder?

```ts
optional hotkeyRecorder?: Partial<Omit<HotkeyChordRecorderOptions & HotkeySequenceRecorderOptions, "maxSteps" | "validate" | "onRecord">>;
```

Defined in: [types.ts:223](https://github.com/TanStack/hotkeys/blob/main/packages/alpine-hotkeys/src/types.ts#L223)

Defaults for every recorder.

***

### keyboardLayout?

```ts
optional keyboardLayout?: boolean;
```

Defined in: [types.ts:219](https://github.com/TanStack/hotkeys/blob/main/packages/alpine-hotkeys/src/types.ts#L219)

Whether labels from `createFormatForDisplay` follow the user's keyboard
layout, so `[KeyQ]` reads `A` on a French AZERTY keyboard. The layout
loads from the browser when the first `createFormatForDisplay` or
`createKeyboardLayout` runs. Only Chromium browsers report one. Set
`false` to never ask the browser for it. Default: `true`.

***

### platform?

```ts
optional platform?: HotkeyPlatform;
```

Defined in: [types.ts:211](https://github.com/TanStack/hotkeys/blob/main/packages/alpine-hotkeys/src/types.ts#L211)

The user's platform, for labels from `createFormatForDisplay`, hotkeys,
and recorders. `hotkey.platform` and `hotkeyRecorder.platform` win.
Detected when unset.
