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:
parent
a92696d40d
commit
f688710707
6 changed files with 16 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue