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.
21 lines
291 B
Go
21 lines
291 B
Go
2 years ago
|
package structs
|
||
|
|
||
|
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
|
||
|
}
|