mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
KeyboardLayout to KeyboardMap.
This commit is contained in:
@ -132,6 +132,12 @@ type ClipboardData struct {
|
||||
// Keyboard
|
||||
/////////////////////////////
|
||||
|
||||
type KeyboardMap struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
Layout string `json:"layout"`
|
||||
Variant string `json:"variant"`
|
||||
}
|
||||
|
||||
type KeyboardModifiers struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
CapsLock *bool `json:"caps_lock"`
|
||||
@ -139,12 +145,6 @@ type KeyboardModifiers struct {
|
||||
ScrollLock *bool `json:"scroll_lock"`
|
||||
}
|
||||
|
||||
type KeyboardLayout struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
Layout string `json:"layout"`
|
||||
Variant string `json:"variant"`
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
// Cursor
|
||||
/////////////////////////////
|
||||
|
Reference in New Issue
Block a user