mirror of
				https://codeberg.org/dwl/dwl-patches.git
				synced 2025-11-03 21:44:20 +00:00 
			
		
		
		
	Eliminated wiki. Individual patches have a README.md explanation in their own subdirectory. Simplified submission of new patches and maintenance of existing patches. Instructions page (README.md autodisplayed) is now at https://codeberg.org/dwl/dwl-patches/
		
			
				
	
	
		
			19 lines
		
	
	
		
			696 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			696 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
### 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)
 | 
						|
- [2023-11-25](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
 | 
						|
sudo make install
 | 
						|
```
 | 
						|
 | 
						|
### Authors
 | 
						|
- [sevz](https://codeberg.org/sevz)
 |