1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Michael Sevakis 2012-03-03 07:10:56 -05:00
parent a92696d40d
commit f688710707
6 changed files with 16 additions and 9 deletions

View file

@ -216,7 +216,7 @@ int mpeg_button_get(int timeout)
rb->button_get_w_tmo(timeout);
/* Produce keyclick */
rb->keyclick_click(button);
rb->keyclick_click(CONTEXT_RAWBUTTON, button);
return mpeg_sysevent_callback(button, NULL);
}