Common structures split into common files

Minizbot2012 3 years ago
parent af5653f2c1
commit 480c458bc7

@ -7,27 +7,6 @@ import (
"encoding/json"
)
type KeyMaps struct {
Usb map[uint16]Key
Evdev map[uint16]Key
Xkb map[uint16]Key
Win map[uint16]Key
Mac map[uint16]Key
Code map[string]Key
Arr []Key
}
type Key struct {
Usb uint16
Evdev uint16
Xkb uint16
Win uint16
Mac uint16
Code string
}
var Mappings KeyMaps = KeyMaps{}
//go:embed generated.json
var file []byte

Loading…
Cancel
Save