From 8c107cb48a00b2173e93d98179d307b72c34dc70 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Sat, 15 Jul 2017 11:17:24 +0200 Subject: [PATCH] RuffyScripter: Log button presses. --- .../main/java/de/jotomo/ruffyscripter/RuffyScripter.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java b/app/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java index 175536172a..be59c82c09 100644 --- a/app/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java +++ b/app/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java @@ -206,20 +206,28 @@ public class RuffyScripter { } public void pressUpKey() { + log.debug("Pressing up key"); pressKey(Key.UP); + log.debug("Releasing up key"); } public void pressDownKey() { + log.debug("Pressing down key"); pressKey(Key.DOWN); + log.debug("Releasing down key"); } public void pressCheckKey() { + log.debug("Pressing check key"); pressKey(Key.CHECK); + log.debug("Releasing check key"); } public void pressMenuKey() { // 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); + log.debug("Releasing menu key"); } /**