Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rakannimer/9e67007ac605829c89aa031288b02f45 to your computer and use it in GitHub Desktop.
Save rakannimer/9e67007ac605829c89aa031288b02f45 to your computer and use it in GitHub Desktop.

command

adb shell input keyevent 0

Name

KEYCODE_UNKNOWNI

index

C

command

adb shell input keyevent 1

Name

KEYCODE_MENU

Index

2

Command

adb shell input keyevent 2

Name

KEYCODE_SOFT_RIGHT

Index

3

Command

adb shell input keyevent 3

Name

KEYCODE_HOME

Index

4

Command

adb shell input keyevent 4

Name

KEYCODE_BACK

Index

5

Command

adb shell input keyevent 5

Name

KEYCODE_CALL

Index

6

Command

adb shell input keyevent 6

Name

KEYCODE_ENDCALL

Index

7

Command

adb shell input keyevent 7

Name

KEYCODE_0

Index

8

Command

adb shell input keyevent 8

Name

KEYCODE_1

Index

9

Command

adb shell input keyevent 9

Name

KEYCODE_2

Index

10

Command

adb shell input keyevent 10

Name

KEYCODE_3

Index

11

Command

adb shell input keyevent 11

Name

KEYCODE_4

Index

12

Command

adb shell input keyevent 12

Name

KEYCODE_5

Index

13

Command

adb shell input keyevent 13

Name

KEYCODE_6

Index

14

Command

adb shell input keyevent 14

Name

KEYCODE_7

Index

15

Command

adb shell input keyevent 15

Name

KEYCODE_8

Index

16

Command

adb shell input keyevent 16

Name

KEYCODE_9

Index

17

Command

adb shell input keyevent 17

Name

KEYCODE_STAR

Index

18

Command

adb shell input keyevent 18

Name

KEYCODE_POUND

Index

19

Command

adb shell input keyevent 19

Name

KEYCODE_DPAD_UP

Index

20

Command

adb shell input keyevent 20

Name

KEYCODE_DPAD_DOWN

Index

21

Command

adb shell input keyevent 21

Name

KEYCODE_DPAD_LEFT

Index

22

Command

adb shell input keyevent 22

Name

KEYCODE_DPAD_RIGHT

Index

23

Command

adb shell input keyevent 23

Name

KEYCODE_DPAD_CENTER

Index

24

Command

adb shell input keyevent 24

Name

KEYCODE_VOLUME_UP

Index

25

Command

adb shell input keyevent 25

Name

KEYCODE_VOLUME_DOWN

Index

26

Command

adb shell input keyevent 26

Name

KEYCODE_POWER

Index

27

Command

adb shell input keyevent 27

Name

KEYCODE_CAMERA

Index

28

Command

adb shell input keyevent 28

Name

KEYCODE_CLEAR

Index

29

Command

adb shell input keyevent 29

Name

KEYCODE_A

Index

30

Command

adb shell input keyevent 30

Name

KEYCODE_B

Index

31

Command

adb shell input keyevent 31

Name

KEYCODE_C

Index

32

Command

adb shell input keyevent 32

Name

KEYCODE_D

Index

33

Command

adb shell input keyevent 33

Name

KEYCODE_E

Index

34

Command

adb shell input keyevent 34

Name

KEYCODE_F

Index

35

Command

adb shell input keyevent 35

Name

KEYCODE_G

Index

36

Command

adb shell input keyevent 36

Name

KEYCODE_H

Index

37

Command

adb shell input keyevent 37

Name

KEYCODE_I

Index

38

Command

adb shell input keyevent 38

Name

KEYCODE_J

Index

39

Command

adb shell input keyevent 39

Name

KEYCODE_K

Index

40

Command

adb shell input keyevent 40

Name

KEYCODE_L

Index

41

Command

adb shell input keyevent 41

Name

KEYCODE_M

Index

42

Command

adb shell input keyevent 42

Name

KEYCODE_N

Index

43

Command

adb shell input keyevent 43

Name

KEYCODE_O

Index

44

Command

adb shell input keyevent 44

Name

KEYCODE_P

Index

45

Command

adb shell input keyevent 45

Name

KEYCODE_Q

Index

46

Command

adb shell input keyevent 46

Name

KEYCODE_R

Index

47

Command

adb shell input keyevent 47

Name

KEYCODE_S

Index

48

Command

adb shell input keyevent 48

Name

KEYCODE_T

Index

49

Command

adb shell input keyevent 49

Name

KEYCODE_U

Index

50

Command

adb shell input keyevent 50

Name

KEYCODE_V

Index

51

Command

adb shell input keyevent 51

Name

KEYCODE_W

Index

52

Command

adb shell input keyevent 52

Name

KEYCODE_X

Index

53

Command

adb shell input keyevent 53

Name

KEYCODE_Y

Index

54

Command

adb shell input keyevent 54

Name

KEYCODE_Z

Index

55

Command

adb shell input keyevent 55

Name

KEYCODE_COMMA

Index

56

Command

adb shell input keyevent 56

Name

KEYCODE_PERIOD

Index

57

Command

adb shell input keyevent 57

Name

KEYCODE_ALT_LEFT

Index

58

Command

adb shell input keyevent 58

Name

KEYCODE_ALT_RIGHT

Index

59

Command

adb shell input keyevent 59

Name

KEYCODE_SHIFT_LEFT

Index

60

Command

adb shell input keyevent 60

Name

KEYCODE_SHIFT_RIGHT

Index

61

Command

adb shell input keyevent 61

Name

KEYCODE_TAB

Index

62

Command

adb shell input keyevent 62

Name

KEYCODE_SPACE

Index

63

Command

adb shell input keyevent 63

Name

KEYCODE_SYM

Index

64

Command

adb shell input keyevent 64

Name

KEYCODE_EXPLORER

Index

65

Command

adb shell input keyevent 65

Name

KEYCODE_ENVELOPE

Index

66

Command

adb shell input keyevent 66

Name

KEYCODE_ENTER

Index

67

Command

adb shell input keyevent 67

Name

KEYCODE_DEL

Index

68

Command

adb shell input keyevent 68

Name

KEYCODE_GRAVE

Index

69

Command

adb shell input keyevent 69

Name

KEYCODE_MINUS

Index

70

Command

adb shell input keyevent 70

Name

KEYCODE_EQUALS

Index

71

Command

adb shell input keyevent 71

Name

KEYCODE_LEFT_BRACKET

Index

72

Command

adb shell input keyevent 72

Name

KEYCODE_RIGHT_BRACKET

Index

73

Command

adb shell input keyevent 73

Name

KEYCODE_BACKSLASH

Index

74

Command

adb shell input keyevent 74

Name

KEYCODE_SEMICOLON

Index

75

Command

adb shell input keyevent 75

Name

KEYCODE_APOSTROPHE

Index

76

Command

adb shell input keyevent 76

Name

KEYCODE_SLASH

Index

77

Command

adb shell input keyevent 77

Name

KEYCODE_AT

Index

78

Command

adb shell input keyevent 78

Name

KEYCODE_NUM

Index

79

Command

adb shell input keyevent 79

Name

KEYCODE_HEADSETHOOK

Index

80

Command

adb shell input keyevent 80

Name

KEYCODE_FOCUS

Index

81

Command

adb shell input keyevent 81

Name

KEYCODE_PLUS

Index

82

Command

adb shell input keyevent 82

Name

KEYCODE_MENU

Index

83

Command

adb shell input keyevent 83

Name

KEYCODE_NOTIFICATION

Index

84

Command

adb shell input keyevent 84

Name

KEYCODE_SEARCH

Index

85

Command

adb shell input keyevent 85

name: TAG_LAST_KEYCODE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment