How can I listen for all keyboard events including backspace key pressed?

已回答

I read this post to find a way to listen for key presses to an editor. And I tried to override TypedActionHandler and called TypedAction.getInstance().setupRawHandler. But I found it can only listen for some specific events. The listener is not called when many other keys are pressed, like backspace, control, command, etc. Is there any way to listen for these keys?

1

请先登录再写评论。