From f688710707f3af56a5949b8ae3957c9408b25392 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 3 Mar 2012 07:10:56 -0500 Subject: 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 --- apps/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/misc.h') diff --git a/apps/misc.h b/apps/misc.h index a3d9ffd582..4ae7c19a32 100644 --- a/apps/misc.h +++ b/apps/misc.h @@ -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 action); +void keyclick_click(int context, int action); #endif /* CONFIG_CODEC == SWCODEC */ void push_current_activity(enum current_activity screen); -- cgit v1.2.3