Y
Y
yehar2021-01-11 17:48:43
JavaScript
yehar, 2021-01-11 17:48:43

How to check right Alt (AltGr) press in hotkey js?

How to check pressing the right Alt (AltGr) in the hotkey-js library? It is to check the pressing of the right Alt and ignore the pressing of the left Alt. Or vice versa, so that only pressing the left Alt is checked, and the right AltGr is ignored?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Yarkov, 2021-01-11
@yarkov

https://wangchujiang.com/hotkeys/
Apparently not. He reacts the same to both.

K
Kovalsky, 2021-01-12
@lazalu68

There is a keyCode but it's not very reliable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question