adopted-ember-addons/ember-keyboard

Z and Y are inverted for QWERTZ Keyboard

cbou opened this issue · 3 comments

cbou commented

When I switch the layout of my keyboard to QWERTZ then keyY event will still fired when I press the letter next to the T (Z according to the new layout).

It's seems that event.code is still keyY even if the layer is QWERTZ.

event.key is correct and returns z.

https://stackoverflow.com/questions/51726455/keyboardevent-event-key-and-event-code-are-different

Hi @chou, I've been thinking about this over the week, and there's a way we could implement support for both key and code. If you're interested in tackling the issue, I'd be happy to point you towards the solution. Otherwise, I'll get to this as soon as I can, which will probably be in a couple of weeks. Sorry for the delay, but we're launching a new product at the end of the month and it's eating up most my time.

cbou commented

Hello @patience-tema-baron Thanks for your answer!

Yes please feel free to tell me your solution. If I have time I will do it.
Why do you actually would like to use both?

cbou commented

What about that simple fix: #85 ?