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"""Android KeyEvent constants. 5 6http://developer.android.com/reference/android/view/KeyEvent.html 7""" 8 9KEYCODE_BACK = 4 10 11KEYCODE_0 = 7 12KEYCODE_1 = 8 13KEYCODE_2 = 9 14KEYCODE_3 = 10 15KEYCODE_4 = 11 16KEYCODE_5 = 12 17KEYCODE_6 = 13 18KEYCODE_7 = 14 19KEYCODE_8 = 15 20KEYCODE_9 = 16 21 22KEYCODE_DPAD_RIGHT = 22 23 24KEYCODE_POWER = 26 25 26KEYCODE_A = 29 27KEYCODE_B = 30 28KEYCODE_C = 31 29KEYCODE_D = 32 30KEYCODE_E = 33 31KEYCODE_F = 34 32KEYCODE_G = 35 33KEYCODE_H = 36 34KEYCODE_I = 37 35KEYCODE_J = 38 36KEYCODE_K = 39 37KEYCODE_L = 40 38KEYCODE_M = 41 39KEYCODE_N = 42 40KEYCODE_O = 43 41KEYCODE_P = 44 42KEYCODE_Q = 45 43KEYCODE_R = 46 44KEYCODE_S = 47 45KEYCODE_T = 48 46KEYCODE_U = 49 47KEYCODE_V = 50 48KEYCODE_W = 51 49KEYCODE_X = 52 50KEYCODE_Y = 53 51KEYCODE_Z = 54 52 53KEYCODE_PERIOD = 56 54 55KEYCODE_SPACE = 62 56 57KEYCODE_ENTER = 66 58KEYCODE_DEL = 67 59 60KEYCODE_MENU = 82 61 62KEYCODE_APP_SWITCH = 187 63