# HotkeysProviderOptions

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

Defined in: [HotkeysProvider.tsx:28](https://github.com/TanStack/hotkeys/blob/main/packages/solid-hotkeys/src/HotkeysProvider.tsx#L28)

## Properties

### hotkey?

```ts
optional hotkey?: CreateHotkeyCommonOptions;
```

Defined in: [HotkeysProvider.tsx:47](https://github.com/TanStack/hotkeys/blob/main/packages/solid-hotkeys/src/HotkeysProvider.tsx#L47)

Defaults for every hotkey registered by `createHotkey` and `createHotkeys`.
`requireReset` applies to chords and `timeout` applies to sequences.

***

### hotkeyRecorder?

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

Defined in: [HotkeysProvider.tsx:49](https://github.com/TanStack/hotkeys/blob/main/packages/solid-hotkeys/src/HotkeysProvider.tsx#L49)

Defaults for every `createHotkeyRecorder`.

***

### keyboardLayout?

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

Defined in: [HotkeysProvider.tsx:42](https://github.com/TanStack/hotkeys/blob/main/packages/solid-hotkeys/src/HotkeysProvider.tsx#L42)

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 label mounts. Only Chromium
browsers report one. Set `false` to never ask the browser for it.
Default: `true`.

***

### platform?

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

Defined in: [HotkeysProvider.tsx:34](https://github.com/TanStack/hotkeys/blob/main/packages/solid-hotkeys/src/HotkeysProvider.tsx#L34)

The user's platform, for labels from `createFormatForDisplay`, hotkeys,
recorders, and app hotkey checks such as conflicts. On a server, set it
from the request with `detectPlatform(userAgent)`.
