# useHotkeyRecorder

```ts
function useHotkeyRecorder(owner, options): EmberHotkeyRecorder;
```

Defined in: [packages/ember-hotkeys/src/useHotkeyRecorder.ts:13](https://github.com/TanStack/hotkeys/blob/main/packages/ember-hotkeys/src/useHotkeyRecorder.ts#L13)

Creates an owned recorder with autotracked state and current callback options.

## Parameters

### owner

`object`

### options

[`MaybeGetter`](../type-aliases/MaybeGetter.md)\<`HotkeyRecorderOptions`\>

## Returns

[`EmberHotkeyRecorder`](../interfaces/EmberHotkeyRecorder.md)
