Update keycodes, fix a comment. (#30938)
Updates the keycodes by regenerating them using the script, and fixed a comment in the template to conform to style.
This commit is contained in:
@@ -181,31 +181,6 @@
|
||||
"glfw": null
|
||||
}
|
||||
},
|
||||
"launchAssistant": {
|
||||
"names": {
|
||||
"domkey": "LaunchAssistant",
|
||||
"android": [
|
||||
"ASSIST"
|
||||
],
|
||||
"english": "Launch Assistant",
|
||||
"chromium": "launchAssistant",
|
||||
"glfw": null
|
||||
},
|
||||
"scanCodes": {
|
||||
"android": null,
|
||||
"usb": 23,
|
||||
"linux": 583,
|
||||
"xkb": 591,
|
||||
"windows": null,
|
||||
"macos": null
|
||||
},
|
||||
"keyCodes": {
|
||||
"android": [
|
||||
219
|
||||
],
|
||||
"glfw": null
|
||||
}
|
||||
},
|
||||
"sleep": {
|
||||
"names": {
|
||||
"domkey": "Sleep",
|
||||
@@ -260,6 +235,27 @@
|
||||
"glfw": null
|
||||
}
|
||||
},
|
||||
"displayToggleIntExt": {
|
||||
"names": {
|
||||
"domkey": "DisplayToggleIntExt",
|
||||
"android": null,
|
||||
"english": "Display Toggle Int Ext",
|
||||
"chromium": "displayToggleIntExt",
|
||||
"glfw": null
|
||||
},
|
||||
"scanCodes": {
|
||||
"android": null,
|
||||
"usb": 65717,
|
||||
"linux": 227,
|
||||
"xkb": 235,
|
||||
"windows": null,
|
||||
"macos": null
|
||||
},
|
||||
"keyCodes": {
|
||||
"android": null,
|
||||
"glfw": null
|
||||
}
|
||||
},
|
||||
"usbReserved": {
|
||||
"names": {
|
||||
"domkey": null,
|
||||
@@ -5844,6 +5840,31 @@
|
||||
"glfw": null
|
||||
}
|
||||
},
|
||||
"launchAssistant": {
|
||||
"names": {
|
||||
"domkey": "LaunchAssistant",
|
||||
"android": [
|
||||
"ASSIST"
|
||||
],
|
||||
"english": "Launch Assistant",
|
||||
"chromium": "launchAssistant",
|
||||
"glfw": null
|
||||
},
|
||||
"scanCodes": {
|
||||
"android": null,
|
||||
"usb": 786891,
|
||||
"linux": 583,
|
||||
"xkb": 591,
|
||||
"windows": null,
|
||||
"macos": null
|
||||
},
|
||||
"keyCodes": {
|
||||
"android": [
|
||||
219
|
||||
],
|
||||
"glfw": null
|
||||
}
|
||||
},
|
||||
"launchAudioBrowser": {
|
||||
"names": {
|
||||
"domkey": null,
|
||||
@@ -6193,8 +6214,8 @@
|
||||
"scanCodes": {
|
||||
"android": null,
|
||||
"usb": 786994,
|
||||
"linux": null,
|
||||
"xkb": null,
|
||||
"linux": 372,
|
||||
"xkb": 380,
|
||||
"windows": null,
|
||||
"macos": null
|
||||
},
|
||||
@@ -6292,5 +6313,26 @@
|
||||
"android": null,
|
||||
"glfw": null
|
||||
}
|
||||
},
|
||||
"showAllWindows": {
|
||||
"names": {
|
||||
"domkey": "ShowAllWindows",
|
||||
"android": null,
|
||||
"english": "Show All Windows",
|
||||
"chromium": "showAllWindows",
|
||||
"glfw": null
|
||||
},
|
||||
"scanCodes": {
|
||||
"android": null,
|
||||
"usb": 787103,
|
||||
"linux": 120,
|
||||
"xkb": 128,
|
||||
"windows": null,
|
||||
"macos": null
|
||||
},
|
||||
"keyCodes": {
|
||||
"android": null,
|
||||
"glfw": null
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -40,6 +40,8 @@ const Map<int, PhysicalKeyboardKey> kFuchsiaToPhysicalKey = <int, PhysicalKeyboa
|
||||
};
|
||||
|
||||
/// Maps macOS-specific key code values representing [PhysicalKeyboardKey].
|
||||
///
|
||||
/// MacOS doesn't provide a scan code, but a virtual keycode to represent a physical key.
|
||||
const Map<int, PhysicalKeyboardKey> kMacOsToPhysicalKey = <int, PhysicalKeyboardKey>{
|
||||
@@@MACOS_SCAN_CODE_MAP@@@
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user