OptionalblockIf true (default), the triggering key is suppressed from reaching other applications. For combos with modifier keys, any modifiers that leaked to the foreground application before the combo was fully recognized also receive automatic synthetic key-up events, leaving the application in a clean modifier state. The suppressed key-down's paired key-up is also automatically suppressed. Set to false to observe the hotkey while still letting the OS process it normally. Forced to false when deviceId is set.
OptionalwildcardIf true (default), the combo's own modifiers are a minimum: "F13" still triggers while the user happens to be holding Ctrl+Shift, and "Ctrl+F13" still requires Ctrl. Set to false to demand an exact modifier match, so the hotkey stays silent whenever any extra modifier is held.
OptionaldeviceDevice path string to limit the hotkey to a specific physical device. Use Keyboard.OnRawEvent to discover device paths. Device-filtered hotkeys are always non-blocking (passthrough).
Optional configuration for
Hotkey.RegisterandHotkey.OnDown.