summaryrefslogtreecommitdiffstats
path: root/minui/include
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-07-28 09:05:40 +0200
committerTao Bao <tbao@google.com>2017-08-03 20:10:28 +0200
commitaf9f8b4d97af56b5abcb622aaecebce59179bc0b (patch)
treee091989527baa95a5ce2a29e11e9593f2b45b766 /minui/include
parentrecovery: handle security footer before passing size to mke2fs (diff)
downloadandroid_bootable_recovery-af9f8b4d97af56b5abcb622aaecebce59179bc0b.tar
android_bootable_recovery-af9f8b4d97af56b5abcb622aaecebce59179bc0b.tar.gz
android_bootable_recovery-af9f8b4d97af56b5abcb622aaecebce59179bc0b.tar.bz2
android_bootable_recovery-af9f8b4d97af56b5abcb622aaecebce59179bc0b.tar.lz
android_bootable_recovery-af9f8b4d97af56b5abcb622aaecebce59179bc0b.tar.xz
android_bootable_recovery-af9f8b4d97af56b5abcb622aaecebce59179bc0b.tar.zst
android_bootable_recovery-af9f8b4d97af56b5abcb622aaecebce59179bc0b.zip
Diffstat (limited to 'minui/include')
-rw-r--r--minui/include/minui/minui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/minui/include/minui/minui.h b/minui/include/minui/minui.h
index 78dd4cb98..017ddde75 100644
--- a/minui/include/minui/minui.h
+++ b/minui/include/minui/minui.h
@@ -74,10 +74,11 @@ struct input_event;
using ev_callback = std::function<int(int fd, uint32_t epevents)>;
using ev_set_key_callback = std::function<int(int code, int value)>;
-int ev_init(ev_callback input_cb);
+int ev_init(ev_callback input_cb, bool allow_touch_inputs = false);
void ev_exit();
int ev_add_fd(int fd, ev_callback cb);
void ev_iterate_available_keys(const std::function<void(int)>& f);
+void ev_iterate_touch_inputs(const std::function<void(int)>& action);
int ev_sync_key_state(const ev_set_key_callback& set_key_cb);
// 'timeout' has the same semantics as poll(2).