mirror of https://github.com/OrbTools/OrbMap
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
436 B
Go
20 lines
436 B
Go
//generate:boxy
|
|
package main
|
|
|
|
import (
|
|
"flag"
|
|
|
|
"github.com/OrbTools/OrbMap/devices/orbweaver"
|
|
"github.com/OrbTools/OrbMap/emu"
|
|
"github.com/OrbTools/OrbMap/keyevents"
|
|
)
|
|
|
|
func main() {
|
|
orbs := flag.String("orbweaver", "", "Comma seperated string of orbs for the orbweaver")
|
|
flag.Parse()
|
|
KeyBus := make(chan *keyevents.KeyEvent, 128)
|
|
Maps := orbweaver.ProcOrbFiles(*orbs)
|
|
go orbweaver.OrbLoop(Maps, KeyBus)
|
|
emu.ProcKey(KeyBus)
|
|
}
|