diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2012-01-27 00:12:03 +0100 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-27 09:15:05 +0100 |
| commit | aba5c47dd6369a3612be4165a16054ebd6d74af3 (patch) | |
| tree | 38f9340683618d117f6e7d9de5a6b5b8fd3ad798 /apps/plugins/reversi | |
| parent | 7c623d577beea6fce3eadaa697d5e6835d820bdf (diff) | |
| download | rockbox-aba5c47dd6369a3612be4165a16054ebd6d74af3.zip rockbox-aba5c47dd6369a3612be4165a16054ebd6d74af3.tar.gz rockbox-aba5c47dd6369a3612be4165a16054ebd6d74af3.tar.bz2 rockbox-aba5c47dd6369a3612be4165a16054ebd6d74af3.tar.xz | |
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')
| -rw-r--r-- | apps/plugins/reversi/reversi-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c index 5b5705c..e25aa5f 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 */ |