keycodes: rebase against v0.7

This commit is contained in:
Leonardo Hernández Hernández
2024-09-01 22:47:02 -06:00
parent fc6aebb916
commit 690364346d
2 changed files with 903 additions and 17 deletions
+20 -17
View File
@@ -1,17 +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)
- [2024-06-07](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/keycodes/keycodes.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)
### 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)
- [2024-06-07](https://codeberg.org/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)