mirror of https://github.com/OrbTools/OrbCommon
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.
38 lines
540 B
Go
38 lines
540 B
Go
package structs
|
|
|
|
//KeyMap singular keymap
|
|
type KeyMap struct {
|
|
Keymap []uint16
|
|
Color []byte
|
|
Device string
|
|
}
|
|
|
|
//KeyMaps a set of keymaps
|
|
type KeyMaps struct {
|
|
Maps []*KeyMap
|
|
Currentmap int
|
|
MCount int
|
|
}
|
|
|
|
type DeviceDef struct {
|
|
Backend string
|
|
IsColor bool
|
|
MaxMappings int
|
|
NumKeys int
|
|
NumColor int
|
|
Binding []byte
|
|
Device struct {
|
|
SystemFile string
|
|
VendorID int
|
|
ProdID int
|
|
}
|
|
GuiPages []struct {
|
|
Name string
|
|
Type string
|
|
Keys []struct {
|
|
KeyID int
|
|
KeyName string
|
|
}
|
|
}
|
|
}
|