IOverlayHotkey
Electron APIs / Overlay / IOverlayHotkey
Hotkey configuration used by the overlay.
Defines:
- Main key.
- Optional modifier keys.
- Passthrough behavior.
Example
const screenshotHotkey: IOverlayHotkey = {
name: "screenshot",
keyCode: 44, // Print Screen
modifiers: { ctrl: true, alt: true },
passthrough: false,
};