DEV Community

Arnav Bansal
Arnav Bansal

Posted on

How do I detect if the '+' key is pressed (without the shift)

I want to trigger the KeyboardEvent for the '+' key even if the '=' key is pressed

'shift+=' is '+' on English keyboards, but on other keyboards, the key for which 'shift+key' is '+' might be different. How do I account for all such cases?

Top comments (1)