summaryrefslogtreecommitdiffstats
path: root/minui/minui.h
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-10-13 00:53:29 +0200
committerDima Zavin <dima@android.com>2011-10-13 00:53:32 +0200
commit441031dadc4f5e8c1487468229781702bc08fb14 (patch)
treeadf5c20706637eaa5fe978a00d3cde71023f4b02 /minui/minui.h
parentfix problem where the screen is sometimes all black in recovery (diff)
downloadandroid_bootable_recovery-441031dadc4f5e8c1487468229781702bc08fb14.tar
android_bootable_recovery-441031dadc4f5e8c1487468229781702bc08fb14.tar.gz
android_bootable_recovery-441031dadc4f5e8c1487468229781702bc08fb14.tar.bz2
android_bootable_recovery-441031dadc4f5e8c1487468229781702bc08fb14.tar.lz
android_bootable_recovery-441031dadc4f5e8c1487468229781702bc08fb14.tar.xz
android_bootable_recovery-441031dadc4f5e8c1487468229781702bc08fb14.tar.zst
android_bootable_recovery-441031dadc4f5e8c1487468229781702bc08fb14.zip
Diffstat (limited to 'minui/minui.h')
-rw-r--r--minui/minui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/minui/minui.h b/minui/minui.h
index cb1ed6588..2e2f1f477 100644
--- a/minui/minui.h
+++ b/minui/minui.h
@@ -46,10 +46,12 @@ unsigned int gr_get_height(gr_surface surface);
struct input_event;
typedef int (*ev_callback)(int fd, short revents, void *data);
+typedef int (*ev_set_key_callback)(int code, int value, void *data);
int ev_init(ev_callback input_cb, void *data);
void ev_exit(void);
int ev_add_fd(int fd, ev_callback cb, void *data);
+int ev_sync_key_state(ev_set_key_callback set_key_cb, void *data);
/* timeout has the same semantics as for poll
* 0 : don't block