public static void Key(string deviceID, ADBKeyEvent key) { string cmdCommand = string.Format(KEY_DEVICES, deviceID, key); string result = ExecuteCMD(cmdCommand); }
public void Key(ADBKeyEvent key) => AdbCommand($"shell input keyevent {(int)key}");
public static void Key(string deviceID, ADBKeyEvent key) { string str2 = ExecuteCMD(string.Format(KEY_DEVICES, deviceID, key)); }