summaryrefslogtreecommitdiff
path: root/apps/plugins/reversi/reversi-gui.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-27 00:12:03 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-27 09:15:05 +0100
commitaba5c47dd6369a3612be4165a16054ebd6d74af3 (patch)
tree38f9340683618d117f6e7d9de5a6b5b8fd3ad798 /apps/plugins/reversi/reversi-gui.c
parent7c623d577beea6fce3eadaa697d5e6835d820bdf (diff)
downloadrockbox-aba5c47dd6369a3612be4165a16054ebd6d74af3.tar.gz
rockbox-aba5c47dd6369a3612be4165a16054ebd6d74af3.zip
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
Diffstat (limited to 'apps/plugins/reversi/reversi-gui.c')
-rw-r--r--apps/plugins/reversi/reversi-gui.c2
1 files changed, 1 insertions, 1 deletions
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) {
688 688
689 /* The touchscreen buttons can act as true buttons so OR them in */ 689 /* The touchscreen buttons can act as true buttons so OR them in */
690#ifdef HAVE_TOUCHSCREEN 690#ifdef HAVE_TOUCHSCREEN
691 button |= touchbutton_get(reversi_buttons, button, TOUCHBUTTON_COUNT); 691 button |= touchbutton_check_button(button, reversi_buttons, TOUCHBUTTON_COUNT);
692#endif 692#endif
693 693
694 /* All of these button presses wait for the release event */ 694 /* All of these button presses wait for the release event */