| // Copyright 2013 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. |
| |
| #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_KEY_MAP_H_ |
| #define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_KEY_MAP_H_ |
| |
| #include "flutter/shell/platform/windows/keyboard_key_embedder_handler.h" |
| |
| #include <map> |
| |
| // DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT |
| // This file is generated by |
| // flutter/flutter:dev/tools/gen_keycodes/bin/gen_keycodes.dart and should not |
| // be edited directly. |
| // |
| // Edit the template |
| // flutter/flutter:dev/tools/gen_keycodes/data/windows_flutter_key_map_cc.tmpl |
| // instead. |
| // |
| // See flutter/flutter:dev/tools/gen_keycodes/README.md for more information. |
| |
| namespace flutter { |
| |
| std::map<uint64_t, uint64_t> KeyboardKeyEmbedderHandler::windowsToPhysicalMap_ = |
| { |
| @@@WINDOWS_SCAN_CODE_MAP@@@ |
| }; |
| |
| std::map<uint64_t, uint64_t> KeyboardKeyEmbedderHandler::windowsToLogicalMap_ = |
| { |
| @@@WINDOWS_KEY_CODE_MAP@@@ |
| }; |
| |
| std::map<uint64_t, uint64_t> KeyboardKeyEmbedderHandler::scanCodeToLogicalMap_ = |
| { |
| @@@WINDOWS_SCAN_CODE_TO_LOGICAL_MAP@@@ |
| }; |
| |
| @@@MASK_CONSTANTS@@@ |
| |
| } // namespace flutter |
| |
| #endif |