Reduce Windows key map size by considering AltGr as Ctrl+Alt |
|||||
Issue descriptionSince AltGr is not defined in valid key combinations, it doesn't need to be stored in the table, and can just return the result for EF_CONTROL_DOWN | EF_ALT_DOWN when looking up EF_ALTGR_DOWN. Note that although AltGr is defined as CtrlLeft+AltRight, from testing CtrlLeft+AltLeft will also work, and AltRight along will act as AltGr as well, so location doesn't matter so much here. See Windows scancode doc: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=8&cad=rja&uact=8&ved=0ahUKEwjS1P38w7nLAhVE2mMKHcVXB1AQFgg6MAc&url=http%3A%2F%2Fdownload.microsoft.com%2Fdownload%2F1%2F6%2F1%2F161ba512-40e2-4cc9-843a-923143f3456c%2Fscancode.doc&usg=AFQjCNFpwWwiM0iIlms4bSL-fVCvRK4K2w&sig2=Cs-Vqgertl3SouKwP1QE4w
,
Mar 18 2016
Sorry for the confusion... Yes Windows will simulate Ctrl+Alt when pressing AltRight, so from the code's point of view we only need to worry about Ctrl+Alt+<key>.
,
Mar 30 2016
,
Mar 30 2016
,
Apr 1 2016
,
Apr 27 2017
Are we still planning on doing this?
,
May 2 2017
The benefit of reducing key-map size is too small compared to the cost of adding additional code complexity. Close as WontFix as I don't think I will prioritize this bug in the near future. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by w...@chromium.org
, Mar 18 2016