For example if they typed something in the console for the program it would act like they pressed the "a" key.
This is different from this How to react to keypress events in Go?… because that is if some key is pressed then do something mine is if some key is pressed then virtually press another key
Asked
Active
Viewed 79 times
1

Cœur
- 37,241
- 25
- 195
- 267

Mark Muchane
- 13
- 4
-
3Possible duplicate of [How to react to keypress events in Go?](http://stackoverflow.com/questions/27198193/how-to-react-to-keypress-events-in-go) – alex Feb 19 '16 at 11:45
-
This is different from this http://stackoverflow.com/questions/27198193/how-to-react-to-keypress-events-in-go because that is if some key is pressed then do something mine is if some key is pressed then virtually press another key – Mark Muchane Feb 19 '16 at 11:57
-
Possible duplicate of http://stackoverflow.com/questions/26446184/control-the-mouse-and-keyboard-golang – flec Feb 19 '16 at 12:15
-
You mean read and send key events? – Cedmundo Feb 19 '16 at 17:28