chromium/remoting/client/input/keycode_map.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "remoting/client/input/keycode_map.h"

#include <array>
#include <limits>
#include <ostream>

#include "base/check.h"

namespace remoting {

namespace {

// TODO(yuweih): Using char to store the characters may not work if we decide
// to support AZERTY or other keyboard.
const size_t kMaxAsciiConvertibleLength =;

// An array with character code as its index and KeycodeInfo as its value.
KeycodeMap;

struct KeycodeMapEntry {};

constexpr KeycodeMapEntry kKeycodeMapEntriesQwerty[] =;

template <size_t N>
KeycodeMap CreateKeycodeMapFromMapEntries(const KeycodeMapEntry (&entries)[N]) {}

const KeycodeMap& GetKeycodeMapQwerty() {}

}  // namespace

KeypressInfo KeypressFromUnicode(unsigned int unicode) {}

}  // namespace remoting