diff options
author | Elliott Hughes <enh@google.com> | 2015-04-13 13:04:32 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-04-13 13:04:32 -0700 |
commit | 985022a6231814de2bfaf621fd0725c48bb98411 (patch) | |
tree | c3658b7885fa472c0da0cfcf9024a840faac714a /ui.h | |
parent | 0e3781ef9af2df648f54eb2a7765bef7b6b5b22e (diff) | |
download | bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.zip bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar.gz bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar.bz2 |
Remove unnecessary globals.
Change-Id: I76a042432aede08ceaf250319cf5eeb25d601150
Diffstat (limited to 'ui.h')
-rw-r--r-- | ui.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -147,14 +147,15 @@ private: int count; }; - pthread_t input_t; + pthread_t input_thread_; void OnKeyDetected(int key_code); - static void* input_thread(void* cookie); - static int input_callback(int fd, uint32_t epevents, void* data); - void process_key(int key_code, int updown); - bool usb_connected(); + static int InputCallback(int fd, uint32_t epevents, void* data); + int OnInputEvent(int fd, uint32_t epevents); + void ProcessKey(int key_code, int updown); + + bool IsUsbConnected(); static void* time_key_helper(void* cookie); void time_key(int key_code, int count); |