// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT // This file is generated by dev/tools/gen_keycodes/bin/gen_keycodes.dart and // should not be edited directly. // // Edit the template dev/tools/gen_keycodes/data/keyboard_maps.tmpl instead. // See dev/tools/gen_keycodes/README.md for more information. import 'keyboard_key.dart'; /// Maps Android-specific key codes to the matching [LogicalKeyboardKey]. const Map kAndroidToLogicalKey = { @@@ANDROID_KEY_CODE_MAP@@@ }; /// Maps Android-specific scan codes to the matching [PhysicalKeyboardKey]. const Map kAndroidToPhysicalKey = { @@@ANDROID_SCAN_CODE_MAP@@@ }; /// A map of Android key codes which have printable representations, but appear /// on the number pad. Used to provide different key objects for keys like /// KEY_EQUALS and NUMPAD_EQUALS. const Map kAndroidNumPadMap = { @@@ANDROID_NUMPAD_MAP@@@ }; /// Maps Fuchsia-specific IDs to the matching [LogicalKeyboardKey]. const Map kFuchsiaToLogicalKey = { @@@FUCHSIA_KEY_CODE_MAP@@@ }; /// Maps Fuchsia-specific USB HID Usage IDs to the matching /// [PhysicalKeyboardKey]. const Map kFuchsiaToPhysicalKey = { @@@FUCHSIA_SCAN_CODE_MAP@@@ }; /// 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 kMacOsToPhysicalKey = { @@@MACOS_SCAN_CODE_MAP@@@ }; /// A map of macOS key codes which have printable representations, but appear /// on the number pad. Used to provide different key objects for keys like /// KEY_EQUALS and NUMPAD_EQUALS. const Map kMacOsNumPadMap = { @@@MACOS_NUMPAD_MAP@@@ }; /// A map of macOS key codes which are numbered function keys, so that they /// can be excluded when asking "is the Fn modifier down?". const Map kMacOsFunctionKeyMap = { @@@MACOS_FUNCTION_KEY_MAP@@@ }; /// Maps GLFW-specific key codes to the matching [LogicalKeyboardKey]. const Map kGlfwToLogicalKey = { @@@GLFW_KEY_CODE_MAP@@@ }; /// A map of GLFW key codes which have printable representations, but appear /// on the number pad. Used to provide different key objects for keys like /// KEY_EQUALS and NUMPAD_EQUALS. const Map kGlfwNumpadMap = { @@@GLFW_NUMPAD_MAP@@@ }; /// Maps XKB specific key code values representing [PhysicalKeyboardKey]. const Map kLinuxToPhysicalKey = { @@@XKB_SCAN_CODE_MAP@@@ }; /// Maps Web KeyboardEvent codes to the matching [LogicalKeyboardKey]. const Map kWebToLogicalKey = { @@@WEB_LOGICAL_KEY_MAP@@@ }; /// Maps Web KeyboardEvent codes to the matching [PhysicalKeyboardKey]. const Map kWebToPhysicalKey = { @@@WEB_PHYSICAL_KEY_MAP@@@ }; /// A map of Web KeyboardEvent codes which have printable representations, but appear /// on the number pad. Used to provide different key objects for keys like /// KEY_EQUALS and NUMPAD_EQUALS. const Map kWebNumPadMap = { @@@WEB_NUMPAD_MAP@@@ }; /// Maps Windows KeyboardEvent codes to the matching [LogicalKeyboardKey]. const Map kWindowsToLogicalKey = { @@@WINDOWS_LOGICAL_KEY_MAP@@@ }; /// Maps Windows KeyboardEvent codes to the matching [PhysicalKeyboardKey]. const Map kWindowsToPhysicalKey = { @@@WINDOWS_PHYSICAL_KEY_MAP@@@ }; /// A map of Windows KeyboardEvent codes which have printable representations, but appear /// on the number pad. Used to provide different key objects for keys like /// KEY_EQUALS and NUMPAD_EQUALS. const Map kWindowsNumPadMap = { @@@WINDOWS_NUMPAD_MAP@@@ };