[w3c/uievents] "keyCode" is the only way to work with KeyboardEvents now (#267)

I would like to detect the Alt+Ctrl+T on a Dvorak keyboard in Mac OS.

When the user holds Alt and Ctrl, pressing T fires a KeyboardEvent with  code='KeyK' and key='†' . Only the "keyCode" suggests, that the T was pressed.

Is it possible to work with KeyboardEvents without the "keyCode" property? I think it is not, as the "code" does not reflect the "localized keyboard settings" (such as Dvorak or Azerty), and "key" just tells us what would be typed (the OS can modify it, when Alt or other character is added).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/267

Received on Monday, 1 June 2020 20:50:51 UTC