increase Button Timing to 200ms
This commit is contained in:
parent
7c001e97bf
commit
a7165497ea
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ public class RuffyScripter {
|
||||||
private void pressKey(final byte key) {
|
private void pressKey(final byte key) {
|
||||||
try {
|
try {
|
||||||
ruffyService.rtSendKey(key, true);
|
ruffyService.rtSendKey(key, true);
|
||||||
SystemClock.sleep(100);
|
SystemClock.sleep(200);
|
||||||
ruffyService.rtSendKey(Key.NO_KEY, true);
|
ruffyService.rtSendKey(Key.NO_KEY, true);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
throw new CommandException().exception(e).message("Error while pressing buttons");
|
throw new CommandException().exception(e).message("Error while pressing buttons");
|
||||||
|
|
Loading…
Reference in a new issue