Unverified Commit c289c998 authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Update the keycodes from source (#33632)

Ran gen_keycodes.dart, which pulled a new keycode from the Chromium source. This PR just checks in that change.
parent 9de346b6
......@@ -6314,6 +6314,27 @@
"glfw": null
}
},
"keyboardLayoutSelect": {
"names": {
"domkey": "KeyboardLayoutSelect",
"android": null,
"english": "Keyboard Layout Select",
"chromium": "keyboardLayoutSelect",
"glfw": null
},
"scanCodes": {
"android": null,
"usb": 787101,
"linux": 584,
"xkb": 592,
"windows": null,
"macos": null
},
"keyCodes": {
"android": null,
"glfw": null
}
},
"showAllWindows": {
"names": {
"domkey": "ShowAllWindows",
......
......@@ -1403,6 +1403,11 @@ class LogicalKeyboardKey extends Diagnosticable {
/// See the function [RawKeyEvent.logicalKey] for more information.
static const LogicalKeyboardKey mailSend = LogicalKeyboardKey(0x001000c028c, debugName: kReleaseMode ? null : 'Mail Send');
/// Represents the logical "Keyboard Layout Select" key on the keyboard.
///
/// See the function [RawKeyEvent.logicalKey] for more information.
static const LogicalKeyboardKey keyboardLayoutSelect = LogicalKeyboardKey(0x001000c029d, debugName: kReleaseMode ? null : 'Keyboard Layout Select');
/// Represents the logical "Show All Windows" key on the keyboard.
///
/// See the function [RawKeyEvent.logicalKey] for more information.
......@@ -1643,6 +1648,7 @@ class LogicalKeyboardKey extends Diagnosticable {
0x01000c0289: mailReply,
0x01000c028b: mailForward,
0x01000c028c: mailSend,
0x01000c029d: keyboardLayoutSelect,
0x01000c029f: showAllWindows,
};
}
......@@ -3035,6 +3041,12 @@ class PhysicalKeyboardKey extends Diagnosticable {
/// See the function [RawKeyEvent.physicalKey] for more information.
static const PhysicalKeyboardKey mailSend = PhysicalKeyboardKey(0x000c028c, debugName: kReleaseMode ? null : 'Mail Send');
/// Represents the location of the "Keyboard Layout Select" key on a
/// generalized keyboard.
///
/// See the function [RawKeyEvent.physicalKey] for more information.
static const PhysicalKeyboardKey keyboardLayoutSelect = PhysicalKeyboardKey(0x000c029d, debugName: kReleaseMode ? null : 'Keyboard Layout Select');
/// Represents the location of the "Show All Windows" key on a generalized
/// keyboard.
///
......@@ -3276,6 +3288,7 @@ class PhysicalKeyboardKey extends Diagnosticable {
0x000c0289: mailReply,
0x000c028b: mailForward,
0x000c028c: mailSend,
0x000c029d: keyboardLayoutSelect,
0x000c029f: showAllWindows,
};
}
......@@ -606,6 +606,7 @@ const Map<int, LogicalKeyboardKey> kFuchsiaToLogicalKey = <int, LogicalKeyboardK
0x1000c0289: LogicalKeyboardKey.mailReply,
0x1000c028b: LogicalKeyboardKey.mailForward,
0x1000c028c: LogicalKeyboardKey.mailSend,
0x1000c029d: LogicalKeyboardKey.keyboardLayoutSelect,
0x1000c029f: LogicalKeyboardKey.showAllWindows,
};
......@@ -844,6 +845,7 @@ const Map<int, PhysicalKeyboardKey> kFuchsiaToPhysicalKey = <int, PhysicalKeyboa
0x000c0289: PhysicalKeyboardKey.mailReply,
0x000c028b: PhysicalKeyboardKey.mailForward,
0x000c028c: PhysicalKeyboardKey.mailSend,
0x000c029d: PhysicalKeyboardKey.keyboardLayoutSelect,
0x000c029f: PhysicalKeyboardKey.showAllWindows,
};
......@@ -1343,6 +1345,7 @@ const Map<int, PhysicalKeyboardKey> kLinuxToPhysicalKey = <int, PhysicalKeyboard
0x000000f0: PhysicalKeyboardKey.mailReply,
0x000000f1: PhysicalKeyboardKey.mailForward,
0x000000ef: PhysicalKeyboardKey.mailSend,
0x00000250: PhysicalKeyboardKey.keyboardLayoutSelect,
0x00000080: PhysicalKeyboardKey.showAllWindows,
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment