Popularity
3.1
Stable
Activity
0.0
Stable
50
1
5

Programming language: Go
License: MIT License
Tags: Miscellaneous    
Latest version: v0.1.1

xkg alternatives and similar packages

Based on the "Miscellaneous" category.
Alternatively, view xkg alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of xkg or a related project?

Add another 'Miscellaneous' Package

README

xkg - X Keyboard Grabber

GoDoc

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).


*Note that all licence references and agreements mentioned in the xkg README section above are relevant to that project's source code only.