mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
23 lines
240 B
Go
23 lines
240 B
Go
|
package payload
|
||
|
|
||
|
const (
|
||
|
OP_CURSOR_POSITION = 0x01
|
||
|
OP_CURSOR_IMAGE = 0x02
|
||
|
)
|
||
|
|
||
|
type CursorPosition struct {
|
||
|
Header
|
||
|
|
||
|
X uint16
|
||
|
Y uint16
|
||
|
}
|
||
|
|
||
|
type CursorImage struct {
|
||
|
Header
|
||
|
|
||
|
Width uint16
|
||
|
Height uint16
|
||
|
Xhot uint16
|
||
|
Yhot uint16
|
||
|
}
|