Skip to content

"caps" in remaps keys doesn't work, but "CAPSLOCK" does #13

@Esensats

Description

@Esensats

This config:

local waywall = require("waywall")
local helpers = require("waywall.helpers")

local config = {
    input = {
        layout = "us",

		remaps = {
			["caps"] = "F3", -- notice "caps"
		},

        repeat_rate = 40,
        repeat_delay = 300,

        sensitivity = 1.0,
        confine_pointer = false,
    },
    theme = {
        background = "#303030ff",
    },
}

config.actions = {}

return config

doesn't work. The game crashes with the following logs at the end:

Wrapper command is:
waywall wrap --


Minecraft process ID: 60773


[  26131.975031] [WARN] [waywall/main.c:227] failed to set scheduler priority: Operation not permitted
[  26131.975100] [INFO] [waywall/util/sysinfo.c:89] ---- SYSTEM INFO
[  26131.975126] [INFO] [waywall/util/sysinfo.c:76] system:  Linux
[  26131.975135] [INFO] [waywall/util/sysinfo.c:77] release: 6.15.6-arch1-1
[  26131.975144] [INFO] [waywall/util/sysinfo.c:78] version: #1 SMP PREEMPT_DYNAMIC Thu, 10 Jul 2025 17:10:18 +0000
[  26131.975153] [INFO] [waywall/util/sysinfo.c:79] machine: x86_64
[  26131.975162] [INFO] [waywall/util/sysinfo.c:68] max files: 1024
[  26131.975223] [INFO] [waywall/util/sysinfo.c:56] inotify max queued events:  16384
[  26131.975232] [INFO] [waywall/util/sysinfo.c:57] inotify max user instances: 1024
[  26131.975241] [INFO] [waywall/util/sysinfo.c:58] inotify max user watches:   524288
[  26131.975250] [INFO] [waywall/util/sysinfo.c:84] libwayland version: 1.23.1
[  26131.975259] [INFO] [waywall/util/sysinfo.c:96] ---- END SYSTEM INFO
[  26131.975625]  [ERR] [waywall/config/config.c:341] unknown input 'caps' for remapping
[  26131.975636]  [ERR] [waywall/config/config.c:779] failed to load config table
Process exited with code 1.

But if you change "caps" to "capslock" the game launches successfully.

The table here https://github.com/tesselslate/waywall/blob/main/doc/03_lookup_tables.md made me think that "caps" would work.


There may be other keys that I have not tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions