mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-22 13:37:11 +02:00
first commit
This commit is contained in:
commit
0c8af21fab
95 changed files with 5312 additions and 0 deletions
22
server/internal/webrtc/data.go
Normal file
22
server/internal/webrtc/data.go
Normal file
|
@ -0,0 +1,22 @@
|
|||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue