Add uinput-based controller

This commit is contained in:
De_Coder 2023-02-19 16:29:46 +01:00
parent 79a88dc676
commit 28dfc47d74
6 changed files with 202 additions and 3 deletions

View file

@ -102,7 +102,7 @@ func main() {
keysymsMap[unicode] = keysym
}
content := "// Code generated by keysyms.generator.go. DO NOT EDIT.\n" +
"//go:build portal || x11\n\n" +
"//go:build portal || x11 || uinput\n\n" +
"package inputcontrol\n\n" +
"var keysymsMap = map[rune]Keysym{\n"
keys := make([]rune, 0)