Lookup Tables

waywall has pre-defined sets of names which correspond to keys, mouse buttons, and modifiers. These are used when loading your configuration. All names are case insensitive.

Keycodes

The list of valid keycodes can be found in waywall's source code here.

Virtually all normal keyboard keys are present, although some may not be named as you expect. waywall follows the names defined by the input-event-codes.h header from Linux.

Keysyms

The list of valid keysyms comes from libxkbcommon. The xkbcommon-keysyms.h header contains all of the valid keysym names. Each keysym's name is prefixed with XKB_KEY_.

Modifiers

The following table lists all valid names for modifiers:

ModifierNames
Shiftshift
Controlctrlcontrol
Altaltmod1
Supermod4superwin
Caps Lockcapslockcapslock
Mod2mod2
Mod3mod3
Mod5mod5

Mouse buttons

The following table lists all valid names for mouse buttons:

ButtonNames
Left Buttonlmbm1mouse1leftmouse
Middle Buttonmmbm3mouse3middlemouse
Right Buttonrmbm2mouse2rightmouse
Side button (M4)mb4m4mouse4
Side button (M5)mb5m5mouse5