You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're right. I get the same thing when using a German keyboard layout. Unfortunately, getting the right keyCode across browsers is a total mess at best and impossible at worst: http://unixpapa.com/js/key.html
The best bet is usually using keypress. Maybe we should consider not returning a key name for keydown and keyup events at all.
Since the keyCodes are also different between browsers you need to open it in each browser you want to support and
press the keys that are not mapped correctly. It will generate a mapping that you can copy and provide with your application. Unfortunately there isn't a way to find get the current keyboard layout. The best bet is probably based on the browser language setting (which is unfortunately not very accurate already).
When I for instance press "ø" I get this: http://screencast.com/t/6GKvfSg7m
The text was updated successfully, but these errors were encountered: