uinput-controller: Map runes/keys directly and handle errors
This commit is contained in:
parent
809d3a0064
commit
d254ae5b0d
4 changed files with 150 additions and 129 deletions
|
|
@ -102,7 +102,7 @@ func main() {
|
|||
keysymsMap[unicode] = keysym
|
||||
}
|
||||
content := "// Code generated by keysyms.generator.go. DO NOT EDIT.\n" +
|
||||
"//go:build portal || x11 || uinput\n\n" +
|
||||
"//go:build portal || x11\n\n" +
|
||||
"package inputcontrol\n\n" +
|
||||
"var keysymsMap = map[rune]Keysym{\n"
|
||||
keys := make([]rune, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue