Added GetKeymapFromOutput skeleton

This commit is contained in:
2016-03-25 22:08:35 +03:00
parent 169c57db87
commit d2f98137cf

View File

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