Merge branch 'master' of github.com:AlekseyLobanov/gokeystat

This commit is contained in:
Dmitry Lyukov
2016-03-25 22:47:37 +03:00
2 changed files with 33 additions and 0 deletions

View File

@@ -15,6 +15,10 @@ const (
KEYBOARD_BUFER_SIZE = 10000
)
func GetKeymapFromOutput(buf []byte) map[uint8]string {
return make(map[uint8]string)
}
// Extract pressed keys from bufer buf
// It returns slice with key numbers in the same order
func GetKeyNumsFromOutput(buf []byte) []uint8 {