2025-06-01 14:26:57 -05:00
|
|
|
syntax = "proto3";
|
|
|
|
|
package navka;
|
|
|
|
|
|
2025-06-17 08:17:23 -05:00
|
|
|
// smaller, fixed-size payloads ⇒ less allocation and simpler decoding
|
|
|
|
|
message KeyboardReport { bytes data = 1; } // exactly 8 bytes
|
|
|
|
|
message MouseReport { bytes data = 1; } // exactly 4 bytes
|
2025-06-01 14:26:57 -05:00
|
|
|
|
|
|
|
|
service Relay {
|
2025-06-17 08:17:23 -05:00
|
|
|
rpc StreamKeyboard (stream KeyboardReport) returns (stream KeyboardReport);
|
|
|
|
|
rpc StreamMouse (stream MouseReport) returns (stream MouseReport);
|
|
|
|
|
}
|