• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2015 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""Android KeyEvent constants.
6
7http://developer.android.com/reference/android/view/KeyEvent.html
8"""
9
10KEYCODE_BACK = 4
11
12KEYCODE_0 = 7
13KEYCODE_1 = 8
14KEYCODE_2 = 9
15KEYCODE_3 = 10
16KEYCODE_4 = 11
17KEYCODE_5 = 12
18KEYCODE_6 = 13
19KEYCODE_7 = 14
20KEYCODE_8 = 15
21KEYCODE_9 = 16
22
23KEYCODE_DPAD_RIGHT = 22
24
25KEYCODE_POWER = 26
26
27KEYCODE_A = 29
28KEYCODE_B = 30
29KEYCODE_C = 31
30KEYCODE_D = 32
31KEYCODE_E = 33
32KEYCODE_F = 34
33KEYCODE_G = 35
34KEYCODE_H = 36
35KEYCODE_I = 37
36KEYCODE_J = 38
37KEYCODE_K = 39
38KEYCODE_L = 40
39KEYCODE_M = 41
40KEYCODE_N = 42
41KEYCODE_O = 43
42KEYCODE_P = 44
43KEYCODE_Q = 45
44KEYCODE_R = 46
45KEYCODE_S = 47
46KEYCODE_T = 48
47KEYCODE_U = 49
48KEYCODE_V = 50
49KEYCODE_W = 51
50KEYCODE_X = 52
51KEYCODE_Y = 53
52KEYCODE_Z = 54
53
54KEYCODE_PERIOD = 56
55
56KEYCODE_SPACE = 62
57
58KEYCODE_ENTER = 66
59KEYCODE_DEL = 67
60
61KEYCODE_MENU = 82
62
63KEYCODE_APP_SWITCH = 187
64