input: add Super as alternative for Mod4

This PR implements alternative human-readable names for the logo key
(Mod4) as proposed in #8084.
This commit is contained in:
Ferdinand Bachmann 2024-04-05 16:40:28 +02:00 committed by GitHub
parent dcb142bf5e
commit bc258a3be2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -32,6 +32,7 @@ static struct modifier_key {
{ XKB_MOD_NAME_NUM, WLR_MODIFIER_MOD2 },
{ "Mod3", WLR_MODIFIER_MOD3 },
{ XKB_MOD_NAME_LOGO, WLR_MODIFIER_LOGO },
{ "Super", WLR_MODIFIER_LOGO },
{ "Mod5", WLR_MODIFIER_MOD5 },
};