Re: [go-nuts] get scancode of character

2016-11-24 Thread Konstantin Khomoutov
On Thu, 24 Nov 2016 15:33:41 +0300 Vasiliy Tolstov wrote: > I need to pass to qemu monitor key number to simulate keypress. > If i use utf8 package and decode characters (runes) from string i get > for example for char c code 99, but for qemu i need char number 46. > Does somebody already create

[go-nuts] get scancode of character

2016-11-24 Thread Vasiliy Tolstov
I need to pass to qemu monitor key number to simulate keypress. If i use utf8 package and decode characters (runes) from string i get for example for char c code 99, but for qemu i need char number 46. Does somebody already create package that get scancodes for chars (as i understand ascii codes) t