Skip to content

HotkeyConflictOptions

Defined in: conflicts.ts:22

Properties

events?

ts
optional events?: readonly KeyboardEvent[];

Defined in: conflicts.ts:38

Source events allow detecting physical/logical overlap on the recorded layout.


eventType?

ts
optional eventType?: HotkeyEventType;

Defined in: conflicts.ts:28

Intended event type. Default: keydown.


exclude?

ts
optional exclude?: (registration) => boolean;

Defined in: conflicts.ts:34

Additional app-specific exclusions, such as all instances of one action.

Parameters

registration

HotkeyRegistrationView

Returns

boolean


excludeIds?

ts
optional excludeIds?: readonly string[];

Defined in: conflicts.ts:32

IDs of registrations being edited.


includeDisabled?

ts
optional includeDisabled?: boolean;

Defined in: conflicts.ts:30

Include disabled registrations. Default: false.


platform?

ts
optional platform?: HotkeyPlatform;

Defined in: conflicts.ts:36

Platform used to resolve Mod in the candidate. Registrations retain their own platform.


scope?

ts
optional scope?: "overlapping" | "all";

Defined in: conflicts.ts:26

Check all targets instead of overlapping targets. Default: overlapping.


target?

ts
optional target?: Target;

Defined in: conflicts.ts:24

Intended registration target. Defaults to document; disjoint targets are excluded.