recovery: Handle EV_SW events

Change-Id: I29c13a941067cd1bbdced3bd67fd93293347d7b6
diff --git a/minui/events.c b/minui/events.c
index d98a774..9e4255d 100644
--- a/minui/events.c
+++ b/minui/events.c
@@ -80,8 +80,8 @@
             }
 
             /* TODO: add ability to specify event masks. For now, just assume
-             * that only EV_KEY and EV_REL event types are ever needed. */
-            if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits)) {
+             * that only EV_KEY, EV_REL & EV_SW event types are ever needed. */
+            if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits) && !test_bit(EV_SW, ev_bits)) {
                 close(fd);
                 continue;
             }