summaryrefslogtreecommitdiffstats
path: root/app/keyboard_code_conversion_win.cc
blob: 2a7da8fbf6d9c420b750c51e0a919f274b1fb084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2010 The Chromium 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 "app/keyboard_code_conversion_win.h"

namespace app {

WORD WindowsKeyCodeForKeyboardCode(app::KeyboardCode keycode) {
  return static_cast<WORD>(keycode);
}

app::KeyboardCode KeyboardCodeForWindowsKeyCode(WORD keycode) {
  return static_cast<app::KeyboardCode>(keycode);
}

}  // namespace app