diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-03-03 07:10:56 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-03-03 07:10:56 -0500 |
commit | f688710707f3af56a5949b8ae3957c9408b25392 (patch) | |
tree | 5e0a15f00d66337123406c09c207f531a4c18eca /apps/plugins | |
parent | a92696d40d3515d4391ffba043894ebbad80cab6 (diff) | |
download | rockbox-f688710707f3af56a5949b8ae3957c9408b25392.tar.gz rockbox-f688710707f3af56a5949b8ae3957c9408b25392.zip |
Change keyclick_click so that it may accept raw buttons or actions.
Adds a new context, CONTEXT_RAWBUTTON, that I hope is out of the way
of everything. Unfortunately have to increment min plugin API version
for the second time today to accomodate additional parameter.
Change-Id: Iaa46b926e57cf377fd4906f2d42bb98e87215033
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_misc.c b/apps/plugins/mpegplayer/mpeg_misc.c index 895fbe04a9..cbaca70646 100644 --- a/apps/plugins/mpegplayer/mpeg_misc.c +++ b/apps/plugins/mpegplayer/mpeg_misc.c | |||
@@ -216,7 +216,7 @@ int mpeg_button_get(int timeout) | |||
216 | rb->button_get_w_tmo(timeout); | 216 | rb->button_get_w_tmo(timeout); |
217 | 217 | ||
218 | /* Produce keyclick */ | 218 | /* Produce keyclick */ |
219 | rb->keyclick_click(button); | 219 | rb->keyclick_click(CONTEXT_RAWBUTTON, button); |
220 | 220 | ||
221 | return mpeg_sysevent_callback(button, NULL); | 221 | return mpeg_sysevent_callback(button, NULL); |
222 | } | 222 | } |