keyboard
keyboard copied to clipboard
Simple library to listen for keystrokes from the keyboard
I am making this "PullRequest" as a solution for #31. refer it for more info.
Generally most of the application wants to get continues keystrokes. For example imagine a game played through keyboard we have to listen for keystrokes until the game ends and also...
While pressing the "KeySpace" the "KeyEvent" produced must contain a rune value of "32" (ascii value for space) but it contains "0" (ascii value for null). Moreover, "KeyBackSpace" must produce...
If the handler is ignored, releaseConsole() will not exit when there is no keyboard input.
Allow keys: - `{` (`Alt Gr`+ `7`) - `[` (`Alt Gr`+ `8`) for German keyboards on Windows... maybe this has some side effects... but it works for me. Fix #27
Hi, on a german keyboard the `{` (`Alt Gr`+ `7`) and the `[` (`Alt Gr`+ `8`) does not work. Othe keys are working:  Eventuell sind auch weitere keys davon...
Thanks for the wonderful library. How to listen to keystrokes when keys pressed outside of this application window running. Means, I want to run this app as service in windows...
Thanks for the keyboard package. I am using it in one of my projects, and I recently learnt about go's builtin race detector. I tried using it on my project...
``` package main import ( "fmt" "github.com/eiannone/keyboard" ) func main() { err := keyboard.Open() if err != nil { panic(err) } defer keyboard.Close() fmt.Println("Press ESC to quit") for { char,...
Hey, I'm playing with this project, and I found that some keys cause the same error: `unrecognized escape sequence`. I'm using the latest version of the project. My terminal is...