Eventcodes as bytes

main
Minizbot2012 4 years ago
parent 2ffb9bf672
commit f480e329fc
No known key found for this signature in database
GPG Key ID: 977C8ADE12361917

@ -54,7 +54,7 @@ func ProcOrbFiles(orbs string, wd string) *KeyMaps {
//OrbLoop Main loop for this device
func OrbLoop(km *KeyMaps) {
var EventCodes = box.Get("orbweaver.dev")
ecm := make(map[uint16]int)
ecm := make(map[byte]int)
for i := 0; i < 26; i++ {
ecm[EventCodes[i]] = i
}

Loading…
Cancel
Save