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.

29 lines
317 B
Go

package gui
type PageType int
const (
//PGrid Grid type (keypads)
PGrid PageType = iota
//PCircle type (joysticks)
PCircle
//PList List Type
PList
)
type GUI struct {
Pages []Page
}
type Page struct {
Hive string
Name string
Keys []Key
Type PageType
}
type Key struct {
KeyID int
KeyName string
}