diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-09-11 01:53:12 +0200 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2013-09-12 21:42:33 +0200 |
commit | e7265df3523d27c9f59829c858de256cf063da26 (patch) | |
tree | a55c3842e61ef49f749f86a9a4b9b317b1418100 | |
parent | minui: convert ev_*() event interface to epoll (diff) | |
download | android_bootable_recovery-e7265df3523d27c9f59829c858de256cf063da26.tar android_bootable_recovery-e7265df3523d27c9f59829c858de256cf063da26.tar.gz android_bootable_recovery-e7265df3523d27c9f59829c858de256cf063da26.tar.bz2 android_bootable_recovery-e7265df3523d27c9f59829c858de256cf063da26.tar.lz android_bootable_recovery-e7265df3523d27c9f59829c858de256cf063da26.tar.xz android_bootable_recovery-e7265df3523d27c9f59829c858de256cf063da26.tar.zst android_bootable_recovery-e7265df3523d27c9f59829c858de256cf063da26.zip |
Diffstat (limited to '')
-rw-r--r-- | ui.cpp | 4 | ||||
-rw-r--r-- | ui.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -63,12 +63,12 @@ void RecoveryUI::Init() { } -int RecoveryUI::input_callback(int fd, short revents, void* data) +int RecoveryUI::input_callback(int fd, unsigned int epevents, void* data) { struct input_event ev; int ret; - ret = ev_get_input(fd, revents, &ev); + ret = ev_get_input(fd, epevents, &ev); if (ret) return -1; @@ -134,7 +134,7 @@ private: pthread_t input_t; static void* input_thread(void* cookie); - static int input_callback(int fd, short revents, void* data); + static int input_callback(int fd, unsigned int epevents, void* data); void process_key(int key_code, int updown); bool usb_connected(); |