From c70505d7c7b7b48600f273357694b56ccf5d2a15 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Fri, 23 May 2025 11:41:09 +0000 Subject: Initial commit --- dwl-patches/patches/keycodes/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dwl-patches/patches/keycodes/README.md (limited to 'dwl-patches/patches/keycodes/README.md') diff --git a/dwl-patches/patches/keycodes/README.md b/dwl-patches/patches/keycodes/README.md new file mode 100644 index 0000000..b56adc3 --- /dev/null +++ b/dwl-patches/patches/keycodes/README.md @@ -0,0 +1,20 @@ +### 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 +- [git branch](https://codeberg.org/sevz/dwl/src/branch/keycodes) +- [main 2025-01-20](/dwl/dwl-patches/raw/branch/main/patches/keycodes/keycodes.patch) +- [keycodes-0.7.patch](/dwl/dwl-patches/raw/branch/main/patches/keycodes/keycodes-0.7.patch) + +### Config after patching +(run in DWL source directory) +``` +export XKB_DEFAULT_VARIANT=yourbestkeyboardlayout +cc -lxkbcommon -o generate-keys generate-keys.c +./generate-keys +``` + +### Authors +- [sevz](https://codeberg.org/sevz) -- cgit v1.2.3