From aba5c47dd6369a3612be4165a16054ebd6d74af3 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 27 Jan 2012 00:12:03 +0100 Subject: pluginlib_touchscreen: Rework API to offer wait-for-button APIs. The old touchscreen_get() needed an external button_get() call. Now two APIs are added that do this call internally. This way they behave similar to get_action. The old API is preserved (but renamed) since it's used in reversi. Change-Id: I24902c64a357f2fdd7d0c2f5371cbfd20f34f1c8 --- apps/plugins/reversi/reversi-gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/reversi/reversi-gui.c') diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c index 5b5705c7df..e25aa5fe3e 100644 --- a/apps/plugins/reversi/reversi-gui.c +++ b/apps/plugins/reversi/reversi-gui.c @@ -688,7 +688,7 @@ enum plugin_status plugin_start(const void *parameter) { /* The touchscreen buttons can act as true buttons so OR them in */ #ifdef HAVE_TOUCHSCREEN - button |= touchbutton_get(reversi_buttons, button, TOUCHBUTTON_COUNT); + button |= touchbutton_check_button(button, reversi_buttons, TOUCHBUTTON_COUNT); #endif /* All of these button presses wait for the release event */ -- cgit v1.2.3