# DefaultHotkeysOptions

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

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

Shared defaults; call-specific options take precedence.

## Properties

### hotkey?

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

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

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:267](https://github.com/TanStack/hotkeys/blob/main/packages/alpine-hotkeys/src/types.ts#L267)

Defaults for every recorder.

***

### keyboardLayout?

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

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

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:255](https://github.com/TanStack/hotkeys/blob/main/packages/alpine-hotkeys/src/types.ts#L255)

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