gp2040ce-binary-tools/tests/test-files/pb2-files/config_pb2.py

116 lines
19 KiB
Python
Raw Permalink Normal View History

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: config.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
import enums_pb2 as enums__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x63onfig.proto\x1a\x0cnanopb.proto\x1a\x0b\x65nums.proto\"\xda\x01\n\x0eGamepadOptions\x12\x1d\n\tinputMode\x18\x01 \x01(\x0e\x32\n.InputMode\x12\x1b\n\x08\x64padMode\x18\x02 \x01(\x0e\x32\t.DpadMode\x12\x1b\n\x08socdMode\x18\x03 \x01(\x0e\x32\t.SOCDMode\x12\x13\n\x0binvertXAxis\x18\x04 \x01(\x08\x12\x13\n\x0binvertYAxis\x18\x05 \x01(\x08\x12\x1b\n\x13switchTpShareForDs4\x18\x06 \x01(\x08\x12\x13\n\x0blockHotkeys\x18\x07 \x01(\x08\x12\x13\n\x0b\x66ourWayMode\x18\x08 \x01(\x08\"\x8a\x03\n\x0fKeyboardMapping\x12\x11\n\tkeyDpadUp\x18\x01 \x01(\r\x12\x13\n\x0bkeyDpadDown\x18\x02 \x01(\r\x12\x13\n\x0bkeyDpadLeft\x18\x03 \x01(\r\x12\x14\n\x0ckeyDpadRight\x18\x04 \x01(\r\x12\x13\n\x0bkeyButtonB1\x18\x05 \x01(\r\x12\x13\n\x0bkeyButtonB2\x18\x06 \x01(\r\x12\x13\n\x0bkeyButtonB3\x18\x07 \x01(\r\x12\x13\n\x0bkeyButtonB4\x18\x08 \x01(\r\x12\x13\n\x0bkeyButtonL1\x18\t \x01(\r\x12\x13\n\x0bkeyButtonR1\x18\n \x01(\r\x12\x13\n\x0bkeyButtonL2\x18\x0b \x01(\r\x12\x13\n\x0bkeyButtonR2\x18\x0c \x01(\r\x12\x13\n\x0bkeyButtonS1\x18\r \x01(\r\x12\x13\n\x0bkeyButtonS2\x18\x0e \x01(\r\x12\x13\n\x0bkeyButtonL3\x18\x0f \x01(\r\x12\x13\n\x0bkeyButtonR3\x18\x10 \x01(\r\x12\x13\n\x0bkeyButtonA1\x18\x11 \x01(\r\x12\x13\n\x0bkeyButtonA2\x18\x12 \x01(\r\"?\n\x0bHotkeyEntry\x12\x10\n\x08\x64padMask\x18\x01 \x01(\r\x12\x1e\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x0e.GamepadHotkey\"\xad\x02\n\rHotkeyOptions\x12 \n\nhotkeyF1Up\x18\x01 \x01(\x0b\x32\x0c.HotkeyEntry\x12\"\n\x0chotkeyF1Down\x18\x02 \x01(\x0b\x32\x0c.HotkeyEntry\x12\"\n\x0chotkeyF1Left\x18\x03 \x01(\x0b\x32\x0c.HotkeyEntry\x12#\n\rhotkeyF1Right\x18\x04 \x01(\x0b\x32\x0c.HotkeyEntry\x12 \n\nhotkeyF2Up\x18\x05 \x01(\x0b\x32\x0c.HotkeyEntry\x12\"\n\x0chotkeyF2Down\x18\x06 \x01(\x0b\x32\x0c.HotkeyEntry\x12\"\n\x0chotkeyF2Left\x18\x07 \x01(\x0b\x32\x0c.HotkeyEntry\x12#\n\rhotkeyF2Right\x18\x08 \x01(\x0b\x32\x0c.HotkeyEntry\"4\n\x12\x46orcedSetupOptions\x12\x1e\n\x04mode\x18\x01 \x01(\x0e\x32\x10.ForcedSetupMode\"g\n\x18\x42uttonLayoutParamsCommon\x12\x0e\n\x06startX\x18\x01 \x01(\x05\x12\x0e\n\x06startY\x18\x02 \x01(\x05\x12\x14\n\x0c\x62uttonRadius\x18\x03 \x01(\x05\x12\x15\n\rbuttonPadding\x18\x04 \x01(\x05\"b\n\x16\x42uttonLayoutParamsLeft\x12\x1d\n\x06layout\x18\x01 \x01(\x0e\x32\r.ButtonLayout\x12)\n\x06\x63ommon\x18\x02 \x01(\x0b\x32\x19.ButtonLayoutParamsCommon\"h\n\x17\x42uttonLayoutParamsRight\x12\"\n\x06layout\x18\x01 \x01(\x0e\x32\x12.ButtonLayoutRight\x12)\n\x06\x63ommon\x18\x02 \x01(\x0b\x32\x19.ButtonLayoutParamsCommon\"w\n\x19\x42uttonLayoutCustomOptions\x12+\n\nparamsLeft\x18\x01 \x01(\x0b\x32\x17.ButtonLayoutParamsLeft\x12-\n\x0bparamsRight\x18\x02 \x01(\x0b\x32\x18.ButtonLayoutParamsRight\"\x86\x03\n\x0bPinMappings\x12\x11\n\tpinDpadUp\x18\x01 \x01(\x05\x12\x13\n\x0bpinDpadDown\x18\x02 \x01(\x05\x12\x13\n\x0bpinDpadLeft\x18\x03 \x01(\x05\x12\x14\n\x0cpinDpadRight\x18\x04 \x01(\x05\x12\x13\n\x0bpinButtonB1\x18\x05 \x01(\x05\x12\x13\n\x0bpinButtonB2\x18\x06 \x01(\x05\x12\x13\n\x0bpinButtonB3\x18\x07 \x01(\x05\x12\x13\n\x0bpinButtonB4\x18\x08 \x01(\x05\x12\x13\n\x0bpinButtonL1\x18\t \x01(\x05\x12\x13\n\x0bpinButtonR1\x18\n \x01(\x05\x12\x13\n\x0bpinButtonL2\x18\x0b \x01(\x05\x12\x13\n\x0bpinButtonR2\x18\x0c \x01(\x05\x12\x13\n\x0bpinButtonS1\x18\r \x01(\x05\x12\x13\n\x0bpinButtonS2\x18\x0e \x01(\x05\x12\x13\n\x0bpinButtonL3\x18\x0f \x01(\x05\x12\x13\n\x0bpinButtonR3\x18\x10 \x01(\x05\x12\x13\n\x0bpinButtonA1\x18\x11 \x01(\x05\x12\x13\n\x0bpinButtonA2\x18\x12 \x01(\x05\"\xd6\x03\n\x0e\x44isplayOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08i2cBlock\x18\x02 \x01(\x05\x12\x11\n\ti2cSDAPin\x18\x03 \x01(\x05\x12\x11\n\ti2cSCLPin\x18\x04 \x01(\x05\x12\x12\n\ni2cAddress\x18\x05 \x01(\x05\x12\x10\n\x08i2cSpeed\x18\x06 \x01(\x05\x12#\n\x0c\x62uttonLayout\x18\x07 \x01(\x0e\x32\r.ButtonLayout\x12-\n\x11\x62uttonLayoutRight\x18\x08 \x01(\x0e\x32\x12.ButtonLayoutRight\x12=\n\x19\x62uttonLayoutCustomOptions\x18\t \x01(\x0b\x32\x1a.ButtonLayoutCustomOptions\x12\x1f\n\nsplashMode\x18\n \x01(\x0e\x32\x0b.SplashMode\x12
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'config_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_DISPLAYOPTIONS.fields_by_name['splashImage']._options = None
_DISPLAYOPTIONS.fields_by_name['splashImage']._serialized_options = b'\222?\003\010\200\010'
_PS4OPTIONS.fields_by_name['serial']._options = None
_PS4OPTIONS.fields_by_name['serial']._serialized_options = b'\222?\002\010\020'
_PS4OPTIONS.fields_by_name['signature']._options = None
_PS4OPTIONS.fields_by_name['signature']._serialized_options = b'\222?\003\010\200\002'
_PS4OPTIONS.fields_by_name['rsaN']._options = None
_PS4OPTIONS.fields_by_name['rsaN']._serialized_options = b'\222?\003\010\200\002'
_PS4OPTIONS.fields_by_name['rsaE']._options = None
_PS4OPTIONS.fields_by_name['rsaE']._serialized_options = b'\222?\002\010\004'
_PS4OPTIONS.fields_by_name['rsaD']._options = None
_PS4OPTIONS.fields_by_name['rsaD']._serialized_options = b'\222?\003\010\200\002'
_PS4OPTIONS.fields_by_name['rsaP']._options = None
_PS4OPTIONS.fields_by_name['rsaP']._serialized_options = b'\222?\003\010\200\001'
_PS4OPTIONS.fields_by_name['rsaQ']._options = None
_PS4OPTIONS.fields_by_name['rsaQ']._serialized_options = b'\222?\003\010\200\001'
_PS4OPTIONS.fields_by_name['rsaDP']._options = None
_PS4OPTIONS.fields_by_name['rsaDP']._serialized_options = b'\222?\003\010\200\001'
_PS4OPTIONS.fields_by_name['rsaDQ']._options = None
_PS4OPTIONS.fields_by_name['rsaDQ']._serialized_options = b'\222?\003\010\200\001'
_PS4OPTIONS.fields_by_name['rsaQP']._options = None
_PS4OPTIONS.fields_by_name['rsaQP']._serialized_options = b'\222?\003\010\200\001'
_PS4OPTIONS.fields_by_name['rsaRN']._options = None
_PS4OPTIONS.fields_by_name['rsaRN']._serialized_options = b'\222?\003\010\200\002'
_ADDONOPTIONS.fields_by_name['ps4Options']._options = None
_ADDONOPTIONS.fields_by_name['ps4Options']._serialized_options = b'\222?\003\360\001\001'
_CONFIG.fields_by_name['boardVersion']._options = None
_CONFIG.fields_by_name['boardVersion']._serialized_options = b'\222?\002p\037'
_GAMEPADOPTIONS._serialized_start=44
_GAMEPADOPTIONS._serialized_end=262
_KEYBOARDMAPPING._serialized_start=265
_KEYBOARDMAPPING._serialized_end=659
_HOTKEYENTRY._serialized_start=661
_HOTKEYENTRY._serialized_end=724
_HOTKEYOPTIONS._serialized_start=727
_HOTKEYOPTIONS._serialized_end=1028
_FORCEDSETUPOPTIONS._serialized_start=1030
_FORCEDSETUPOPTIONS._serialized_end=1082
_BUTTONLAYOUTPARAMSCOMMON._serialized_start=1084
_BUTTONLAYOUTPARAMSCOMMON._serialized_end=1187
_BUTTONLAYOUTPARAMSLEFT._serialized_start=1189
_BUTTONLAYOUTPARAMSLEFT._serialized_end=1287
_BUTTONLAYOUTPARAMSRIGHT._serialized_start=1289
_BUTTONLAYOUTPARAMSRIGHT._serialized_end=1393
_BUTTONLAYOUTCUSTOMOPTIONS._serialized_start=1395
_BUTTONLAYOUTCUSTOMOPTIONS._serialized_end=1514
_PINMAPPINGS._serialized_start=1517
_PINMAPPINGS._serialized_end=1907
_DISPLAYOPTIONS._serialized_start=1910
_DISPLAYOPTIONS._serialized_end=2380
_LEDOPTIONS._serialized_start=2383
_LEDOPTIONS._serialized_end=2991
_ANIMATIONOPTIONS_PROTO._serialized_start=2994
_ANIMATIONOPTIONS_PROTO._serialized_end=4180
_BOOTSELBUTTONOPTIONS._serialized_start=4182
_BOOTSELBUTTONOPTIONS._serialized_end=4240
_ONBOARDLEDOPTIONS._serialized_start=4242
_ONBOARDLEDOPTIONS._serialized_end=4309
_ANALOGOPTIONS._serialized_start=4312
_ANALOGOPTIONS._serialized_end=4443
_TURBOOPTIONS._serialized_start=4446
_TURBOOPTIONS._serialized_end=4892
_SLIDEROPTIONS._serialized_start=4894
_SLIDEROPTIONS._serialized_end=4956
_SOCDSLIDEROPTIONS._serialized_start=4959
_SOCDSLIDEROPTIONS._serialized_end=5115
_REVERSEOPTIONS._serialized_start=5118
_REVERSEOPTIONS._serialized_end=5265
_ANALOGADS1219OPTIONS._serialized_start=5268
_ANALOGADS1219OPTIONS._serialized_end=5401
_DUALDIRECTIONALOPTIONS._serialized_start=5404
_DUALDIRECTIONALOPTIONS._serialized_end=5583
_BUZZEROPTIONS._serialized_start=5585
_BUZZEROPTIONS._serialized_end=5646
_EXTRABUTTONOPTIONS._serialized_start=5648
_EXTRABUTTONOPTIONS._serialized_end=5717
_PLAYERNUMBEROPTIONS._serialized_start=5719
_PLAYERNUMBEROPTIONS._serialized_end=5773
_PS4OPTIONS._serialized_start=5776
_PS4OPTIONS._serialized_end=6056
_WIIOPTIONS._serialized_start=6058
_WIIOPTIONS._serialized_end=6161
_SNESOPTIONS._serialized_start=6163
_SNESOPTIONS._serialized_end=6246
_FOCUSMODEOPTIONS._serialized_start=6249
_FOCUSMODEOPTIONS._serialized_end=6397
_ADDONOPTIONS._serialized_start=6400
_ADDONOPTIONS._serialized_end=7120
_CONFIG._serialized_start=7123
_CONFIG._serialized_end=7529
# @@protoc_insertion_point(module_scope)