Add the missing constant for the switch input type

This commit is contained in:
Abdelhakim Qbaich 2019-06-07 00:04:17 -04:00 committed by Simon Ser
parent b4b274cdce
commit 9bfbb0dd49

View file

@ -103,6 +103,7 @@ static const char *pretty_type_name(const char *name) {
{ "tablet_pad", "Tablet pad" },
{ "tablet_tool", "Tablet tool" },
{ "touch", "Touch" },
{ "switch", "Switch" },
};
for (size_t i = 0; i < sizeof(type_names) / sizeof(type_names[0]); ++i) {