keytable: Add the remaining other unhandled events
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 14 Dec 2012 17:13:47 +0000 (15:13 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 14 Dec 2012 17:16:45 +0000 (15:16 -0200)
That helps to latter add parsing code for those events, if ever
needed.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/keytable/keytable.c

index c4d103a..a8f707e 100644 (file)
@@ -1318,6 +1318,12 @@ static void test_event(int fd)
                                        ev[i].time.tv_sec, ev[i].time.tv_usec,
                                        ev[i].value);
                                break;
+                       case EV_SW:
+                       case EV_LED:
+                       case EV_SND:
+                       case EV_FF:
+                       case EV_PWR:
+                       case EV_FF_STATUS:
                        default:
                                printf("%ld.%06ld: event type %d: code: 0x%02x, value: %d\n",
                                        ev[i].time.tv_sec, ev[i].time.tv_usec,