AlynxZhou / showmethekey

Show keys you typed on screen.
https://showmethekey.alynx.one/
Apache License 2.0
351 stars 28 forks source link

Custom keyboard layout #25

Closed Nora-n closed 1 year ago

Nora-n commented 1 year ago

Hi,

First of all thank you for this awesome piece of software! Having all the possible keyboard layouts is great too.

However, I've remapped some of my keyboard keys to some other functions thanks to xmodmap, so showmethekey doesn't get the actual input.

Would it be possible to give this layout to the software? I'm not sure about the way it works, but that would be just fantastic.

Have a great day!

AlynxZhou commented 1 year ago

Currently it is not able to do this, but I suggest to remap keys using udev (https://wiki.archlinux.org/title/Map_scancodes_to_keycodes#Using_udev) instead of X-related tools, this works not only under Xorg, but also Wayland and tty and others, it's in a deeper level.

Nora-n commented 1 year ago

Wow thanks for the fast reply! Would this make showmethekey show the actual input?

AlynxZhou commented 1 year ago

Wow thanks for the fast reply! Would this make showmethekey show the actual input?

Yes

Nora-n commented 1 year ago

Thanks, have a good day!