mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
keysym as uint32.
This commit is contained in:
@ -51,10 +51,10 @@ type DesktopManager interface {
|
||||
OnCursorPosition(listener func(x, y int))
|
||||
GetCursorPosition() (int, int)
|
||||
Scroll(x, y int)
|
||||
ButtonDown(code int) error
|
||||
KeyDown(code uint64) error
|
||||
ButtonUp(code int) error
|
||||
KeyUp(code uint64) error
|
||||
ButtonDown(code uint32) error
|
||||
KeyDown(code uint32) error
|
||||
ButtonUp(code uint32) error
|
||||
KeyUp(code uint32) error
|
||||
ResetKeys()
|
||||
ScreenConfigurations() map[int]ScreenConfiguration
|
||||
SetScreenSize(ScreenSize) error
|
||||
|
@ -118,7 +118,7 @@ type ControlScroll struct {
|
||||
// TODO: New.
|
||||
type ControlKey struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
Key uint64 `json:"key"`
|
||||
Key uint32 `json:"key"`
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
|
Reference in New Issue
Block a user