neko/server/internal/webrtc/data.go

23 lines
243 B
Go
Raw Normal View History

2020-01-13 21:05:38 +13:00
package webrtc
type dataHeader struct {
Event uint8
Length uint16
}
type dataMouseMove struct {
dataHeader
X int16
Y int16
}
type dataMouseKey struct {
dataHeader
Key uint8
}
type dataKeyboardKey struct {
dataHeader
Key uint16
}