Add Enter and Tab back in to ios and macos key maps (#81865)
I noticed that tab traversal stopped working on iOS when #73440 was landed. It seems to be that the control characters were excluded from the list of logical keys, and so they ended up being generated values. This PR just adds "Enter" and "Tab" to the list for both macOS and iOS.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
|
||||
{
|
||||
"Backspace": ["Backspace"],
|
||||
"Tab": ["Tab"],
|
||||
"Enter": ["Enter"],
|
||||
"Escape": ["Escape"],
|
||||
"CapsLock": ["CapsLock"],
|
||||
"NumLock": ["NumLock"],
|
||||
|
||||
@@ -1383,6 +1383,12 @@
|
||||
"web": [
|
||||
"Tab"
|
||||
],
|
||||
"macOs": [
|
||||
"Tab"
|
||||
],
|
||||
"ios": [
|
||||
"Tab"
|
||||
],
|
||||
"gtk": [
|
||||
"Tab",
|
||||
"KP_Tab",
|
||||
@@ -1396,6 +1402,12 @@
|
||||
]
|
||||
},
|
||||
"values": {
|
||||
"macOs": [
|
||||
48
|
||||
],
|
||||
"ios": [
|
||||
43
|
||||
],
|
||||
"gtk": [
|
||||
65289,
|
||||
65417,
|
||||
@@ -1420,6 +1432,12 @@
|
||||
"web": [
|
||||
"Enter"
|
||||
],
|
||||
"macOs": [
|
||||
"Enter"
|
||||
],
|
||||
"ios": [
|
||||
"Enter"
|
||||
],
|
||||
"gtk": [
|
||||
"Return",
|
||||
"ISO_Enter",
|
||||
@@ -1433,6 +1451,12 @@
|
||||
]
|
||||
},
|
||||
"values": {
|
||||
"macOs": [
|
||||
36
|
||||
],
|
||||
"ios": [
|
||||
40
|
||||
],
|
||||
"gtk": [
|
||||
65293,
|
||||
65076,
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
|
||||
{
|
||||
"Backspace": ["Backspace"],
|
||||
"Tab": ["Tab"],
|
||||
"Enter": ["Enter"],
|
||||
"Escape": ["Escape"],
|
||||
"CapsLock": ["CapsLock"],
|
||||
"Fn": ["Fn"],
|
||||
|
||||
@@ -193,7 +193,7 @@ class LogicalKeyData {
|
||||
|
||||
// Make sure every Numpad key that we care about has been defined.
|
||||
unusedNumpad.forEach((String key, String value) {
|
||||
print('Unuadded numpad key $value');
|
||||
print('Undefined numpad key $value');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user