forked from len0rd/rockbox
Correct actionable offense for misappropriation of action context.
Just use a bool to indicate raw button instead of action code. No bother with plugin version yet again so soon. Change-Id: I4aa075c0c1fb5308c9d49bebb30ac76f671b2335
This commit is contained in:
parent
f688710707
commit
d05db0a90c
6 changed files with 6 additions and 11 deletions
|
|
@ -148,7 +148,7 @@ void system_sound_play(enum system_sound sound);
|
|||
typedef bool (*keyclick_callback)(int action, void* data);
|
||||
void keyclick_set_callback(keyclick_callback cb, void* data);
|
||||
/* Produce keyclick based upon button and global settings */
|
||||
void keyclick_click(int context, int action);
|
||||
void keyclick_click(bool rawbutton, int action);
|
||||
#endif /* CONFIG_CODEC == SWCODEC */
|
||||
|
||||
void push_current_activity(enum current_activity screen);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue