From d2f98137cf6d2491f1a8cba8828fe4971be6a24e Mon Sep 17 00:00:00 2001 From: Aleksey Lobanov Date: Fri, 25 Mar 2016 22:08:35 +0300 Subject: [PATCH] Added GetKeymapFromOutput skeleton --- src/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.go b/src/main.go index c864228..a47e01b 100644 --- a/src/main.go +++ b/src/main.go @@ -14,6 +14,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 {