xkg
X Keyboard Grabber
About xkg
xkg - X Keyboard Grabber
Installation
go get gopkg.in/xkg.v0
Usage example:
package main
import (
"fmt"
"gopkg.in/xkg.v0"
)
func main() {
var keys = make(chan int, 100)
go xkg.StartXGrabber(keys)
for {
keycode := <-keys
if key, ok := xkg.KeyMap[keycode]; ok {
fmt.Printf("[%s]", key)
}
}
}
License
The license of the project is The MIT License (MIT).
Frequently Asked Questions
What is xkg?
xkg is a Miscellaneous library for the Go programming language. X Keyboard Grabber
How do I install xkg?
Install xkg with the Go module system using `go get go-xkg/xkg`. Check the repository for the current installation instructions.
What category does xkg belong to?
xkg is listed under Miscellaneous, specifically Uncategorized.
