-
Notifications
You must be signed in to change notification settings - Fork 0
/
command_schemas_pb2.py
104 lines (97 loc) · 13 KB
/
command_schemas_pb2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: command_schemas.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
import nanopb_pb2 as nanopb__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x63ommand_schemas.proto\x1a\x0cnanopb.proto\"\xcb\x01\n\x0bWireMessage\x12\x13\n\x08sequence\x18\x01 \x02(\x05:\x01\x30\x12(\n\x0e\x63ommand_params\x18\x02 \x01(\x0b\x32\x0e.CommandParamsH\x00\x12\x1e\n\ttime_sync\x18\x03 \x01(\x0b\x32\t.TimeSyncH\x00\x12(\n\x0ejoystick_event\x18\x04 \x01(\x0b\x32\x0e.JoystickEventH\x00\x12(\n\x0etarget_metrics\x18\x05 \x01(\x0b\x32\x0e.TargetMetricsH\x00\x42\t\n\x07message\"\x8c\x07\n\rCommandParams\x12\r\n\x05index\x18\x01 \x02(\x05\x12\x15\n\x07\x65nabled\x18\x02 \x02(\x08:\x04true\x12\x17\n\nbrightness\x18\x03 \x02(\x05:\x03\x32\x35\x35\x12\x16\n\x0bstrip_index\x18\x04 \x02(\x05:\x01\x30\x12-\n\rcolor_palette\x18\x05 \x02(\x0e\x32\r.ColorPalette:\x07RAINBOW\x12#\n\tmodifiers\x18\x06 \x03(\x0b\x32\t.ModifierB\x05\x92?\x02\x10\x05\x12\x13\n\x04hash\x18\x64 \x01(\x0c\x42\x05\x92?\x02\x08\x04\x12\x17\n\x05white\x18\x07 \x01(\x0b\x32\x06.WhiteH\x00\x12$\n\x0csingle_color\x18\x08 \x01(\x0b\x32\x0c.SingleColorH\x00\x12\x17\n\x05pixel\x18\t \x01(\x0b\x32\x06.PixelH\x00\x12\x1e\n\tpixel_rgb\x18\n \x01(\x0b\x32\t.PixelRGBH\x00\x12\x1b\n\x07rainbow\x18\x0b \x01(\x0b\x32\x08.RainbowH\x00\x12\x1b\n\x07sparkle\x18\x0c \x01(\x0b\x32\x08.SparkleH\x00\x12*\n\x0f\x66licker_sparkle\x18\r \x01(\x0b\x32\x0f.FlickerSparkleH\x00\x12\x1e\n\tping_pong\x18\x0e \x01(\x0b\x32\t.PingPongH\x00\x12\x19\n\x06render\x18\x0f \x01(\x0b\x32\x07.RenderH\x00\x12\x15\n\x04rain\x18\x10 \x01(\x0b\x32\x05.RainH\x00\x12\x1b\n\x07gravity\x18\x11 \x01(\x0b\x32\x08.GravityH\x00\x12%\n\x0ckaleidoscope\x18\x12 \x01(\x0b\x32\r.KaleidoscopeH\x00\x12$\n\x0cmapped_shape\x18\x13 \x01(\x0b\x32\x0c.MappedShapeH\x00\x12$\n\x0cmapped_slope\x18\x14 \x01(\x0b\x32\x0c.MappedSlopeH\x00\x12*\n\x0fmapped_triangle\x18\x15 \x01(\x0b\x32\x0f.MappedTriangleH\x00\x12,\n\x10mapped_particles\x18\x16 \x01(\x0b\x32\x10.MappedParticlesH\x00\x12+\n\x10mapped_ping_pong\x18\x17 \x01(\x0b\x32\x0f.MappedPingPongH\x00\x12\x17\n\x05twang\x18\x18 \x01(\x0b\x32\x06.TwangH\x00\x12\"\n\x0b\x66\x61iry_light\x18\x19 \x01(\x0b\x32\x0b.FairyLightH\x00\x12(\n\x0e\x62\x65\x61t_equalizer\x18\x1a \x01(\x0b\x32\x0e.BeatEqualizerH\x00\x42\r\n\x0btype_params\"\x1a\n\x08TimeSync\x12\x0e\n\x06millis\x18\x01 \x02(\x04\"\xa3\x01\n\x08Modifier\x12*\n\rmovement_type\x18\x01 \x02(\x0e\x32\r.MovementType:\x04SINE\x12\x16\n\x0b\x66ield_index\x18\x02 \x02(\x05:\x01\x30\x12\x18\n\x0cperiod_100ms\x18\x03 \x02(\x05:\x02\x35\x30\x12\x17\n\x0coffset_100ms\x18\x04 \x02(\x05:\x01\x30\x12\x0e\n\x03min\x18\x05 \x02(\x05:\x01\x30\x12\x10\n\x03max\x18\x06 \x02(\x05:\x03\x32\x35\x35\"%\n\x05White\x12\x1c\n\x11\x63olor_temperature\x18\x01 \x02(\x05:\x01\x30\"!\n\x0bSingleColor\x12\x12\n\x05\x63olor\x18\x01 \x02(\x05:\x03\x32\x32\x36\"/\n\x05Pixel\x12\x10\n\x05\x63olor\x18\x01 \x02(\x05:\x01\x30\x12\x14\n\tled_index\x18\x02 \x02(\x05:\x01\x30\"Y\n\x08PixelRGB\x12\x10\n\x03red\x18\x01 \x02(\x05:\x03\x31\x33\x30\x12\x12\n\x05green\x18\x02 \x02(\x05:\x03\x31\x33\x30\x12\x11\n\x04\x62lue\x18\x03 \x02(\x05:\x03\x31\x33\x30\x12\x14\n\tled_index\x18\x04 \x02(\x05:\x01\x30\"O\n\x07Rainbow\x12\x11\n\x05speed\x18\x01 \x02(\x05:\x02\x33\x30\x12\x16\n\twave_size\x18\x02 \x02(\x05:\x03\x31\x30\x30\x12\x19\n\x0crainbow_size\x18\x03 \x02(\x05:\x03\x31\x35\x32\"f\n\x07Sparkle\x12\x10\n\x05\x63olor\x18\x01 \x02(\x05:\x01\x30\x12\x19\n\rsparkle_width\x18\x02 \x02(\x05:\x02\x31\x35\x12\x17\n\x0bsparle_rate\x18\x03 \x02(\x05:\x02\x31\x30\x12\x15\n\x08\x64uration\x18\x04 \x02(\x05:\x03\x31\x30\x30\"\xc6\x01\n\x0e\x46lickerSparkle\x12\x12\n\x05\x63olor\x18\x01 \x02(\x05:\x03\x32\x35\x35\x12\x19\n\rsparkle_width\x18\x02 \x02(\x05:\x02\x39\x30\x12\x1f\n\x12sparles_per_second\x18\x03 \x02(\x05:\x03\x32\x31\x35\x12\x13\n\x08\x64uration\x18\x04 \x02(\x05:\x01\x38\x12\x18\n\rflicker_delay\x18\x05 \x02(\x05:\x01\x37\x12\x1b\n\x0e\x66licker_window\x18\x06 \x02(\x05:\x03\x31\x31\x39\x12\x18\n\x0cmax_flickers\x18\x07 \x02(\x05:\x02\x38\x30\"\xaa\x01\n\x08PingPong\x12\x1d\n\x05shape\x18\x01 \x02(\x0e\x32\x08.Shape1D:\x04\x42\x41LL\x12%\n\x08movement\x18\x02 \x02(\x0e\x32\r.MovementType:\x04SINE\x12\x11\n\x05\x63olor\x18\x03 \x02(\x05:\x02\x36\x35\x12\x11\n\x05width\x18\x04 \x02(\x05:\x02\x32\x30\x12\x17\n\x05\x63ount\x18\x05 \x02(\x05:\x01\x31\x42\x05\x92?\x02\x08\x14\x12\x19\n\x0cperiod_100ms\x18\x06 \x02(\x05:\x03\x31\x30\x30\"m\n\x06Render\x12\x1d\n\x05shape\x18\x01 \x02(\x0e\x32\x08.Shape1D:\x04\x42\x41LL\x12\x12\n\x05\x63olor\x18\x02 \x02(\x05:\x03\x32\x31\x30\x12\x1d\n\x08position\x18\x03 \x02(\x05:\x02\x32\x30\x42\x07\x92?\x04\x08\xff\xff\x03\x12\x11\n\x05width\x18\x04 \x02(\x05:\x02\x32\x30\"]\n\x04Rain\x12\x10\n\x05\x63olor\x18\x01 \x02(\x05:\x01\x30\x12\x11\n\x05width\x18\x02 \x02(\x05:\x02\x31\x35\x12\x18\n\x0c\x64rop_density\x18\x03 \x02(\x05:\x02\x39\x30\x12\x16\n\ndrop_speed\x18\x04 \x02(\x05:\x02\x39\x30\"^\n\x07Gravity\x12\x11\n\x05\x63olor\x18\x01 \x02(\x05:\x02\x31\x33\x12\x17\n\x0claunch_speed\x18\x02 \x02(\x05:\x01\x30\x12\x14\n\tball_rate\x18\x03 \x02(\x05:\x01\x35\x12\x11\n\x05width\x18\x04 \x02(\x05:\x02\x37\x30\"\x0e\n\x0cKaleidoscope\"\x9f\x01\n\x0bMappedSlope\x12\x10\n\x05\x63olor\x18\x01 \x02(\x05:\x01\x31\x12$\n\nslope_type\x18\x02 \x02(\x0e\x32\n.SlopeType:\x04\x46ILL\x12\r\n\x02x1\x18\x03 \x02(\x05:\x01\x30\x12\r\n\x02y1\x18\x04 \x02(\x05:\x01\x30\x12\x0f\n\x02x2\x18\x05 \x02(\x05:\x03\x32\x35\x35\x12\x0f\n\x02y2\x18\x06 \x02(\x05:\x03\x32\x35\x35\x12\x18\n\rfade_distance\x18\x07 \x02(\x05:\x01\x35\"\x8d\x01\n\x0bMappedShape\x12\x10\n\x05\x63olor\x18\x01 \x02(\x05:\x01\x31\x12\x1f\n\x05shape\x18\x02 \x02(\x0e\x32\x08.Shape2D:\x06SQUARE\x12\x0e\n\x01x\x18\x03 \x02(\x05:\x03\x31\x32\x38\x12\x0e\n\x01y\x18\x04 \x02(\x05:\x03\x31\x32\x38\x12\x10\n\x04size\x18\x05 \x02(\x05:\x02\x35\x30\x12\x19\n\rfade_distance\x18\x06 \x02(\x05:\x02\x35\x30\"\x82\x01\n\x0eMappedTriangle\x12\x10\n\x05\x63olor\x18\x01 \x02(\x05:\x01\x31\x12\r\n\x02x1\x18\x02 \x02(\x05:\x01\x30\x12\r\n\x02y1\x18\x03 \x02(\x05:\x01\x30\x12\x0f\n\x02x2\x18\x04 \x02(\x05:\x03\x32\x35\x35\x12\r\n\x02y2\x18\x05 \x02(\x05:\x01\x30\x12\x0f\n\x02x3\x18\x06 \x02(\x05:\x03\x31\x32\x38\x12\x0f\n\x02y3\x18\x07 \x02(\x05:\x03\x32\x35\x35\"\x93\x01\n\x0fMappedParticles\x12\x12\n\x05\x63olor\x18\x01 \x02(\x05:\x03\x31\x37\x37\x12\x1f\n\x05shape\x18\x02 \x02(\x0e\x32\x08.Shape2D:\x06\x43IRCLE\x12\x0e\n\x01x\x18\x03 \x02(\x05:\x03\x31\x32\x38\x12\x0e\n\x01y\x18\x04 \x02(\x05:\x03\x31\x32\x38\x12\x10\n\x04size\x18\x05 \x02(\x05:\x02\x35\x30\x12\x19\n\rfade_distance\x18\x06 \x02(\x05:\x02\x35\x30\"T\n\x0eMappedPingPong\x12\x12\n\x05\x63olor\x18\x01 \x02(\x05:\x03\x31\x32\x33\x12\x14\n\tdirection\x18\x02 \x02(\x05:\x01\x30\x12\x18\n\rfade_distance\x18\x03 \x02(\x05:\x01\x35\":\n\rBeatEqualizer\x12\x11\n\x05\x63olor\x18\x01 \x02(\x05:\x02\x32\x33\x12\x16\n\x04\x62\x61nd\x18\x02 \x02(\x05:\x01\x30\x42\x05\x92?\x02\x08\x06\"\x07\n\x05Twang\"k\n\nFairyLight\x12.\n\rfairy_pattern\x18\x01 \x02(\x0e\x32\r.FairyPattern:\x08ODD_EVEN\x12\x15\n\tfrequency\x18\x02 \x02(\x05:\x02\x32\x30\x12\x16\n\x0b\x66\x61iry_index\x18\x03 \x02(\x05:\x01\x30\"\x8b\x01\n\rJoystickEvent\x12\x0c\n\x01x\x18\x01 \x02(\x05:\x01\x30\x12\x0c\n\x01y\x18\x02 \x02(\x05:\x01\x30\x12\x16\n\x07\x62utton1\x18\x03 \x02(\x08:\x05\x66\x61lse\x12\x16\n\x07\x62utton2\x18\x04 \x02(\x08:\x05\x66\x61lse\x12\x16\n\x07\x62utton3\x18\x05 \x02(\x08:\x05\x66\x61lse\x12\x16\n\x07\x62utton4\x18\x06 \x02(\x08:\x05\x66\x61lse\"|\n\rTargetMetrics\x12\x13\n\x04name\x18\x01 \x02(\tB\x05\x92?\x02p\x14\x12\x0b\n\x03\x66ps\x18\x02 \x02(\x05\x12\x15\n\rwifi_strength\x18\x03 \x02(\x05\x12\x16\n\x07version\x18\x04 \x02(\tB\x05\x92?\x02p\x14\x12\x1a\n\x06hashes\x18\x05 \x03(\x0c\x42\n\x92?\x02\x08\x04\x92?\x02\x10\x08*\x9e\x01\n\x0c\x43olorPalette\x12\x0b\n\x07RAINBOW\x10\x00\x12\n\n\x06\x46OREST\x10\x01\x12\t\n\x05OCEAN\x10\x02\x12\t\n\x05PARTY\x10\x03\x12\n\n\x06SCOUTY\x10\x07\x12\r\n\tRIVENDELL\x10\x0e\x12\x0f\n\x0bORANGE_TEAL\x10,\x12\x0c\n\x08ORANGERY\x10/\x12\n\n\x06SAKURA\x10\x31\x12\n\n\x06\x41URORA\x10\x32\x12\r\n\tATLANTICA\x10\x33*V\n\x07Shape1D\x12\x08\n\x04\x42\x41LL\x10\x00\x12\t\n\x05\x43OMET\x10\x01\x12\x10\n\x0c\x43OMET_BOUNCE\x10\x02\x12\x08\n\x04NYAN\x10\x03\x12\x0f\n\x0bNYAN_BOUNCE\x10\x04\x12\t\n\x05SOLID\x10\x05*+\n\x07Shape2D\x12\n\n\x06SQUARE\x10\x00\x12\n\n\x06\x43IRCLE\x10\x01\x12\x08\n\x04RING\x10\x02*\x85\x02\n\x0cMovementType\x12\n\n\x06LINEAR\x10\x00\x12\x08\n\x04SINE\x10\x01\x12\r\n\tQUADRATIC\x10\x02\x12\x0c\n\x08SAWTOOTH\x10\x04\x12\x14\n\x10SAWTOOTH_REVERSE\x10\x05\x12\n\n\x06RANDOM\x10\x06\x12\x16\n\x12RANDOM_TRANSITIONS\x10\x07\x12\x0b\n\x07\x42\x45\x41TS_1\x10\t\x12\x0b\n\x07\x42\x45\x41TS_2\x10\n\x12\x0b\n\x07\x42\x45\x41TS_3\x10\x0b\x12\x0b\n\x07\x42\x45\x41TS_4\x10\x0c\x12\x0b\n\x07\x42\x45\x41TS_5\x10\r\x12\x0b\n\x07\x42\x45\x41TS_6\x10\x0e\x12\x0b\n\x07\x42\x45\x41TS_7\x10\x0f\x12\r\n\tBEATS_ALL\x10\x10\x12\x0e\n\nJOYSTICK_X\x10\x11\x12\x0e\n\nJOYSTICK_Y\x10\x12*0\n\tSlopeType\x12\x08\n\x04LINE\x10\x00\x12\x08\n\x04\x46ILL\x10\x01\x12\x0f\n\x0b\x43OLOR_SHIFT\x10\x02*.\n\x0c\x46\x61iryPattern\x12\x0c\n\x08ODD_EVEN\x10\x00\x12\x10\n\x0cODD_EVEN_ALL\x10\x01')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'command_schemas_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_COMMANDPARAMS.fields_by_name['modifiers']._options = None
_COMMANDPARAMS.fields_by_name['modifiers']._serialized_options = b'\222?\002\020\005'
_COMMANDPARAMS.fields_by_name['hash']._options = None
_COMMANDPARAMS.fields_by_name['hash']._serialized_options = b'\222?\002\010\004'
_PINGPONG.fields_by_name['count']._options = None
_PINGPONG.fields_by_name['count']._serialized_options = b'\222?\002\010\024'
_RENDER.fields_by_name['position']._options = None
_RENDER.fields_by_name['position']._serialized_options = b'\222?\004\010\377\377\003'
_BEATEQUALIZER.fields_by_name['band']._options = None
_BEATEQUALIZER.fields_by_name['band']._serialized_options = b'\222?\002\010\006'
_TARGETMETRICS.fields_by_name['name']._options = None
_TARGETMETRICS.fields_by_name['name']._serialized_options = b'\222?\002p\024'
_TARGETMETRICS.fields_by_name['version']._options = None
_TARGETMETRICS.fields_by_name['version']._serialized_options = b'\222?\002p\024'
_TARGETMETRICS.fields_by_name['hashes']._options = None
_TARGETMETRICS.fields_by_name['hashes']._serialized_options = b'\222?\002\010\004\222?\002\020\010'
_COLORPALETTE._serialized_start=3563
_COLORPALETTE._serialized_end=3721
_SHAPE1D._serialized_start=3723
_SHAPE1D._serialized_end=3809
_SHAPE2D._serialized_start=3811
_SHAPE2D._serialized_end=3854
_MOVEMENTTYPE._serialized_start=3857
_MOVEMENTTYPE._serialized_end=4118
_SLOPETYPE._serialized_start=4120
_SLOPETYPE._serialized_end=4168
_FAIRYPATTERN._serialized_start=4170
_FAIRYPATTERN._serialized_end=4216
_WIREMESSAGE._serialized_start=40
_WIREMESSAGE._serialized_end=243
_COMMANDPARAMS._serialized_start=246
_COMMANDPARAMS._serialized_end=1154
_TIMESYNC._serialized_start=1156
_TIMESYNC._serialized_end=1182
_MODIFIER._serialized_start=1185
_MODIFIER._serialized_end=1348
_WHITE._serialized_start=1350
_WHITE._serialized_end=1387
_SINGLECOLOR._serialized_start=1389
_SINGLECOLOR._serialized_end=1422
_PIXEL._serialized_start=1424
_PIXEL._serialized_end=1471
_PIXELRGB._serialized_start=1473
_PIXELRGB._serialized_end=1562
_RAINBOW._serialized_start=1564
_RAINBOW._serialized_end=1643
_SPARKLE._serialized_start=1645
_SPARKLE._serialized_end=1747
_FLICKERSPARKLE._serialized_start=1750
_FLICKERSPARKLE._serialized_end=1948
_PINGPONG._serialized_start=1951
_PINGPONG._serialized_end=2121
_RENDER._serialized_start=2123
_RENDER._serialized_end=2232
_RAIN._serialized_start=2234
_RAIN._serialized_end=2327
_GRAVITY._serialized_start=2329
_GRAVITY._serialized_end=2423
_KALEIDOSCOPE._serialized_start=2425
_KALEIDOSCOPE._serialized_end=2439
_MAPPEDSLOPE._serialized_start=2442
_MAPPEDSLOPE._serialized_end=2601
_MAPPEDSHAPE._serialized_start=2604
_MAPPEDSHAPE._serialized_end=2745
_MAPPEDTRIANGLE._serialized_start=2748
_MAPPEDTRIANGLE._serialized_end=2878
_MAPPEDPARTICLES._serialized_start=2881
_MAPPEDPARTICLES._serialized_end=3028
_MAPPEDPINGPONG._serialized_start=3030
_MAPPEDPINGPONG._serialized_end=3114
_BEATEQUALIZER._serialized_start=3116
_BEATEQUALIZER._serialized_end=3174
_TWANG._serialized_start=3176
_TWANG._serialized_end=3183
_FAIRYLIGHT._serialized_start=3185
_FAIRYLIGHT._serialized_end=3292
_JOYSTICKEVENT._serialized_start=3295
_JOYSTICKEVENT._serialized_end=3434
_TARGETMETRICS._serialized_start=3436
_TARGETMETRICS._serialized_end=3560
# @@protoc_insertion_point(module_scope)