Update to latest UI Events key specification

This commit is contained in:
Pierre Ossman
2019-11-01 10:25:23 +01:00
committed by Lauri Kasanen
parent a8dc933701
commit d10d7167f6
2 changed files with 5 additions and 6 deletions

View File

@@ -92,6 +92,8 @@ export function getKey(evt) {
// Mozilla isn't fully in sync with the spec yet
switch (evt.key) {
case 'OS': return 'Meta';
case 'LaunchMyComputer': return 'LaunchApplication1';
case 'LaunchCalculator': return 'LaunchApplication2';
}
// iOS leaks some OS names