mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Add the missing constant for the switch input type
This commit is contained in:
parent
b4b274cdce
commit
9bfbb0dd49
1 changed files with 1 additions and 0 deletions
|
@ -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