Python实现的基于ADB的Android远程工具(2)

private static final int KEYCODE_TEST_BASE    = 220;
    public static final int KEYCODE_POWER_TEST    = KEYCODE_TEST_BASE + 1;
    public static final int KEYCODE_HOME_TEST    = KEYCODE_TEST_BASE + 2;
    public static final int KEYCODE_BACK_TEST    = KEYCODE_TEST_BASE + 3;
    public static final int KEYCODE_MENU_TEST    = KEYCODE_TEST_BASE + 4;
    public static final int KEYCODE_SEARCH_TEST    = KEYCODE_TEST_BASE + 5;
    public static final int KEYCODE_CALL_TEST    = KEYCODE_TEST_BASE + 6;
    public static final int KEYCODE_ENDCALL_TEST     = KEYCODE_TEST_BASE + 7;
    public static final int KEYCODE_VOLUME_UP_TEST    = KEYCODE_TEST_BASE + 8;
    public static final int KEYCODE_VOLUME_DOWN_TEST      = KEYCODE_TEST_BASE + 9;
    public static final int KEYCODE_CAMERA_TEST    = KEYCODE_TEST_BASE + 10;
    public static final int KEYCODE_SPACE_TEST    = KEYCODE_TEST_BASE + 11;
    public static final int KEYCODE_FUNCTION_TEST    = KEYCODE_TEST_BASE + 12;
'''

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/4426fff1a55660c72a73dc3e3c0f172d.html