diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-09-11 01:52:54 +0200 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2013-09-12 21:42:33 +0200 |
commit | 1fc89d4c84e512b484d82d971d997bdb0aef40e2 (patch) | |
tree | 08d6370fef594f6947724879a4613f8ace71bcb5 /minui/minui.h | |
parent | am 1306a7ef: am cc2958fd: fix secure adb in recovery (diff) | |
download | android_bootable_recovery-1fc89d4c84e512b484d82d971d997bdb0aef40e2.tar android_bootable_recovery-1fc89d4c84e512b484d82d971d997bdb0aef40e2.tar.gz android_bootable_recovery-1fc89d4c84e512b484d82d971d997bdb0aef40e2.tar.bz2 android_bootable_recovery-1fc89d4c84e512b484d82d971d997bdb0aef40e2.tar.lz android_bootable_recovery-1fc89d4c84e512b484d82d971d997bdb0aef40e2.tar.xz android_bootable_recovery-1fc89d4c84e512b484d82d971d997bdb0aef40e2.tar.zst android_bootable_recovery-1fc89d4c84e512b484d82d971d997bdb0aef40e2.zip |
Diffstat (limited to 'minui/minui.h')
-rw-r--r-- | minui/minui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/minui/minui.h b/minui/minui.h index 1b8dd059b..805c58bed 100644 --- a/minui/minui.h +++ b/minui/minui.h @@ -50,7 +50,7 @@ unsigned int gr_get_height(gr_surface surface); // see http://www.mjmwired.net/kernel/Documentation/input/ for info. struct input_event; -typedef int (*ev_callback)(int fd, short revents, void *data); +typedef int (*ev_callback)(int fd, unsigned int epevents, void *data); typedef int (*ev_set_key_callback)(int code, int value, void *data); int ev_init(ev_callback input_cb, void *data); @@ -65,7 +65,7 @@ int ev_sync_key_state(ev_set_key_callback set_key_cb, void *data); */ int ev_wait(int timeout); -int ev_get_input(int fd, short revents, struct input_event *ev); +int ev_get_input(int fd, unsigned int epevents, struct input_event *ev); void ev_dispatch(void); // Resources |