mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
acpi_event: prevent misleading warning about PRESS_RELEASE
This commit is contained in:
parent
e384381942
commit
f2c25383af
@ -142,6 +142,7 @@ struct Transform::Main
|
|||||||
{
|
{
|
||||||
if (key_type == "PRESS") return Keys::Type::PRESS;
|
if (key_type == "PRESS") return Keys::Type::PRESS;
|
||||||
if (key_type == "RELEASE") return Keys::Type::RELEASE;
|
if (key_type == "RELEASE") return Keys::Type::RELEASE;
|
||||||
|
if (key_type == "PRESS_RELEASE") return Keys::Type::PRESS_RELEASE;
|
||||||
warning("unsupported 'as' attribute value \"", key_type, "\"");
|
warning("unsupported 'as' attribute value \"", key_type, "\"");
|
||||||
return Keys::Type::PRESS_RELEASE;
|
return Keys::Type::PRESS_RELEASE;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user