diff --git a/hid/generated.bin b/hid/generated.bin index e238182..7754547 100755 Binary files a/hid/generated.bin and b/hid/generated.bin differ diff --git a/hid/hid.go b/hid/hid.go index 6597b48..f3b9ee0 100755 --- a/hid/hid.go +++ b/hid/hid.go @@ -4,7 +4,7 @@ import ( "bytes" _ "embed" "github.com/Minizbot2012/minxdr" - structs "github.com/OrbTools/OrbCommon/hid/structs" + "github.com/OrbTools/OrbCommon/hid/structs" ) //go:embed generated.bin @@ -14,7 +14,7 @@ func init() { minxdr.Unmarshal(bytes.NewReader(file), &Mappings) } -var Mappings KeyMaps = structs.KeyMaps{} +var Mappings := structs.KeyMaps{} func GetMappingFromHID(uv uint16) structs.Key { return Mappings.Usb[uv]