Leonardo Hernández Hernández 0e2955ea97
update keycodes patch
0498877c
2024-06-07 16:00:58 -06:00
..
2024-06-07 16:00:58 -06:00
2024-06-07 16:00:58 -06:00

Description

Use keycodes instead of keysyms. This way, input is independent from keyboard layout (you can use the keys.h file to customize, or get the keycodes with wev or xkbcli interactive-wayland (x11-libs/libxkbcommon[tools] in gentoo)).

Download

Config after patching

(run in DWL source directory)

export XKB_DEFAULT_VARIANT=yourbestkeyboardlayout
cc -lxkbcommon -o generate-keys generate-keys.c
./generate-keys

Authors