forked from firka/flutter
[RawKeyboard] Allow inconsistent modifiers for Web (#114499)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
This commit is contained in:
@@ -209,7 +209,7 @@ class LogicalKeyboardKey extends KeyboardKey {
|
||||
/// Auto-generated IDs should be a rare occurrence: Flutter supports most keys.
|
||||
///
|
||||
/// Keys that generate Unicode characters (even if unknown to Flutter) will
|
||||
/// not return true for `isAutogenerated`, since they will be assigned a
|
||||
/// not return true for [isAutogenerated], since they will be assigned a
|
||||
/// Unicode-based code that will remain stable.
|
||||
///
|
||||
/// If Flutter adds support for a previously unsupported key code, the ID it
|
||||
|
||||
@@ -29,5 +29,6 @@
|
||||
"Shift": ["ShiftLeft", "ShiftLeft", "ShiftRight", null],
|
||||
"Control": ["ControlLeft", "ControlLeft", "ControlRight", null],
|
||||
"Alt": ["AltLeft", "AltLeft", "AltRight", null],
|
||||
"AltGraph": ["AltGraph", null, "AltGraph", null],
|
||||
"Meta": ["MetaLeft", "MetaLeft", "MetaRight", null]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user