Add the missing constant for the switch input type

master
Abdelhakim Qbaich 6 years ago committed by Simon Ser
parent b4b274cdce
commit 9bfbb0dd49

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

Loading…
Cancel
Save