You are not logged in.

#1 2025-12-05 21:00:54

perolo
Member
Registered: 2025-12-05
Posts: 1

Remapping special keys with Wayland

Hello everyone!

I have a laptop which has an special key that was originally intended to MSFT's Copilot, so I've been on a quest to remap this key to something useful, and for me that will be:
Wev standard: Super_L (65515)
Evtest: code 125 (KEY_LEFTMETA)

I have reviewed past post like (https://bbs.archlinux.org/viewtopic.php?id=305867) but I need more details since I'm not that experienced on Arch.

What I've seen on my test both with web and evtest, when pressing this copilot key it seems like I was pressing 3 keys. From the past post I've learned how to map the physical key to it's logical value, however I still do not understand how to actually make it recon like if I only have pushed a single key.

¿Is this possible?¿How?

I'm interested on having different profiles of key mapping since I've seen that's an option so that on the future I can try remapping more keys and being able to roll back whenever I want.

Thanks in advance,

Offline

#2 2025-12-05 22:17:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,309

Re: Remapping special keys with Wayland

however I still do not understand how to actually make it recon like if I only have pushed a single key.

You won't - the keyboard presses a combination, this is just shortwired.

https://wiki.archlinux.org/title/Input_remap_utilities
Your/their goal is to make the last part (XF86Assistant,  6e in the other thread) something accessible (They chose "Q")

Evremap should™ be able to compress shortcuts into single keys, https://wiki.archlinux.org/title/Input_remap_utilities
But NOTICE this will apply NO MATTER HOW THAT SHORTCUTS WAS PRESSED (via the single key or and actual hand-cramp) and I'm not sure that it will work w/ modifiers either.
So if you're going for that you'd actually be better off to leave the XF86Assistant alone (because you'll likely not run into that shortcut by other means)

Online

Board footer

Powered by FluxBB