Added GetKeymapFromOutput skeleton
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user