RuffyScripter: Log button presses.
This commit is contained in:
parent
df58b6d1c2
commit
8c107cb48a
|
@ -206,20 +206,28 @@ public class RuffyScripter {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void pressUpKey() {
|
public void pressUpKey() {
|
||||||
|
log.debug("Pressing up key");
|
||||||
pressKey(Key.UP);
|
pressKey(Key.UP);
|
||||||
|
log.debug("Releasing up key");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void pressDownKey() {
|
public void pressDownKey() {
|
||||||
|
log.debug("Pressing down key");
|
||||||
pressKey(Key.DOWN);
|
pressKey(Key.DOWN);
|
||||||
|
log.debug("Releasing down key");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void pressCheckKey() {
|
public void pressCheckKey() {
|
||||||
|
log.debug("Pressing check key");
|
||||||
pressKey(Key.CHECK);
|
pressKey(Key.CHECK);
|
||||||
|
log.debug("Releasing check key");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void pressMenuKey() {
|
public void pressMenuKey() {
|
||||||
// TODO build 'wait for menu update' into this method? get current menu, press key, wait for update?
|
// TODO build 'wait for menu update' into this method? get current menu, press key, wait for update?
|
||||||
|
log.debug("Pressing menu key");
|
||||||
pressKey(Key.MENU);
|
pressKey(Key.MENU);
|
||||||
|
log.debug("Releasing menu key");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue