We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HotKey _hotKey = HotKey( key: PhysicalKeyboardKey.keyQ, modifiers: [HotKeyModifier.alt], // Set hotkey scope (default is HotKeyScope.system) scope: HotKeyScope.inapp, // Set as inapp-wide hotkey. ); await hotKeyManager.register( _hotKey, keyDownHandler: (hotKey) { print('onKeyDown+${hotKey.toJson()}'); }, // Only works on macOS. keyUpHandler: (hotKey) { print('onKeyUp+${hotKey.toJson()}'); }, );
Register only Alt+Q or Alt+Q and Q, press Q, and only perform the keyDownHandler callback of Alt+Q, need help to check,thanks.
The text was updated successfully, but these errors were encountered:
Fixed in v0.2.1
Sorry, something went wrong.
No branches or pull requests
Register only Alt+Q or Alt+Q and Q, press Q, and only perform the keyDownHandler callback of Alt+Q, need help to check,thanks.
The text was updated successfully, but these errors were encountered: