mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
Add the missing constant for the switch input type
This commit is contained in:
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…
Reference in a new issue