From 764af9545e25a51e54c15283f044ce57f44ee431 Mon Sep 17 00:00:00 2001 From: Aleksey Lobanov Date: Fri, 25 Mar 2016 19:08:21 +0300 Subject: [PATCH] Added skeleton for GetKeyNumsFromOutput --- src/main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.go b/src/main.go index eb5d8f6..c2604cb 100644 --- a/src/main.go +++ b/src/main.go @@ -14,6 +14,12 @@ const ( KEYBOARD_BUFER_SIZE = 10000 ) +// Extract pressed keys from bufer buf +// It retruns slice with key numbers in the same order +func GetKeyNumsFromOutput(buf []byte) []uint8 { + return make([]uint8, 0) +} + func main() { keyboard_id := 14