Search Issue Tracker

By Design

Votes

0

Found in [Package]

0.3.0

Issue ID

1158303

Regression

No

[WebGL][Windows] AltGr key triggers left Ctrl too

Package: Input System

-

-e: when using a keyboard layout with AltGr (like DEU) pressing right Alt also triggers left Ctrl
--error happens on Windows FF, Chrome & Edge
--doesn't do that in editor, standalone or OSX Safari, FF, Chrome

-repro:
--open attached project (input develop)
--build& run for WebGL
--switch keyboard layout to DEU
--press right Alt
--NOTICE right Alt and left Ctrl get triggered

  1. Resolution Note:

    "In the windows api the alt keys are called "menu", meaning the defines for the virtual keys are VK_MENU, VK_LMENU and VK_RMENU.
    And yes, when you press altgr windows generates two key input events, one for the left control key and one for the right alt key (VK_RMENU)."

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.