this post was submitted on 30 Oct 2024
38 points (97.5% liked)

Arch Linux

7790 readers
4 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

I'm excited to introduce Keyshift, a performance-focused and easy-to-configure keyboard remapping software that I've been developing. I've been using it for some time, and I'm really happy with the results!

A layering software allows you to create your own Fn key equivalents. You can also have multiple of them.

With Keyshift, you can do the following and more:

  • Remap Keys: Use --config="A=B" to remap A to B, or --config="A=B;B=A" to swap keys.
  • Layer Keys: Try --config="CAPSLOCK+1=F1" to layer keys easily.
  • Layer Keys with Original Key Intact: For example, --config="CAPSLOCK+1=F1;CAPSLOCK+nothing=CAPSLOCK" keeps the original key functional.
  • Surround Keys: With --config="^LEFTSHIFT=^LEFTSHIFT;LEFTSHIFT+ESC=GRAVE;LEFTSHIFT+*=*", you can type "~" using Shift+Esc.

Full call example -

sudo keyshift --config "A=B;B=A" \
  --kbd /dev/input/by-id/usb-ITE_Tech._Inc._ITE_Device_8910_-event-kbd

You can also create a config-file with all mappings, which is the recommended way to use it. You can add this to your startup (or udev if you want) to make the mapping permanent.

The main difference from KMonad is Keyshift's focus on performance and a newer remapping syntax.

I invite you to give it a try and share your feedback!

AUR: https://aur.archlinux.org/packages/keyshift

you are viewing a single comment's thread
view the rest of the comments
[–] freeman 4 points 1 month ago (1 children)
[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

Yes, it works on Wayland.

Since Keyshift interacts directly with input devices, it’s independent of the desktop system, so it works seamlessly on Wayland, X11, and even in terminal environments.