moved protobuf files in
This commit is contained in:
51
led.proto
Normal file
51
led.proto
Normal file
@@ -0,0 +1,51 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package ledd;
|
||||
|
||||
import "hsv.proto";
|
||||
|
||||
message LED {
|
||||
string name = 1;
|
||||
int32 id = 2;
|
||||
int32 local_id = 3;
|
||||
int32 client_id = 4;
|
||||
|
||||
map<string, string> options = 10;
|
||||
}
|
||||
|
||||
message LEDGroup {
|
||||
enum GroupType {
|
||||
RGB = 0;
|
||||
USER = 1;
|
||||
}
|
||||
|
||||
string name = 1;
|
||||
int32 id = 2;
|
||||
GroupType type = 3;
|
||||
int32 size = 4;
|
||||
|
||||
repeated int32 led_ids = 10;
|
||||
}
|
||||
|
||||
message LEDs {
|
||||
repeated LED leds = 1;
|
||||
}
|
||||
|
||||
message LEDGroups {
|
||||
repeated LEDGroup led_groups = 1;
|
||||
}
|
||||
|
||||
message LEDPercentage {
|
||||
int32 led = 1;
|
||||
float percentage = 2;
|
||||
}
|
||||
|
||||
message LEDGroupColor {
|
||||
int32 group = 1;
|
||||
HSV color = 2;
|
||||
}
|
||||
|
||||
message LEDGroupPercentage {
|
||||
int32 group = 1;
|
||||
float perc = 2;
|
||||
}
|
Reference in New Issue
Block a user