leanflutter/hotkey_manager

I registered the shift key using hotkey manager, but it does not work.

Bullets-jyr opened this issue · 1 comments

I registered the shift key using hotkey manager, but it does not work.

if (hotKey.keyCode == KeyCode.shift) {
await hotKeyManager.register(
hotKey,
keyDownHandler: keyDownHandler,
keyUpHandler: keyUpHandler,
);
}

handleHotKeyRegister(HotKey(
  KeyCode.shift,
  scope: HotKeyScope.inapp,
));

Hi I'm having a similar issue with the HotKeyRecorder, onHotKeyRecorder is never triggered with shift+(any other keys). Have you found any solutions for your case?

Also, are you on Windows? Haven't tried on other platforms but it is happening to me on Windows

Okay, I'm sorry about this, this seems not to be related, it's only the issue with the HotKeyRecorder widget itself.