windows_flutter_key_map_cc.tmpl 1.04 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
// 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.

#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
11
// flutter/flutter:dev/tools/gen_keycodes/bin/gen_keycodes.dart and should not
12 13
// be edited directly.
//
14 15 16 17 18
// 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.
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

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@@@
};

37 38
@@@MASK_CONSTANTS@@@

39
}  // namespace flutter