diff --git a/.reuse/dep5 b/.reuse/dep5 index b17da1c..e278c20 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -19,7 +19,7 @@ Copyright: © 2023 Brian S. Stephan License: GPL-3.0-or-later # Test data (GP2040-CE-derived) -Files: tests/test-files/pb2-files/* tests/test-files/proto-files/* +Files: tests/test-files/proto-files/* Copyright: (c) 2024 OpenStickCommunity (gp2040-ce.info) License: MIT diff --git a/README.md b/README.md index 22382c1..2a45c8d 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ over USB. All tools take `-P PATH` flag(s) in order to import Protobuf files (either precompiled Python files or raw .proto files) if you have them locally, in order to work with the latest (or development) version of the configuration. That said, -this tool also includes a precompiled fallback version of the config structure if you cannot supply these files. Be -aware, however, that they are a point in time snapshot, and may lag the real format in undesirable ways. Supply the -latest Protobuf files if you can. +this tool also includes a copy of the config files if you cannot supply these files, and will attempt to compile those +as a fallback. Be aware, however, that they are a point in time snapshot, and may lag the real format in undesirable +ways. Supply the latest Protobuf files if you can. An example of this invocation is: diff --git a/gp2040ce_bintools/__init__.py b/gp2040ce_bintools/__init__.py index d0930ec..1106bca 100644 --- a/gp2040ce_bintools/__init__.py +++ b/gp2040ce_bintools/__init__.py @@ -64,8 +64,7 @@ def get_config_pb2(): return grpc.protos('config.proto') except (ModuleNotFoundError, TypeError): # (TypeError could be the windows bug https://github.com/protocolbuffers/protobuf/issues/14345) - # that failed, import a precompiled snapshot (may be lagging what's in GP2040-CE) - logger.exception("couldn't compile the proto files for the below reason:") + # that failed, import the snapshot (may be lagging what's in GP2040-CE) + logger.warning("using the fallback .proto files! please supply your files with -P if you can!") sys.path.append(os.path.join(pathlib.Path(__file__).parent.resolve(), 'proto_snapshot')) - logger.warning("using the precompiled fallback!") - return importlib.import_module('config_pb2') + return grpc.protos('config.proto') diff --git a/gp2040ce_bintools/proto_snapshot/__init__.py b/gp2040ce_bintools/proto_snapshot/__init__.py deleted file mode 100644 index 9a1fb1b..0000000 --- a/gp2040ce_bintools/proto_snapshot/__init__.py +++ /dev/null @@ -1,9 +0,0 @@ -"""COPIED OUTPUT OF `protoc foo.proto --python_out .`. - -The .proto files here have been copied from https://github.com/OpenStickCommunity/GP2040-CE and -are a point in time import of the GP2040-CE firmware's configuration structure. THEY MAY BE OUT -OF DATE. If you are a developer, you should really use the `-P` flags to import your local copy -of the .proto files. -""" - -GP2040CE_SNAPSHOT_VERSION = 'v0.7.7' diff --git a/gp2040ce_bintools/proto_snapshot/config.proto b/gp2040ce_bintools/proto_snapshot/config.proto index 1dfd2e6..af78fe7 100644 --- a/gp2040ce_bintools/proto_snapshot/config.proto +++ b/gp2040ce_bintools/proto_snapshot/config.proto @@ -28,6 +28,7 @@ message GamepadOptions optional InputModeAuthType ps4AuthType = 21; optional InputModeAuthType ps5AuthType = 22; optional InputModeAuthType xinputAuthType = 23; + optional PS4ControllerIDMode ps4ControllerIDMode = 24; } message KeyboardMapping @@ -50,6 +51,21 @@ message KeyboardMapping optional uint32 keyButtonR3 = 16; optional uint32 keyButtonA1 = 17; optional uint32 keyButtonA2 = 18; + optional uint32 keyButtonA3 = 19; + optional uint32 keyButtonA4 = 20; + optional uint32 keyButtonE1 = 21; + optional uint32 keyButtonE2 = 22; + optional uint32 keyButtonE3 = 23; + optional uint32 keyButtonE4 = 24; + optional uint32 keyButtonE5 = 25; + optional uint32 keyButtonE6 = 26; + optional uint32 keyButtonE7 = 27; + optional uint32 keyButtonE8 = 28; + optional uint32 keyButtonE9 = 29; + optional uint32 keyButtonE10 = 30; + optional uint32 keyButtonE11 = 31; + optional uint32 keyButtonE12 = 32; + } message HotkeyEntry @@ -169,11 +185,15 @@ message GpioMappingInfo { optional GpioAction action = 1; optional GpioDirection direction = 2; + optional uint32 customDpadMask = 3; + optional uint32 customButtonMask = 4; } message GpioMappings { repeated GpioMappingInfo pins = 1 [(nanopb).max_count = 30]; + optional string profileLabel = 2 [(nanopb).max_length = 16]; + optional bool enabled = 3 [default = false]; } @@ -204,25 +224,25 @@ message DisplayOptions { optional bool enabled = 1; - optional int32 i2cBlock = 2; + optional int32 deprecatedI2cBlock = 2 [deprecated = true]; optional int32 deprecatedI2cSDAPin = 3 [deprecated = true]; optional int32 deprecatedI2cSCLPin = 4 [deprecated = true]; - optional int32 i2cAddress = 5; + optional int32 deprecatedI2cAddress = 5 [deprecated = true]; optional int32 deprecatedI2cSpeed = 6 [deprecated = true]; - + optional ButtonLayout buttonLayout = 7; optional ButtonLayoutRight buttonLayoutRight = 8; optional ButtonLayoutCustomOptions buttonLayoutCustomOptions = 9; - + optional SplashMode splashMode = 10; optional SplashChoice splashChoice = 11; optional int32 splashDuration = 12; optional bytes splashImage = 13 [(nanopb).max_size = 1024]; - + optional int32 size = 14; optional int32 flip = 15; optional bool invert = 16; - + optional int32 displaySaverTimeout = 17; optional bool turnOffWhenSuspended = 18; } @@ -235,7 +255,7 @@ message LEDOptions optional uint32 ledsPerButton = 4; optional uint32 brightnessMaximum = 5; optional uint32 brightnessSteps = 6; - + optional int32 indexUp = 7; optional int32 indexDown = 8; optional int32 indexLeft = 9; @@ -254,7 +274,7 @@ message LEDOptions optional int32 indexR3 = 22; optional int32 indexA1 = 23; optional int32 indexA2 = 24; - + optional PLEDType pledType = 25; optional int32 pledPin1 = 26; optional int32 pledPin2 = 27; @@ -280,7 +300,7 @@ message AnimationOptions_Proto optional int32 chaseCycleTime = 5; optional int32 rainbowCycleTime = 6; optional uint32 themeIndex = 7; - + optional bool hasCustomTheme = 8; optional uint32 customThemeUp = 9; optional uint32 customThemeDown = 10; @@ -318,7 +338,7 @@ message AnimationOptions_Proto optional uint32 customThemeR3Pressed = 42; optional uint32 customThemeA1Pressed = 43; optional uint32 customThemeA2Pressed = 44; - optional uint32 buttonPressColorCooldownTimeInMs = 45; + optional uint32 buttonPressColorCooldownTimeInMs = 45; } message BootselButtonOptions @@ -336,7 +356,7 @@ message OnBoardLedOptions message AnalogOptions { optional bool enabled = 1; - + optional int32 analogAdc1PinX = 2; optional int32 analogAdc1PinY = 3; optional bool forced_circularity = 4; @@ -349,17 +369,20 @@ message AnalogOptions optional InvertMode analogAdc2Invert = 11; optional bool auto_calibrate = 12; optional uint32 outer_deadzone = 13; + optional bool analog_smoothing = 14; + optional float smoothing_factor = 15; + optional uint32 analog_error = 16; } message TurboOptions { optional bool enabled = 1; - + optional int32 deprecatedButtonPin = 2 [deprecated = true]; optional int32 ledPin = 3; optional uint32 shotCount = 4; optional int32 shmupDialPin = 5; - + optional bool shmupModeEnabled = 6; optional uint32 shmupAlwaysOn1 = 7; optional uint32 shmupAlwaysOn2 = 8; @@ -379,21 +402,21 @@ message TurboOptions message SliderOptions { optional bool enabled = 1; - + optional int32 deprecatedPinSliderOne = 2 [deprecated = true]; optional int32 deprecatedPinSliderTwo = 3 [deprecated = true]; optional DpadMode deprecatedModeOne = 4 [deprecated = true]; optional DpadMode deprecatedModeTwo = 5 [deprecated = true]; - optional DpadMode modeDefault = 6; + optional DpadMode deprecatedModeDefault = 6; } message SOCDSliderOptions { optional bool enabled = 1; - + optional int32 deprecatedPinOne = 2 [deprecated = true]; optional int32 deprecatedPinTwo = 3 [deprecated = true]; - + optional SOCDMode modeDefault = 4; optional SOCDMode deprecatedModeOne = 5 [deprecated = true]; optional SOCDMode deprecatedModeTwo = 6 [deprecated = true]; @@ -402,10 +425,10 @@ message SOCDSliderOptions message ReverseOptions { optional bool enabled = 1; - + optional int32 buttonPin = 2; optional int32 ledPin = 3; - + optional uint32 actionUp = 4; optional uint32 actionDown = 5; optional uint32 actionLeft = 6; @@ -416,10 +439,10 @@ message AnalogADS1219Options { optional bool enabled = 1; - optional int32 i2cBlock = 2; + optional int32 deprecatedI2cBlock = 2 [deprecated = true]; optional int32 deprecatedI2cSDAPin = 3 [deprecated = true]; optional int32 deprecatedI2cSCLPin = 4 [deprecated = true]; - optional int32 i2cAddress = 5; + optional int32 deprecatedI2cAddress = 5 [deprecated = true]; optional int32 deprecatedI2cSpeed = 6 [deprecated = true]; } @@ -437,12 +460,12 @@ message AnalogADS1256Options message DualDirectionalOptions { optional bool enabled = 1; - + optional int32 deprecatedUpPin = 2 [deprecated = true]; optional int32 deprecatedDownPin = 3 [deprecated = true]; optional int32 deprecatedLeftPin = 4 [deprecated = true]; optional int32 deprecatedRightPin = 5 [deprecated = true]; - + optional DpadMode dpadMode = 6; optional DualDirectionalCombinationMode combineMode = 7; optional bool fourWayMode = 8; @@ -465,7 +488,7 @@ message TiltOptions optional int32 tiltRightAnalogRightPin = 12; optional SOCDMode tiltSOCDMode = 13; - + optional int32 factorTilt1LeftX = 14; optional int32 factorTilt1LeftY = 15; optional int32 factorTilt1RightX = 16; @@ -479,7 +502,7 @@ message TiltOptions message BuzzerOptions { optional bool enabled = 1; - + optional int32 pin = 2; optional uint32 volume = 3; optional int32 enablePin = 4; @@ -488,7 +511,7 @@ message BuzzerOptions message ExtraButtonOptions { optional bool enabled = 1; - + optional int32 pin = 2; optional uint32 buttonMap = 3; } @@ -541,7 +564,7 @@ message WiiOptions optional AnalogAxis x = 1; optional AnalogAxis y = 2; } - + message NunchukOptions { optional int32 buttonC = 1; @@ -572,7 +595,7 @@ message WiiOptions optional AnalogAxis rightTrigger = 19; } - message TaikoOptions + message TaikoOptions { optional int32 buttonKatLeft = 1; optional int32 buttonKatRight = 2; @@ -638,7 +661,7 @@ message WiiOptions } optional bool enabled = 1; - optional int32 i2cBlock = 2; + optional int32 deprecatedI2cBlock = 2 [deprecated = true]; optional int32 deprecatedI2cSDAPin = 3 [deprecated = true]; optional int32 deprecatedI2cSCLPin = 4 [deprecated = true]; optional int32 deprecatedI2cSpeed = 5 [deprecated = true]; @@ -660,6 +683,9 @@ message KeyboardHostOptions optional int32 deprecatedPinDplus = 2 [deprecated = true]; optional KeyboardMapping mapping = 3; optional int32 deprecatedPin5V = 4 [deprecated = true]; + optional uint32 mouseLeft = 5; + optional uint32 mouseMiddle = 6; + optional uint32 mouseRight = 7; } message FocusModeOptions @@ -732,17 +758,43 @@ message RotaryOptions message PCF8575Options { optional bool enabled = 1; - optional int32 i2cBlock = 2; + optional int32 deprecatedI2cBlock = 2 [deprecated = true]; repeated GpioMappingInfo pins = 3 [(nanopb).max_count = 16]; } +message DRV8833RumbleOptions +{ + optional bool enabled = 1; + + optional int32 leftMotorPin = 2; + optional int32 rightMotorPin = 3; + optional int32 motorSleepPin = 4; + optional uint32 pwmFrequency = 5; + optional float dutyMin = 6; + optional float dutyMax = 7; +} + +message ReactiveLEDInfo +{ + optional int32 pin = 1; + optional GpioAction action = 2; + optional ReactiveLEDMode modeDown = 3; + optional ReactiveLEDMode modeUp = 4; +} + +message ReactiveLEDOptions +{ + optional bool enabled = 1; + repeated ReactiveLEDInfo leds = 2 [(nanopb).max_count = 10]; +} + message AddonOptions { optional BootselButtonOptions bootselButtonOptions = 1; optional OnBoardLedOptions onBoardLedOptions = 2; optional AnalogOptions analogOptions = 3; optional TurboOptions turboOptions = 4; - optional SliderOptions sliderOptions = 5; + optional SliderOptions deprecatedSliderOptions = 5; optional ReverseOptions reverseOptions = 6; optional AnalogADS1219Options analogADS1219Options = 7; optional DualDirectionalOptions dualDirectionalOptions = 8; @@ -763,6 +815,8 @@ message AddonOptions optional AnalogADS1256Options analogADS1256Options = 23; optional RotaryOptions rotaryOptions = 24; optional PCF8575Options pcf8575Options = 25; + optional DRV8833RumbleOptions drv8833RumbleOptions = 26; + optional ReactiveLEDOptions reactiveLEDOptions = 27; } message MigrationHistory @@ -770,12 +824,13 @@ message MigrationHistory optional bool hotkeysMigrated = 1 [default = false]; optional bool gpioMappingsMigrated = 2 [default = false]; optional bool buttonProfilesMigrated = 3 [default = false]; + optional bool profileEnabledFlagsMigrated = 4 [default = false]; } message Config { optional string boardVersion = 1 [(nanopb).max_length = 31]; - + optional GamepadOptions gamepadOptions = 2; optional HotkeyOptions hotkeyOptions = 3; optional PinMappings deprecatedPinMappings = 4 [deprecated = true]; @@ -786,7 +841,7 @@ message Config optional AddonOptions addonOptions = 9; optional ForcedSetupOptions forcedSetupOptions = 10; optional ProfileOptions profileOptions = 11; - + optional string boardConfig = 12 [(nanopb).max_length = 63]; optional GpioMappings gpioMappings = 13; optional MigrationHistory migrations = 14; diff --git a/gp2040ce_bintools/proto_snapshot/config_pb2.py b/gp2040ce_bintools/proto_snapshot/config_pb2.py deleted file mode 100644 index 69ebdae..0000000 --- a/gp2040ce_bintools/proto_snapshot/config_pb2.py +++ /dev/null @@ -1,263 +0,0 @@ -# -*- 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\"\xf8\x04\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\x12\x15\n\rprofileNumber\x18\t \x01(\r\x12-\n\x11ps4ControllerType\x18\n \x01(\x0e\x32\x12.PS4ControllerType\x12\x15\n\rdebounceDelay\x18\x0b \x01(\r\x12\x13\n\x0binputModeB1\x18\x0c \x01(\x05\x12\x13\n\x0binputModeB2\x18\r \x01(\x05\x12\x13\n\x0binputModeB3\x18\x0e \x01(\x05\x12\x13\n\x0binputModeB4\x18\x0f \x01(\x05\x12\x13\n\x0binputModeL1\x18\x10 \x01(\x05\x12\x13\n\x0binputModeL2\x18\x11 \x01(\x05\x12\x13\n\x0binputModeR1\x18\x12 \x01(\x05\x12\x13\n\x0binputModeR2\x18\x13 \x01(\x05\x12\x19\n\rps4ReportHack\x18\x14 \x01(\x08\x42\x02\x18\x01\x12\'\n\x0bps4AuthType\x18\x15 \x01(\x0e\x32\x12.InputModeAuthType\x12\'\n\x0bps5AuthType\x18\x16 \x01(\x0e\x32\x12.InputModeAuthType\x12*\n\x0exinputAuthType\x18\x17 \x01(\x0e\x32\x12.InputModeAuthType\"\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\"e\n\x0bHotkeyEntry\x12\x10\n\x08\x64padMask\x18\x01 \x01(\r\x12\x1e\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x0e.GamepadHotkey\x12\x13\n\x0b\x62uttonsMask\x18\x03 \x01(\r\x12\x0f\n\x07\x61uxMask\x18\x04 \x01(\r\"\x8f\x04\n\rHotkeyOptions\x12\x1e\n\x08hotkey01\x18\x01 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey02\x18\x02 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey03\x18\x03 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey04\x18\x04 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey05\x18\x05 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey06\x18\x06 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey07\x18\x07 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey08\x18\x08 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey09\x18\t \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey10\x18\n \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey11\x18\x0b \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey12\x18\x0c \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey13\x18\r \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey14\x18\x0e \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey15\x18\x0f \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey16\x18\x10 \x01(\x0b\x32\x0c.HotkeyEntry\"\xf1\x03\n\x11PeripheralOptions\x12\x30\n\tblockI2C0\x18\x01 \x01(\x0b\x32\x1d.PeripheralOptions.I2COptions\x12\x30\n\tblockI2C1\x18\x02 \x01(\x0b\x32\x1d.PeripheralOptions.I2COptions\x12\x30\n\tblockSPI0\x18\x03 \x01(\x0b\x32\x1d.PeripheralOptions.SPIOptions\x12\x30\n\tblockSPI1\x18\x04 \x01(\x0b\x32\x1d.PeripheralOptions.SPIOptions\x12\x30\n\tblockUSB0\x18\x05 \x01(\x0b\x32\x1d.PeripheralOptions.USBOptions\x1a\x46\n\nI2COptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0b\n\x03sda\x18\x02 \x01(\x05\x12\x0b\n\x03scl\x18\x03 \x01(\x05\x12\r\n\x05speed\x18\x04 \x01(\r\x1aN\n\nSPIOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\n\n\x02rx\x18\x02 \x01(\x05\x12\n\n\x02\x63s\x18\x03 \x01(\x05\x12\x0b\n\x03sck\x18\x04 \x01(\x05\x12\n\n\x02tx\x18\x05 \x01(\x05\x1aJ\n\nUSBOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\n\n\x02\x64p\x18\x02 \x01(\x05\x12\x10\n\x08\x65nable5v\x18\x03 \x01(\x05\x12\r\n\x05order\x18\x04 \x01(\r\"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\"\x9b\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\x12\x13\n\x0bpinButtonFn\x18\x13 \x01(\x05\"Q\n\x0fGpioMappingInfo\x12\x1b\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x0b.GpioAction\x12!\n\tdirection\x18\x02 \x01(\x0e\x32\x0e.GpioDirection\"5\n\x0cGpioMappings\x12%\n\x04pins\x18\x01 \x03(\x0b\x32\x10.GpioMappingInfoB\x05\x92?\x02\x10\x1e\"\x93\x02\n\x16\x41lternativePinMappings\x12\x13\n\x0bpinButtonB1\x18\x01 \x01(\x05\x12\x13\n\x0bpinButtonB2\x18\x02 \x01(\x05\x12\x13\n\x0bpinButtonB3\x18\x03 \x01(\x05\x12\x13\n\x0bpinButtonB4\x18\x04 \x01(\x05\x12\x13\n\x0bpinButtonL1\x18\x05 \x01(\x05\x12\x13\n\x0bpinButtonR1\x18\x06 \x01(\x05\x12\x13\n\x0bpinButtonL2\x18\x07 \x01(\x05\x12\x13\n\x0bpinButtonR2\x18\x08 \x01(\x05\x12\x11\n\tpinDpadUp\x18\t \x01(\x05\x12\x13\n\x0bpinDpadDown\x18\n \x01(\x05\x12\x13\n\x0bpinDpadLeft\x18\x0b \x01(\x05\x12\x14\n\x0cpinDpadRight\x18\x0c \x01(\x05\"\x8c\x01\n\x0eProfileOptions\x12J\n deprecatedAlternativePinMappings\x18\x01 \x03(\x0b\x32\x17.AlternativePinMappingsB\x07\x18\x01\x92?\x02\x10\x03\x12.\n\x10gpioMappingsSets\x18\x02 \x03(\x0b\x32\r.GpioMappingsB\x05\x92?\x02\x10\x03\"\x9e\x04\n\x0e\x44isplayOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08i2cBlock\x18\x02 \x01(\x05\x12\x1f\n\x13\x64\x65precatedI2cSDAPin\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1f\n\x13\x64\x65precatedI2cSCLPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x12\n\ni2cAddress\x18\x05 \x01(\x05\x12\x1e\n\x12\x64\x65precatedI2cSpeed\x18\x06 \x01(\x05\x42\x02\x18\x01\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#\n\x0csplashChoice\x18\x0b \x01(\x0e\x32\r.SplashChoice\x12\x16\n\x0esplashDuration\x18\x0c \x01(\x05\x12\x1b\n\x0bsplashImage\x18\r \x01(\x0c\x42\x06\x92?\x03\x08\x80\x08\x12\x0c\n\x04size\x18\x0e \x01(\x05\x12\x0c\n\x04\x66lip\x18\x0f \x01(\x05\x12\x0e\n\x06invert\x18\x10 \x01(\x08\x12\x1b\n\x13\x64isplaySaverTimeout\x18\x11 \x01(\x05\x12\x1c\n\x14turnOffWhenSuspended\x18\x12 \x01(\x08\"\xce\x05\n\nLEDOptions\x12\x0f\n\x07\x64\x61taPin\x18\x01 \x01(\x05\x12#\n\tledFormat\x18\x02 \x01(\x0e\x32\x10.LEDFormat_Proto\x12 \n\tledLayout\x18\x03 \x01(\x0e\x32\r.ButtonLayout\x12\x15\n\rledsPerButton\x18\x04 \x01(\r\x12\x19\n\x11\x62rightnessMaximum\x18\x05 \x01(\r\x12\x17\n\x0f\x62rightnessSteps\x18\x06 \x01(\r\x12\x0f\n\x07indexUp\x18\x07 \x01(\x05\x12\x11\n\tindexDown\x18\x08 \x01(\x05\x12\x11\n\tindexLeft\x18\t \x01(\x05\x12\x12\n\nindexRight\x18\n \x01(\x05\x12\x0f\n\x07indexB1\x18\x0b \x01(\x05\x12\x0f\n\x07indexB2\x18\x0c \x01(\x05\x12\x0f\n\x07indexB3\x18\r \x01(\x05\x12\x0f\n\x07indexB4\x18\x0e \x01(\x05\x12\x0f\n\x07indexL1\x18\x0f \x01(\x05\x12\x0f\n\x07indexR1\x18\x10 \x01(\x05\x12\x0f\n\x07indexL2\x18\x11 \x01(\x05\x12\x0f\n\x07indexR2\x18\x12 \x01(\x05\x12\x0f\n\x07indexS1\x18\x13 \x01(\x05\x12\x0f\n\x07indexS2\x18\x14 \x01(\x05\x12\x0f\n\x07indexL3\x18\x15 \x01(\x05\x12\x0f\n\x07indexR3\x18\x16 \x01(\x05\x12\x0f\n\x07indexA1\x18\x17 \x01(\x05\x12\x0f\n\x07indexA2\x18\x18 \x01(\x05\x12\x1b\n\x08pledType\x18\x19 \x01(\x0e\x32\t.PLEDType\x12\x10\n\x08pledPin1\x18\x1a \x01(\x05\x12\x10\n\x08pledPin2\x18\x1b \x01(\x05\x12\x10\n\x08pledPin3\x18\x1c \x01(\x05\x12\x10\n\x08pledPin4\x18\x1d \x01(\x05\x12\x11\n\tpledColor\x18\x1e \x01(\r\x12\x1c\n\x14turnOffWhenSuspended\x18\x1f \x01(\x08\x12\x12\n\npledIndex1\x18 \x01(\x05\x12\x12\n\npledIndex2\x18! \x01(\x05\x12\x12\n\npledIndex3\x18\" \x01(\x05\x12\x12\n\npledIndex4\x18# \x01(\x05\"\xcc\t\n\x16\x41nimationOptions_Proto\x12\x1a\n\x12\x62\x61seAnimationIndex\x18\x01 \x01(\r\x12\x12\n\nbrightness\x18\x02 \x01(\r\x12\x18\n\x10staticColorIndex\x18\x03 \x01(\r\x12\x18\n\x10\x62uttonColorIndex\x18\x04 \x01(\r\x12\x16\n\x0e\x63haseCycleTime\x18\x05 \x01(\x05\x12\x18\n\x10rainbowCycleTime\x18\x06 \x01(\x05\x12\x12\n\nthemeIndex\x18\x07 \x01(\r\x12\x16\n\x0ehasCustomTheme\x18\x08 \x01(\x08\x12\x15\n\rcustomThemeUp\x18\t \x01(\r\x12\x17\n\x0f\x63ustomThemeDown\x18\n \x01(\r\x12\x17\n\x0f\x63ustomThemeLeft\x18\x0b \x01(\r\x12\x18\n\x10\x63ustomThemeRight\x18\x0c \x01(\r\x12\x15\n\rcustomThemeB1\x18\r \x01(\r\x12\x15\n\rcustomThemeB2\x18\x0e \x01(\r\x12\x15\n\rcustomThemeB3\x18\x0f \x01(\r\x12\x15\n\rcustomThemeB4\x18\x10 \x01(\r\x12\x15\n\rcustomThemeL1\x18\x11 \x01(\r\x12\x15\n\rcustomThemeR1\x18\x12 \x01(\r\x12\x15\n\rcustomThemeL2\x18\x13 \x01(\r\x12\x15\n\rcustomThemeR2\x18\x14 \x01(\r\x12\x15\n\rcustomThemeS1\x18\x15 \x01(\r\x12\x15\n\rcustomThemeS2\x18\x16 \x01(\r\x12\x15\n\rcustomThemeL3\x18\x17 \x01(\r\x12\x15\n\rcustomThemeR3\x18\x18 \x01(\r\x12\x15\n\rcustomThemeA1\x18\x19 \x01(\r\x12\x15\n\rcustomThemeA2\x18\x1a \x01(\r\x12\x1c\n\x14\x63ustomThemeUpPressed\x18\x1b \x01(\r\x12\x1e\n\x16\x63ustomThemeDownPressed\x18\x1c \x01(\r\x12\x1e\n\x16\x63ustomThemeLeftPressed\x18\x1d \x01(\r\x12\x1f\n\x17\x63ustomThemeRightPressed\x18\x1e \x01(\r\x12\x1c\n\x14\x63ustomThemeB1Pressed\x18\x1f \x01(\r\x12\x1c\n\x14\x63ustomThemeB2Pressed\x18 \x01(\r\x12\x1c\n\x14\x63ustomThemeB3Pressed\x18! \x01(\r\x12\x1c\n\x14\x63ustomThemeB4Pressed\x18\" \x01(\r\x12\x1c\n\x14\x63ustomThemeL1Pressed\x18# \x01(\r\x12\x1c\n\x14\x63ustomThemeR1Pressed\x18$ \x01(\r\x12\x1c\n\x14\x63ustomThemeL2Pressed\x18% \x01(\r\x12\x1c\n\x14\x63ustomThemeR2Pressed\x18& \x01(\r\x12\x1c\n\x14\x63ustomThemeS1Pressed\x18\' \x01(\r\x12\x1c\n\x14\x63ustomThemeS2Pressed\x18( \x01(\r\x12\x1c\n\x14\x63ustomThemeL3Pressed\x18) \x01(\r\x12\x1c\n\x14\x63ustomThemeR3Pressed\x18* \x01(\r\x12\x1c\n\x14\x63ustomThemeA1Pressed\x18+ \x01(\r\x12\x1c\n\x14\x63ustomThemeA2Pressed\x18, \x01(\r\x12(\n buttonPressColorCooldownTimeInMs\x18- \x01(\r\":\n\x14\x42ootselButtonOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x11\n\tbuttonMap\x18\x02 \x01(\r\"C\n\x11OnBoardLedOptions\x12\x1d\n\x04mode\x18\x01 \x01(\x0e\x32\x0f.OnBoardLedMode\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\"\xf8\x02\n\rAnalogOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x16\n\x0e\x61nalogAdc1PinX\x18\x02 \x01(\x05\x12\x16\n\x0e\x61nalogAdc1PinY\x18\x03 \x01(\x05\x12\x1a\n\x12\x66orced_circularity\x18\x04 \x01(\x08\x12\x16\n\x0einner_deadzone\x18\x05 \x01(\r\x12\x16\n\x0e\x61nalogAdc2PinX\x18\x06 \x01(\x05\x12\x16\n\x0e\x61nalogAdc2PinY\x18\x07 \x01(\x05\x12!\n\x0e\x61nalogAdc1Mode\x18\x08 \x01(\x0e\x32\t.DpadMode\x12!\n\x0e\x61nalogAdc2Mode\x18\t \x01(\x0e\x32\t.DpadMode\x12%\n\x10\x61nalogAdc1Invert\x18\n \x01(\x0e\x32\x0b.InvertMode\x12%\n\x10\x61nalogAdc2Invert\x18\x0b \x01(\x0e\x32\x0b.InvertMode\x12\x16\n\x0e\x61uto_calibrate\x18\x0c \x01(\x08\x12\x16\n\x0eouter_deadzone\x18\r \x01(\r\"\xcc\x03\n\x0cTurboOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1f\n\x13\x64\x65precatedButtonPin\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\x0e\n\x06ledPin\x18\x03 \x01(\x05\x12\x11\n\tshotCount\x18\x04 \x01(\r\x12\x14\n\x0cshmupDialPin\x18\x05 \x01(\x05\x12\x18\n\x10shmupModeEnabled\x18\x06 \x01(\x08\x12\x16\n\x0eshmupAlwaysOn1\x18\x07 \x01(\r\x12\x16\n\x0eshmupAlwaysOn2\x18\x08 \x01(\r\x12\x16\n\x0eshmupAlwaysOn3\x18\t \x01(\r\x12\x16\n\x0eshmupAlwaysOn4\x18\n \x01(\r\x12\x14\n\x0cshmupBtn1Pin\x18\x0b \x01(\x05\x12\x14\n\x0cshmupBtn2Pin\x18\x0c \x01(\x05\x12\x14\n\x0cshmupBtn3Pin\x18\r \x01(\x05\x12\x14\n\x0cshmupBtn4Pin\x18\x0e \x01(\x05\x12\x15\n\rshmupBtnMask1\x18\x0f \x01(\r\x12\x15\n\rshmupBtnMask2\x18\x10 \x01(\r\x12\x15\n\rshmupBtnMask3\x18\x11 \x01(\r\x12\x15\n\rshmupBtnMask4\x18\x12 \x01(\r\x12#\n\x0cshmupMixMode\x18\x13 \x01(\x0e\x32\r.ShmupMixMode\"\xdc\x01\n\rSliderOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\"\n\x16\x64\x65precatedPinSliderOne\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\"\n\x16\x64\x65precatedPinSliderTwo\x18\x03 \x01(\x05\x42\x02\x18\x01\x12(\n\x11\x64\x65precatedModeOne\x18\x04 \x01(\x0e\x32\t.DpadModeB\x02\x18\x01\x12(\n\x11\x64\x65precatedModeTwo\x18\x05 \x01(\x0e\x32\t.DpadModeB\x02\x18\x01\x12\x1e\n\x0bmodeDefault\x18\x06 \x01(\x0e\x32\t.DpadMode\"\xd4\x01\n\x11SOCDSliderOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1c\n\x10\x64\x65precatedPinOne\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\x1c\n\x10\x64\x65precatedPinTwo\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1e\n\x0bmodeDefault\x18\x04 \x01(\x0e\x32\t.SOCDMode\x12(\n\x11\x64\x65precatedModeOne\x18\x05 \x01(\x0e\x32\t.SOCDModeB\x02\x18\x01\x12(\n\x11\x64\x65precatedModeTwo\x18\x06 \x01(\x0e\x32\t.SOCDModeB\x02\x18\x01\"\x93\x01\n\x0eReverseOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x11\n\tbuttonPin\x18\x02 \x01(\x05\x12\x0e\n\x06ledPin\x18\x03 \x01(\x05\x12\x10\n\x08\x61\x63tionUp\x18\x04 \x01(\r\x12\x12\n\nactionDown\x18\x05 \x01(\r\x12\x12\n\nactionLeft\x18\x06 \x01(\r\x12\x13\n\x0b\x61\x63tionRight\x18\x07 \x01(\r\"\xaf\x01\n\x14\x41nalogADS1219Options\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08i2cBlock\x18\x02 \x01(\x05\x12\x1f\n\x13\x64\x65precatedI2cSDAPin\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1f\n\x13\x64\x65precatedI2cSCLPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x12\n\ni2cAddress\x18\x05 \x01(\x05\x12\x1e\n\x12\x64\x65precatedI2cSpeed\x18\x06 \x01(\x05\x42\x02\x18\x01\"\x7f\n\x14\x41nalogADS1256Options\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08spiBlock\x18\x02 \x01(\x05\x12\r\n\x05\x63sPin\x18\x03 \x01(\x05\x12\x0f\n\x07\x64rdyPin\x18\x04 \x01(\x05\x12\x0c\n\x04\x61vdd\x18\x05 \x01(\x02\x12\x16\n\x0e\x65nableTriggers\x18\x06 \x01(\x08\"\x8c\x02\n\x16\x44ualDirectionalOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1b\n\x0f\x64\x65precatedUpPin\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\x1d\n\x11\x64\x65precatedDownPin\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1d\n\x11\x64\x65precatedLeftPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x1e\n\x12\x64\x65precatedRightPin\x18\x05 \x01(\x05\x42\x02\x18\x01\x12\x1b\n\x08\x64padMode\x18\x06 \x01(\x0e\x32\t.DpadMode\x12\x34\n\x0b\x63ombineMode\x18\x07 \x01(\x0e\x32\x1f.DualDirectionalCombinationMode\x12\x13\n\x0b\x66ourWayMode\x18\x08 \x01(\x08\"\xd8\x04\n\x0bTiltOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08tilt1Pin\x18\x02 \x01(\x05\x12\x10\n\x08tilt2Pin\x18\x03 \x01(\x05\x12%\n\x19\x64\x65precatedTiltFunctionPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x1b\n\x13tiltLeftAnalogUpPin\x18\x05 \x01(\x05\x12\x1d\n\x15tiltLeftAnalogDownPin\x18\x06 \x01(\x05\x12\x1d\n\x15tiltLeftAnalogLeftPin\x18\x07 \x01(\x05\x12\x1e\n\x16tiltLeftAnalogRightPin\x18\x08 \x01(\x05\x12\x1c\n\x14tiltRightAnalogUpPin\x18\t \x01(\x05\x12\x1e\n\x16tiltRightAnalogDownPin\x18\n \x01(\x05\x12\x1e\n\x16tiltRightAnalogLeftPin\x18\x0b \x01(\x05\x12\x1f\n\x17tiltRightAnalogRightPin\x18\x0c \x01(\x05\x12\x1f\n\x0ctiltSOCDMode\x18\r \x01(\x0e\x32\t.SOCDMode\x12\x18\n\x10\x66\x61\x63torTilt1LeftX\x18\x0e \x01(\x05\x12\x18\n\x10\x66\x61\x63torTilt1LeftY\x18\x0f \x01(\x05\x12\x19\n\x11\x66\x61\x63torTilt1RightX\x18\x10 \x01(\x05\x12\x19\n\x11\x66\x61\x63torTilt1RightY\x18\x11 \x01(\x05\x12\x18\n\x10\x66\x61\x63torTilt2LeftX\x18\x12 \x01(\x05\x12\x18\n\x10\x66\x61\x63torTilt2LeftY\x18\x13 \x01(\x05\x12\x19\n\x11\x66\x61\x63torTilt2RightX\x18\x14 \x01(\x05\x12\x19\n\x11\x66\x61\x63torTilt2RightY\x18\x15 \x01(\x05\"P\n\rBuzzerOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0b\n\x03pin\x18\x02 \x01(\x05\x12\x0e\n\x06volume\x18\x03 \x01(\r\x12\x11\n\tenablePin\x18\x04 \x01(\x05\"E\n\x12\x45xtraButtonOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0b\n\x03pin\x18\x02 \x01(\x05\x12\x11\n\tbuttonMap\x18\x03 \x01(\r\"6\n\x13PlayerNumberOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0e\n\x06number\x18\x02 \x01(\r\"\x98\x02\n\nPS4Options\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x15\n\x06serial\x18\x02 \x01(\x0c\x42\x05\x92?\x02\x08\x10\x12\x19\n\tsignature\x18\x03 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x02\x12\x14\n\x04rsaN\x18\x04 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x02\x12\x13\n\x04rsaE\x18\x05 \x01(\x0c\x42\x05\x92?\x02\x08\x04\x12\x14\n\x04rsaD\x18\x06 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x02\x12\x14\n\x04rsaP\x18\x07 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x14\n\x04rsaQ\x18\x08 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x15\n\x05rsaDP\x18\t \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x15\n\x05rsaDQ\x18\n \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x15\n\x05rsaQP\x18\x0b \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x15\n\x05rsaRN\x18\x0c \x01(\x0c\x42\x06\x92?\x03\x08\x80\x02\"h\n\x14PSPassthroughOptions\x12\x13\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x02\x18\x01\x12\x1e\n\x12\x64\x65precatedPinDplus\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\x1b\n\x0f\x64\x65precatedPin5V\x18\x03 \x01(\x05\x42\x02\x18\x01\".\n\x17XBOnePassthroughOptions\x12\x13\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x02\x18\x01\"\xf5\x11\n\nWiiOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08i2cBlock\x18\x02 \x01(\x05\x12\x1f\n\x13\x64\x65precatedI2cSDAPin\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1f\n\x13\x64\x65precatedI2cSCLPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x1e\n\x12\x64\x65precatedI2cSpeed\x18\x05 \x01(\x05\x42\x02\x18\x01\x12\x32\n\x0b\x63ontrollers\x18\x06 \x01(\x0b\x32\x1d.WiiOptions.ControllerOptions\x1a\x42\n\nAnalogAxis\x12\x10\n\x08\x61xisType\x18\x01 \x01(\x05\x12\x10\n\x08minRange\x18\x02 \x01(\x05\x12\x10\n\x08maxRange\x18\x03 \x01(\x05\x1aT\n\x0cStickOptions\x12!\n\x01x\x18\x01 \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12!\n\x01y\x18\x02 \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x1a[\n\x0eNunchukOptions\x12\x0f\n\x07\x62uttonC\x18\x01 \x01(\x05\x12\x0f\n\x07\x62uttonZ\x18\x02 \x01(\x05\x12\'\n\x05stick\x18\x03 \x01(\x0b\x32\x18.WiiOptions.StickOptions\x1a\xdc\x03\n\x0e\x43lassicOptions\x12\x0f\n\x07\x62uttonA\x18\x01 \x01(\x05\x12\x0f\n\x07\x62uttonB\x18\x02 \x01(\x05\x12\x0f\n\x07\x62uttonX\x18\x03 \x01(\x05\x12\x0f\n\x07\x62uttonY\x18\x04 \x01(\x05\x12\x0f\n\x07\x62uttonL\x18\x05 \x01(\x05\x12\x10\n\x08\x62uttonZL\x18\x06 \x01(\x05\x12\x0f\n\x07\x62uttonR\x18\x07 \x01(\x05\x12\x10\n\x08\x62uttonZR\x18\x08 \x01(\x05\x12\x13\n\x0b\x62uttonMinus\x18\t \x01(\x05\x12\x12\n\nbuttonPlus\x18\n \x01(\x05\x12\x12\n\nbuttonHome\x18\x0b \x01(\x05\x12\x10\n\x08\x62uttonUp\x18\x0c \x01(\x05\x12\x12\n\nbuttonDown\x18\r \x01(\x05\x12\x12\n\nbuttonLeft\x18\x0e \x01(\x05\x12\x13\n\x0b\x62uttonRight\x18\x0f \x01(\x05\x12,\n\nrightStick\x18\x11 \x01(\x0b\x32\x18.WiiOptions.StickOptions\x12+\n\tleftStick\x18\x10 \x01(\x0b\x32\x18.WiiOptions.StickOptions\x12+\n\x0bleftTrigger\x18\x12 \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12,\n\x0crightTrigger\x18\x13 \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x1al\n\x0cTaikoOptions\x12\x15\n\rbuttonKatLeft\x18\x01 \x01(\x05\x12\x16\n\x0e\x62uttonKatRight\x18\x02 \x01(\x05\x12\x15\n\rbuttonDonLeft\x18\x03 \x01(\x05\x12\x16\n\x0e\x62uttonDonRight\x18\x04 \x01(\x05\x1a\xad\x02\n\rGuitarOptions\x12\x11\n\tbuttonRed\x18\x01 \x01(\x05\x12\x13\n\x0b\x62uttonGreen\x18\x02 \x01(\x05\x12\x14\n\x0c\x62uttonYellow\x18\x03 \x01(\x05\x12\x12\n\nbuttonBlue\x18\x04 \x01(\x05\x12\x14\n\x0c\x62uttonOrange\x18\x05 \x01(\x05\x12\x13\n\x0b\x62uttonPedal\x18\x06 \x01(\x05\x12\x13\n\x0b\x62uttonMinus\x18\x07 \x01(\x05\x12\x12\n\nbuttonPlus\x18\x08 \x01(\x05\x12\x0f\n\x07strumUp\x18\t \x01(\x05\x12\x11\n\tstrumDown\x18\n \x01(\x05\x12\'\n\x05stick\x18\x0b \x01(\x0b\x32\x18.WiiOptions.StickOptions\x12)\n\twhammyBar\x18\x0c \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x1a\xdc\x01\n\x0b\x44rumOptions\x12\x11\n\tbuttonRed\x18\x01 \x01(\x05\x12\x13\n\x0b\x62uttonGreen\x18\x02 \x01(\x05\x12\x14\n\x0c\x62uttonYellow\x18\x03 \x01(\x05\x12\x12\n\nbuttonBlue\x18\x04 \x01(\x05\x12\x14\n\x0c\x62uttonOrange\x18\x05 \x01(\x05\x12\x13\n\x0b\x62uttonPedal\x18\x06 \x01(\x05\x12\x13\n\x0b\x62uttonMinus\x18\x07 \x01(\x05\x12\x12\n\nbuttonPlus\x18\x08 \x01(\x05\x12\'\n\x05stick\x18\t \x01(\x0b\x32\x18.WiiOptions.StickOptions\x1a\xbe\x03\n\x10TurntableOptions\x12\x15\n\rbuttonLeftRed\x18\x01 \x01(\x05\x12\x17\n\x0f\x62uttonLeftGreen\x18\x02 \x01(\x05\x12\x16\n\x0e\x62uttonLeftBlue\x18\x03 \x01(\x05\x12\x16\n\x0e\x62uttonRightRed\x18\x04 \x01(\x05\x12\x18\n\x10\x62uttonRightGreen\x18\x05 \x01(\x05\x12\x17\n\x0f\x62uttonRightBlue\x18\x06 \x01(\x05\x12\x13\n\x0b\x62uttonMinus\x18\x07 \x01(\x05\x12\x12\n\nbuttonPlus\x18\x08 \x01(\x05\x12\x16\n\x0e\x62uttonEuphoria\x18\t \x01(\x05\x12\'\n\x05stick\x18\n \x01(\x0b\x32\x18.WiiOptions.StickOptions\x12-\n\rleftTurntable\x18\x0b \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12.\n\x0erightTurntable\x18\x0c \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12\'\n\x07\x65\x66\x66\x65\x63ts\x18\r \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12%\n\x05\x66\x61\x64\x65r\x18\x0e \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x1a\x99\x02\n\x11\x43ontrollerOptions\x12+\n\x07nunchuk\x18\x01 \x01(\x0b\x32\x1a.WiiOptions.NunchukOptions\x12+\n\x07\x63lassic\x18\x02 \x01(\x0b\x32\x1a.WiiOptions.ClassicOptions\x12\'\n\x05taiko\x18\x03 \x01(\x0b\x32\x18.WiiOptions.TaikoOptions\x12)\n\x06guitar\x18\x04 \x01(\x0b\x32\x19.WiiOptions.GuitarOptions\x12%\n\x04\x64rum\x18\x05 \x01(\x0b\x32\x17.WiiOptions.DrumOptions\x12/\n\tturntable\x18\x06 \x01(\x0b\x32\x1c.WiiOptions.TurntableOptions\"S\n\x0bSNESOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08\x63lockPin\x18\x02 \x01(\x05\x12\x10\n\x08latchPin\x18\x03 \x01(\x05\x12\x0f\n\x07\x64\x61taPin\x18\x04 \x01(\x05\"\x86\x01\n\x13KeyboardHostOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1e\n\x12\x64\x65precatedPinDplus\x18\x02 \x01(\x05\x42\x02\x18\x01\x12!\n\x07mapping\x18\x03 \x01(\x0b\x32\x10.KeyboardMapping\x12\x1b\n\x0f\x64\x65precatedPin5V\x18\x04 \x01(\x05\x42\x02\x18\x01\"\xae\x01\n\x10\x46ocusModeOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0b\n\x03pin\x18\x02 \x01(\x05\x12\x16\n\x0e\x62uttonLockMask\x18\x03 \x01(\x05\x12\x17\n\x0foledLockEnabled\x18\x04 \x01(\x08\x12\x16\n\x0ergbLockEnabled\x18\x05 \x01(\x08\x12\x19\n\x11\x62uttonLockEnabled\x18\x06 \x01(\x08\x12\x18\n\x10macroLockEnabled\x18\x07 \x01(\x08\"K\n\nMacroInput\x12\x12\n\nbuttonMask\x18\x01 \x01(\r\x12\x10\n\x08\x64uration\x18\x02 \x01(\r\x12\x17\n\x0cwaitDuration\x18\x03 \x01(\r:\x01\x30\"\xae\x02\n\x05Macro\x12\x1d\n\tmacroType\x18\x01 \x01(\x0e\x32\n.MacroType\x12\x19\n\nmacroLabel\x18\x02 \x01(\tB\x05\x92?\x02p@\x12\'\n\x0bmacroInputs\x18\x03 \x03(\x0b\x32\x0b.MacroInputB\x05\x92?\x02\x10\x1e\x12\x0f\n\x07\x65nabled\x18\x04 \x01(\x08\x12\x1d\n\x15useMacroTriggerButton\x18\x05 \x01(\x08\x12%\n\x19\x64\x65precatedMacroTriggerPin\x18\x06 \x01(\x05\x42\x02\x18\x01\x12\x1a\n\x12macroTriggerButton\x18\x07 \x01(\r\x12\x17\n\texclusive\x18\x08 \x01(\x08:\x04true\x12\x1b\n\rinterruptible\x18\t \x01(\x08:\x04true\x12\x19\n\nshowFrames\x18\n \x01(\x08:\x05\x66\x61lse\"z\n\x0cMacroOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x19\n\rdeprecatedPin\x18\x02 \x01(\x05\x42\x02\x18\x01\x12 \n\tmacroList\x18\x03 \x03(\x0b\x32\x06.MacroB\x05\x92?\x02\x10\x06\x12\x1c\n\x14macroBoardLedEnabled\x18\x04 \x01(\x08\"P\n\x13InputHistoryOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0e\n\x06length\x18\x02 \x01(\r\x12\x0b\n\x03\x63ol\x18\x03 \x01(\r\x12\x0b\n\x03row\x18\x04 \x01(\r\"\xc2\x01\n\x10RotaryPinOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0c\n\x04pinA\x18\x02 \x01(\x05\x12\x0c\n\x04pinB\x18\x03 \x01(\x05\x12#\n\x04mode\x18\x04 \x01(\x0e\x32\x15.RotaryEncoderPinMode\x12\x1b\n\x13pulsesPerRevolution\x18\x05 \x01(\r\x12\x12\n\nresetAfter\x18\x06 \x01(\r\x12\x17\n\x0f\x61llowWrapAround\x18\x07 \x01(\x08\x12\x12\n\nmultiplier\x18\x08 \x01(\x02\"n\n\rRotaryOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12%\n\nencoderOne\x18\x02 \x01(\x0b\x32\x11.RotaryPinOptions\x12%\n\nencoderTwo\x18\x03 \x01(\x0b\x32\x11.RotaryPinOptions\"Z\n\x0ePCF8575Options\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08i2cBlock\x18\x02 \x01(\x05\x12%\n\x04pins\x18\x03 \x03(\x0b\x32\x10.GpioMappingInfoB\x05\x92?\x02\x10\x10\"\x89\t\n\x0c\x41\x64\x64onOptions\x12\x33\n\x14\x62ootselButtonOptions\x18\x01 \x01(\x0b\x32\x15.BootselButtonOptions\x12-\n\x11onBoardLedOptions\x18\x02 \x01(\x0b\x32\x12.OnBoardLedOptions\x12%\n\ranalogOptions\x18\x03 \x01(\x0b\x32\x0e.AnalogOptions\x12#\n\x0cturboOptions\x18\x04 \x01(\x0b\x32\r.TurboOptions\x12%\n\rsliderOptions\x18\x05 \x01(\x0b\x32\x0e.SliderOptions\x12\'\n\x0ereverseOptions\x18\x06 \x01(\x0b\x32\x0f.ReverseOptions\x12\x33\n\x14\x61nalogADS1219Options\x18\x07 \x01(\x0b\x32\x15.AnalogADS1219Options\x12\x37\n\x16\x64ualDirectionalOptions\x18\x08 \x01(\x0b\x32\x17.DualDirectionalOptions\x12%\n\rbuzzerOptions\x18\t \x01(\x0b\x32\x0e.BuzzerOptions\x12=\n\x1c\x64\x65precatedExtraButtonOptions\x18\n \x01(\x0b\x32\x13.ExtraButtonOptionsB\x02\x18\x01\x12\x31\n\x13playerNumberOptions\x18\x0b \x01(\x0b\x32\x14.PlayerNumberOptions\x12\'\n\nps4Options\x18\x0c \x01(\x0b\x32\x0b.PS4OptionsB\x06\x92?\x03\xf0\x01\x01\x12\x1f\n\nwiiOptions\x18\r \x01(\x0b\x32\x0b.WiiOptions\x12-\n\x11socdSliderOptions\x18\x0e \x01(\x0b\x32\x12.SOCDSliderOptions\x12!\n\x0bsnesOptions\x18\x0f \x01(\x0b\x32\x0c.SNESOptions\x12+\n\x10\x66ocusModeOptions\x18\x10 \x01(\x0b\x32\x11.FocusModeOptions\x12\x31\n\x13keyboardHostOptions\x18\x11 \x01(\x0b\x32\x14.KeyboardHostOptions\x12!\n\x0btiltOptions\x18\x12 \x01(\x0b\x32\x0c.TiltOptions\x12\x37\n\x14psPassthroughOptions\x18\x13 \x01(\x0b\x32\x15.PSPassthroughOptionsB\x02\x18\x01\x12#\n\x0cmacroOptions\x18\x14 \x01(\x0b\x32\r.MacroOptions\x12\x31\n\x13inputHistoryOptions\x18\x15 \x01(\x0b\x32\x14.InputHistoryOptions\x12=\n\x17xbonePassthroughOptions\x18\x16 \x01(\x0b\x32\x18.XBOnePassthroughOptionsB\x02\x18\x01\x12\x33\n\x14\x61nalogADS1256Options\x18\x17 \x01(\x0b\x32\x15.AnalogADS1256Options\x12%\n\rrotaryOptions\x18\x18 \x01(\x0b\x32\x0e.RotaryOptions\x12\'\n\x0epcf8575Options\x18\x19 \x01(\x0b\x32\x0f.PCF8575Options\"~\n\x10MigrationHistory\x12\x1e\n\x0fhotkeysMigrated\x18\x01 \x01(\x08:\x05\x66\x61lse\x12#\n\x14gpioMappingsMigrated\x18\x02 \x01(\x08:\x05\x66\x61lse\x12%\n\x16\x62uttonProfilesMigrated\x18\x03 \x01(\x08:\x05\x66\x61lse\"\xe4\x04\n\x06\x43onfig\x12\x1b\n\x0c\x62oardVersion\x18\x01 \x01(\tB\x05\x92?\x02p\x1f\x12\'\n\x0egamepadOptions\x18\x02 \x01(\x0b\x32\x0f.GamepadOptions\x12%\n\rhotkeyOptions\x18\x03 \x01(\x0b\x32\x0e.HotkeyOptions\x12/\n\x15\x64\x65precatedPinMappings\x18\x04 \x01(\x0b\x32\x0c.PinMappingsB\x02\x18\x01\x12)\n\x0fkeyboardMapping\x18\x05 \x01(\x0b\x32\x10.KeyboardMapping\x12\'\n\x0e\x64isplayOptions\x18\x06 \x01(\x0b\x32\x0f.DisplayOptions\x12\x1f\n\nledOptions\x18\x07 \x01(\x0b\x32\x0b.LEDOptions\x12\x31\n\x10\x61nimationOptions\x18\x08 \x01(\x0b\x32\x17.AnimationOptions_Proto\x12#\n\x0c\x61\x64\x64onOptions\x18\t \x01(\x0b\x32\r.AddonOptions\x12/\n\x12\x66orcedSetupOptions\x18\n \x01(\x0b\x32\x13.ForcedSetupOptions\x12\'\n\x0eprofileOptions\x18\x0b \x01(\x0b\x32\x0f.ProfileOptions\x12\x1a\n\x0b\x62oardConfig\x18\x0c \x01(\tB\x05\x92?\x02p?\x12#\n\x0cgpioMappings\x18\r \x01(\x0b\x32\r.GpioMappings\x12%\n\nmigrations\x18\x0e \x01(\x0b\x32\x11.MigrationHistory\x12-\n\x11peripheralOptions\x18\x0f \x01(\x0b\x32\x12.PeripheralOptions') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'config_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _GAMEPADOPTIONS.fields_by_name['ps4ReportHack']._options = None - _GAMEPADOPTIONS.fields_by_name['ps4ReportHack']._serialized_options = b'\030\001' - _GPIOMAPPINGS.fields_by_name['pins']._options = None - _GPIOMAPPINGS.fields_by_name['pins']._serialized_options = b'\222?\002\020\036' - _PROFILEOPTIONS.fields_by_name['deprecatedAlternativePinMappings']._options = None - _PROFILEOPTIONS.fields_by_name['deprecatedAlternativePinMappings']._serialized_options = b'\030\001\222?\002\020\003' - _PROFILEOPTIONS.fields_by_name['gpioMappingsSets']._options = None - _PROFILEOPTIONS.fields_by_name['gpioMappingsSets']._serialized_options = b'\222?\002\020\003' - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSDAPin']._options = None - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSDAPin']._serialized_options = b'\030\001' - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSCLPin']._options = None - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSCLPin']._serialized_options = b'\030\001' - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSpeed']._options = None - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSpeed']._serialized_options = b'\030\001' - _DISPLAYOPTIONS.fields_by_name['splashImage']._options = None - _DISPLAYOPTIONS.fields_by_name['splashImage']._serialized_options = b'\222?\003\010\200\010' - _TURBOOPTIONS.fields_by_name['deprecatedButtonPin']._options = None - _TURBOOPTIONS.fields_by_name['deprecatedButtonPin']._serialized_options = b'\030\001' - _SLIDEROPTIONS.fields_by_name['deprecatedPinSliderOne']._options = None - _SLIDEROPTIONS.fields_by_name['deprecatedPinSliderOne']._serialized_options = b'\030\001' - _SLIDEROPTIONS.fields_by_name['deprecatedPinSliderTwo']._options = None - _SLIDEROPTIONS.fields_by_name['deprecatedPinSliderTwo']._serialized_options = b'\030\001' - _SLIDEROPTIONS.fields_by_name['deprecatedModeOne']._options = None - _SLIDEROPTIONS.fields_by_name['deprecatedModeOne']._serialized_options = b'\030\001' - _SLIDEROPTIONS.fields_by_name['deprecatedModeTwo']._options = None - _SLIDEROPTIONS.fields_by_name['deprecatedModeTwo']._serialized_options = b'\030\001' - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedPinOne']._options = None - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedPinOne']._serialized_options = b'\030\001' - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedPinTwo']._options = None - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedPinTwo']._serialized_options = b'\030\001' - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedModeOne']._options = None - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedModeOne']._serialized_options = b'\030\001' - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedModeTwo']._options = None - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedModeTwo']._serialized_options = b'\030\001' - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSDAPin']._options = None - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSDAPin']._serialized_options = b'\030\001' - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSCLPin']._options = None - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSCLPin']._serialized_options = b'\030\001' - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSpeed']._options = None - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSpeed']._serialized_options = b'\030\001' - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedUpPin']._options = None - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedUpPin']._serialized_options = b'\030\001' - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedDownPin']._options = None - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedDownPin']._serialized_options = b'\030\001' - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedLeftPin']._options = None - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedLeftPin']._serialized_options = b'\030\001' - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedRightPin']._options = None - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedRightPin']._serialized_options = b'\030\001' - _TILTOPTIONS.fields_by_name['deprecatedTiltFunctionPin']._options = None - _TILTOPTIONS.fields_by_name['deprecatedTiltFunctionPin']._serialized_options = b'\030\001' - _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' - _PSPASSTHROUGHOPTIONS.fields_by_name['enabled']._options = None - _PSPASSTHROUGHOPTIONS.fields_by_name['enabled']._serialized_options = b'\030\001' - _PSPASSTHROUGHOPTIONS.fields_by_name['deprecatedPinDplus']._options = None - _PSPASSTHROUGHOPTIONS.fields_by_name['deprecatedPinDplus']._serialized_options = b'\030\001' - _PSPASSTHROUGHOPTIONS.fields_by_name['deprecatedPin5V']._options = None - _PSPASSTHROUGHOPTIONS.fields_by_name['deprecatedPin5V']._serialized_options = b'\030\001' - _XBONEPASSTHROUGHOPTIONS.fields_by_name['enabled']._options = None - _XBONEPASSTHROUGHOPTIONS.fields_by_name['enabled']._serialized_options = b'\030\001' - _WIIOPTIONS.fields_by_name['deprecatedI2cSDAPin']._options = None - _WIIOPTIONS.fields_by_name['deprecatedI2cSDAPin']._serialized_options = b'\030\001' - _WIIOPTIONS.fields_by_name['deprecatedI2cSCLPin']._options = None - _WIIOPTIONS.fields_by_name['deprecatedI2cSCLPin']._serialized_options = b'\030\001' - _WIIOPTIONS.fields_by_name['deprecatedI2cSpeed']._options = None - _WIIOPTIONS.fields_by_name['deprecatedI2cSpeed']._serialized_options = b'\030\001' - _KEYBOARDHOSTOPTIONS.fields_by_name['deprecatedPinDplus']._options = None - _KEYBOARDHOSTOPTIONS.fields_by_name['deprecatedPinDplus']._serialized_options = b'\030\001' - _KEYBOARDHOSTOPTIONS.fields_by_name['deprecatedPin5V']._options = None - _KEYBOARDHOSTOPTIONS.fields_by_name['deprecatedPin5V']._serialized_options = b'\030\001' - _MACRO.fields_by_name['macroLabel']._options = None - _MACRO.fields_by_name['macroLabel']._serialized_options = b'\222?\002p@' - _MACRO.fields_by_name['macroInputs']._options = None - _MACRO.fields_by_name['macroInputs']._serialized_options = b'\222?\002\020\036' - _MACRO.fields_by_name['deprecatedMacroTriggerPin']._options = None - _MACRO.fields_by_name['deprecatedMacroTriggerPin']._serialized_options = b'\030\001' - _MACROOPTIONS.fields_by_name['deprecatedPin']._options = None - _MACROOPTIONS.fields_by_name['deprecatedPin']._serialized_options = b'\030\001' - _MACROOPTIONS.fields_by_name['macroList']._options = None - _MACROOPTIONS.fields_by_name['macroList']._serialized_options = b'\222?\002\020\006' - _PCF8575OPTIONS.fields_by_name['pins']._options = None - _PCF8575OPTIONS.fields_by_name['pins']._serialized_options = b'\222?\002\020\020' - _ADDONOPTIONS.fields_by_name['deprecatedExtraButtonOptions']._options = None - _ADDONOPTIONS.fields_by_name['deprecatedExtraButtonOptions']._serialized_options = b'\030\001' - _ADDONOPTIONS.fields_by_name['ps4Options']._options = None - _ADDONOPTIONS.fields_by_name['ps4Options']._serialized_options = b'\222?\003\360\001\001' - _ADDONOPTIONS.fields_by_name['psPassthroughOptions']._options = None - _ADDONOPTIONS.fields_by_name['psPassthroughOptions']._serialized_options = b'\030\001' - _ADDONOPTIONS.fields_by_name['xbonePassthroughOptions']._options = None - _ADDONOPTIONS.fields_by_name['xbonePassthroughOptions']._serialized_options = b'\030\001' - _CONFIG.fields_by_name['boardVersion']._options = None - _CONFIG.fields_by_name['boardVersion']._serialized_options = b'\222?\002p\037' - _CONFIG.fields_by_name['deprecatedPinMappings']._options = None - _CONFIG.fields_by_name['deprecatedPinMappings']._serialized_options = b'\030\001' - _CONFIG.fields_by_name['boardConfig']._options = None - _CONFIG.fields_by_name['boardConfig']._serialized_options = b'\222?\002p?' - _GAMEPADOPTIONS._serialized_start=44 - _GAMEPADOPTIONS._serialized_end=676 - _KEYBOARDMAPPING._serialized_start=679 - _KEYBOARDMAPPING._serialized_end=1073 - _HOTKEYENTRY._serialized_start=1075 - _HOTKEYENTRY._serialized_end=1176 - _HOTKEYOPTIONS._serialized_start=1179 - _HOTKEYOPTIONS._serialized_end=1706 - _PERIPHERALOPTIONS._serialized_start=1709 - _PERIPHERALOPTIONS._serialized_end=2206 - _PERIPHERALOPTIONS_I2COPTIONS._serialized_start=1980 - _PERIPHERALOPTIONS_I2COPTIONS._serialized_end=2050 - _PERIPHERALOPTIONS_SPIOPTIONS._serialized_start=2052 - _PERIPHERALOPTIONS_SPIOPTIONS._serialized_end=2130 - _PERIPHERALOPTIONS_USBOPTIONS._serialized_start=2132 - _PERIPHERALOPTIONS_USBOPTIONS._serialized_end=2206 - _FORCEDSETUPOPTIONS._serialized_start=2208 - _FORCEDSETUPOPTIONS._serialized_end=2260 - _BUTTONLAYOUTPARAMSCOMMON._serialized_start=2262 - _BUTTONLAYOUTPARAMSCOMMON._serialized_end=2365 - _BUTTONLAYOUTPARAMSLEFT._serialized_start=2367 - _BUTTONLAYOUTPARAMSLEFT._serialized_end=2465 - _BUTTONLAYOUTPARAMSRIGHT._serialized_start=2467 - _BUTTONLAYOUTPARAMSRIGHT._serialized_end=2571 - _BUTTONLAYOUTCUSTOMOPTIONS._serialized_start=2573 - _BUTTONLAYOUTCUSTOMOPTIONS._serialized_end=2692 - _PINMAPPINGS._serialized_start=2695 - _PINMAPPINGS._serialized_end=3106 - _GPIOMAPPINGINFO._serialized_start=3108 - _GPIOMAPPINGINFO._serialized_end=3189 - _GPIOMAPPINGS._serialized_start=3191 - _GPIOMAPPINGS._serialized_end=3244 - _ALTERNATIVEPINMAPPINGS._serialized_start=3247 - _ALTERNATIVEPINMAPPINGS._serialized_end=3522 - _PROFILEOPTIONS._serialized_start=3525 - _PROFILEOPTIONS._serialized_end=3665 - _DISPLAYOPTIONS._serialized_start=3668 - _DISPLAYOPTIONS._serialized_end=4210 - _LEDOPTIONS._serialized_start=4213 - _LEDOPTIONS._serialized_end=4931 - _ANIMATIONOPTIONS_PROTO._serialized_start=4934 - _ANIMATIONOPTIONS_PROTO._serialized_end=6162 - _BOOTSELBUTTONOPTIONS._serialized_start=6164 - _BOOTSELBUTTONOPTIONS._serialized_end=6222 - _ONBOARDLEDOPTIONS._serialized_start=6224 - _ONBOARDLEDOPTIONS._serialized_end=6291 - _ANALOGOPTIONS._serialized_start=6294 - _ANALOGOPTIONS._serialized_end=6670 - _TURBOOPTIONS._serialized_start=6673 - _TURBOOPTIONS._serialized_end=7133 - _SLIDEROPTIONS._serialized_start=7136 - _SLIDEROPTIONS._serialized_end=7356 - _SOCDSLIDEROPTIONS._serialized_start=7359 - _SOCDSLIDEROPTIONS._serialized_end=7571 - _REVERSEOPTIONS._serialized_start=7574 - _REVERSEOPTIONS._serialized_end=7721 - _ANALOGADS1219OPTIONS._serialized_start=7724 - _ANALOGADS1219OPTIONS._serialized_end=7899 - _ANALOGADS1256OPTIONS._serialized_start=7901 - _ANALOGADS1256OPTIONS._serialized_end=8028 - _DUALDIRECTIONALOPTIONS._serialized_start=8031 - _DUALDIRECTIONALOPTIONS._serialized_end=8299 - _TILTOPTIONS._serialized_start=8302 - _TILTOPTIONS._serialized_end=8902 - _BUZZEROPTIONS._serialized_start=8904 - _BUZZEROPTIONS._serialized_end=8984 - _EXTRABUTTONOPTIONS._serialized_start=8986 - _EXTRABUTTONOPTIONS._serialized_end=9055 - _PLAYERNUMBEROPTIONS._serialized_start=9057 - _PLAYERNUMBEROPTIONS._serialized_end=9111 - _PS4OPTIONS._serialized_start=9114 - _PS4OPTIONS._serialized_end=9394 - _PSPASSTHROUGHOPTIONS._serialized_start=9396 - _PSPASSTHROUGHOPTIONS._serialized_end=9500 - _XBONEPASSTHROUGHOPTIONS._serialized_start=9502 - _XBONEPASSTHROUGHOPTIONS._serialized_end=9548 - _WIIOPTIONS._serialized_start=9551 - _WIIOPTIONS._serialized_end=11844 - _WIIOPTIONS_ANALOGAXIS._serialized_start=9750 - _WIIOPTIONS_ANALOGAXIS._serialized_end=9816 - _WIIOPTIONS_STICKOPTIONS._serialized_start=9818 - _WIIOPTIONS_STICKOPTIONS._serialized_end=9902 - _WIIOPTIONS_NUNCHUKOPTIONS._serialized_start=9904 - _WIIOPTIONS_NUNCHUKOPTIONS._serialized_end=9995 - _WIIOPTIONS_CLASSICOPTIONS._serialized_start=9998 - _WIIOPTIONS_CLASSICOPTIONS._serialized_end=10474 - _WIIOPTIONS_TAIKOOPTIONS._serialized_start=10476 - _WIIOPTIONS_TAIKOOPTIONS._serialized_end=10584 - _WIIOPTIONS_GUITAROPTIONS._serialized_start=10587 - _WIIOPTIONS_GUITAROPTIONS._serialized_end=10888 - _WIIOPTIONS_DRUMOPTIONS._serialized_start=10891 - _WIIOPTIONS_DRUMOPTIONS._serialized_end=11111 - _WIIOPTIONS_TURNTABLEOPTIONS._serialized_start=11114 - _WIIOPTIONS_TURNTABLEOPTIONS._serialized_end=11560 - _WIIOPTIONS_CONTROLLEROPTIONS._serialized_start=11563 - _WIIOPTIONS_CONTROLLEROPTIONS._serialized_end=11844 - _SNESOPTIONS._serialized_start=11846 - _SNESOPTIONS._serialized_end=11929 - _KEYBOARDHOSTOPTIONS._serialized_start=11932 - _KEYBOARDHOSTOPTIONS._serialized_end=12066 - _FOCUSMODEOPTIONS._serialized_start=12069 - _FOCUSMODEOPTIONS._serialized_end=12243 - _MACROINPUT._serialized_start=12245 - _MACROINPUT._serialized_end=12320 - _MACRO._serialized_start=12323 - _MACRO._serialized_end=12625 - _MACROOPTIONS._serialized_start=12627 - _MACROOPTIONS._serialized_end=12749 - _INPUTHISTORYOPTIONS._serialized_start=12751 - _INPUTHISTORYOPTIONS._serialized_end=12831 - _ROTARYPINOPTIONS._serialized_start=12834 - _ROTARYPINOPTIONS._serialized_end=13028 - _ROTARYOPTIONS._serialized_start=13030 - _ROTARYOPTIONS._serialized_end=13140 - _PCF8575OPTIONS._serialized_start=13142 - _PCF8575OPTIONS._serialized_end=13232 - _ADDONOPTIONS._serialized_start=13235 - _ADDONOPTIONS._serialized_end=14396 - _MIGRATIONHISTORY._serialized_start=14398 - _MIGRATIONHISTORY._serialized_end=14524 - _CONFIG._serialized_start=14527 - _CONFIG._serialized_end=15139 -# @@protoc_insertion_point(module_scope) diff --git a/gp2040ce_bintools/proto_snapshot/enums.proto b/gp2040ce_bintools/proto_snapshot/enums.proto index 999857c..db76de5 100644 --- a/gp2040ce_bintools/proto_snapshot/enums.proto +++ b/gp2040ce_bintools/proto_snapshot/enums.proto @@ -39,6 +39,7 @@ enum ButtonLayout BUTTON_LAYOUT_6GAWD_A = 30; BUTTON_LAYOUT_6GAWD_ALLBUTTON_A = 31; BUTTON_LAYOUT_6GAWD_ALLBUTTONPLUS_A = 32; + BUTTON_LAYOUT_STICKLESS_R16 = 33; } enum ButtonLayoutRight @@ -82,6 +83,7 @@ enum ButtonLayoutRight BUTTON_LAYOUT_6GAWD_B = 34; BUTTON_LAYOUT_6GAWD_ALLBUTTON_B = 35; BUTTON_LAYOUT_6GAWD_ALLBUTTONPLUS_B = 36; + BUTTON_LAYOUT_STICKLESS_R16B = 37; } enum SplashMode @@ -109,7 +111,7 @@ enum SplashChoice enum OnBoardLedMode { option (nanopb_enumopt).long_names = false; - + ON_BOARD_LED_MODE_OFF = 0; ON_BOARD_LED_MODE_MODE_INDICATOR = 1; ON_BOARD_LED_MODE_INPUT_TEST = 2; @@ -122,7 +124,7 @@ enum InputMode INPUT_MODE_XINPUT = 0; INPUT_MODE_SWITCH = 1; - INPUT_MODE_HID = 2; + INPUT_MODE_PS3 = 2; INPUT_MODE_KEYBOARD = 3; INPUT_MODE_PS4 = 4; INPUT_MODE_XBONE = 5; @@ -134,6 +136,7 @@ enum InputMode INPUT_MODE_PSCLASSIC = 11; INPUT_MODE_XBOXORIGINAL = 12; INPUT_MODE_PS5 = 13; + INPUT_MODE_GENERIC = 14; INPUT_MODE_CONFIG = 255; } @@ -225,6 +228,21 @@ enum GpioAction BUTTON_PRESS_MACRO_4 = 37; BUTTON_PRESS_MACRO_5 = 38; BUTTON_PRESS_MACRO_6 = 39; + CUSTOM_BUTTON_COMBO = 40; + BUTTON_PRESS_A3 = 41; + BUTTON_PRESS_A4 = 42; + BUTTON_PRESS_E1 = 43; + BUTTON_PRESS_E2 = 44; + BUTTON_PRESS_E3 = 45; + BUTTON_PRESS_E4 = 46; + BUTTON_PRESS_E5 = 47; + BUTTON_PRESS_E6 = 48; + BUTTON_PRESS_E7 = 49; + BUTTON_PRESS_E8 = 50; + BUTTON_PRESS_E9 = 51; + BUTTON_PRESS_E10 = 52; + BUTTON_PRESS_E11 = 53; + BUTTON_PRESS_E12 = 54; } enum GpioDirection @@ -275,6 +293,13 @@ enum GamepadHotkey HOTKEY_A1_BUTTON = 33; HOTKEY_A2_BUTTON = 34; HOTKEY_NEXT_PROFILE = 35; + HOTKEY_A3_BUTTON = 36; + HOTKEY_A4_BUTTON = 37; + HOTKEY_DPAD_UP = 38; + HOTKEY_DPAD_DOWN = 39; + HOTKEY_DPAD_LEFT = 40; + HOTKEY_DPAD_RIGHT = 41; + HOTKEY_PREVIOUS_PROFILE = 42; } // This has to be kept in sync with LEDFormat in NeoPico.hpp @@ -297,7 +322,7 @@ enum ShmupMixMode enum PLEDType { option (nanopb_enumopt).long_names = false; - + PLED_TYPE_NONE = -1; PLED_TYPE_PWM = 0; PLED_TYPE_RGB = 1; @@ -306,7 +331,7 @@ enum PLEDType enum ForcedSetupMode { option (nanopb_enumopt).long_names = false; - + FORCED_SETUP_MODE_OFF = 0; FORCED_SETUP_MODE_LOCK_MODE_SWITCH = 1; FORCED_SETUP_MODE_LOCK_WEB_CONFIG = 2; @@ -326,7 +351,7 @@ enum DualDirectionalCombinationMode enum PS4ControllerType { option (nanopb_enumopt).long_names = false; - + PS4_CONTROLLER = 0; PS4_ARCADESTICK = 7; } @@ -358,7 +383,7 @@ enum GPElement enum GPShape_Type { option (nanopb_enumopt).long_names = false; - + GP_SHAPE_ELLIPSE = 0; GP_SHAPE_SQUARE = 1; GP_SHAPE_LINE = 2; @@ -380,3 +405,21 @@ enum RotaryEncoderPinMode ENCODER_MODE_DPAD_X = 7; ENCODER_MODE_DPAD_Y = 8; }; + +enum ReactiveLEDMode +{ + option (nanopb_enumopt).long_names = false; + + REACTIVE_LED_STATIC_OFF = 0; + REACTIVE_LED_STATIC_ON = 1; + REACTIVE_LED_FADE_IN = 2; + REACTIVE_LED_FADE_OUT = 3; +}; + +enum PS4ControllerIDMode +{ + option (nanopb_enumopt).long_names = false; + + PS4_ID_CONSOLE = 0; + PS4_ID_EMULATION = 1; +}; diff --git a/gp2040ce_bintools/proto_snapshot/enums_pb2.py b/gp2040ce_bintools/proto_snapshot/enums_pb2.py deleted file mode 100644 index 371bab1..0000000 --- a/gp2040ce_bintools/proto_snapshot/enums_pb2.py +++ /dev/null @@ -1,114 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: enums.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\x0b\x65nums.proto\x1a\x0cnanopb.proto*\xbd\x08\n\x0c\x42uttonLayout\x12\x17\n\x13\x42UTTON_LAYOUT_STICK\x10\x00\x12\x1b\n\x17\x42UTTON_LAYOUT_STICKLESS\x10\x01\x12 \n\x1c\x42UTTON_LAYOUT_BUTTONS_ANGLED\x10\x02\x12\x1f\n\x1b\x42UTTON_LAYOUT_BUTTONS_BASIC\x10\x03\x12!\n\x1d\x42UTTON_LAYOUT_KEYBOARD_ANGLED\x10\x04\x12\x1b\n\x17\x42UTTON_LAYOUT_KEYBOARDA\x10\x05\x12\x1b\n\x17\x42UTTON_LAYOUT_DANCEPADA\x10\x06\x12\x1c\n\x18\x42UTTON_LAYOUT_TWINSTICKA\x10\x07\x12\x18\n\x14\x42UTTON_LAYOUT_BLANKA\x10\x08\x12\x16\n\x12\x42UTTON_LAYOUT_VLXA\x10\t\x12\"\n\x1e\x42UTTON_LAYOUT_FIGHTBOARD_STICK\x10\n\x12%\n!BUTTON_LAYOUT_FIGHTBOARD_MIRRORED\x10\x0b\x12\x19\n\x15\x42UTTON_LAYOUT_CUSTOMA\x10\x0c\x12 \n\x1c\x42UTTON_LAYOUT_OPENCORE0WASDA\x10\r\x12\x1e\n\x1a\x42UTTON_LAYOUT_STICKLESS_13\x10\x0e\x12\x1e\n\x1a\x42UTTON_LAYOUT_STICKLESS_16\x10\x0f\x12\x1e\n\x1a\x42UTTON_LAYOUT_STICKLESS_14\x10\x10\x12#\n\x1f\x42UTTON_LAYOUT_DANCEPAD_DDR_LEFT\x10\x11\x12#\n\x1f\x42UTTON_LAYOUT_DANCEPAD_DDR_SOLO\x10\x12\x12#\n\x1f\x42UTTON_LAYOUT_DANCEPAD_PIU_LEFT\x10\x13\x12\x18\n\x14\x42UTTON_LAYOUT_POPN_A\x10\x14\x12\x19\n\x15\x42UTTON_LAYOUT_TAIKO_A\x10\x15\x12 \n\x1c\x42UTTON_LAYOUT_BM_TURNTABLE_A\x10\x16\x12\x1b\n\x17\x42UTTON_LAYOUT_BM_5KEY_A\x10\x17\x12\x1b\n\x17\x42UTTON_LAYOUT_BM_7KEY_A\x10\x18\x12!\n\x1d\x42UTTON_LAYOUT_GITADORA_FRET_A\x10\x19\x12\"\n\x1e\x42UTTON_LAYOUT_GITADORA_STRUM_A\x10\x1a\x12!\n\x1d\x42UTTON_LAYOUT_BOARD_DEFINED_A\x10\x1b\x12!\n\x1d\x42UTTON_LAYOUT_BANDHERO_FRET_A\x10\x1c\x12\"\n\x1e\x42UTTON_LAYOUT_BANDHERO_STRUM_A\x10\x1d\x12\x19\n\x15\x42UTTON_LAYOUT_6GAWD_A\x10\x1e\x12#\n\x1f\x42UTTON_LAYOUT_6GAWD_ALLBUTTON_A\x10\x1f\x12\'\n#BUTTON_LAYOUT_6GAWD_ALLBUTTONPLUS_A\x10 \x1a\x05\x92?\x02 \x00*\x9c\t\n\x11\x42uttonLayoutRight\x12\x18\n\x14\x42UTTON_LAYOUT_ARCADE\x10\x00\x12\x1c\n\x18\x42UTTON_LAYOUT_STICKLESSB\x10\x01\x12!\n\x1d\x42UTTON_LAYOUT_BUTTONS_ANGLEDB\x10\x02\x12\x18\n\x14\x42UTTON_LAYOUT_VEWLIX\x10\x03\x12\x19\n\x15\x42UTTON_LAYOUT_VEWLIX7\x10\x04\x12\x18\n\x14\x42UTTON_LAYOUT_CAPCOM\x10\x05\x12\x19\n\x15\x42UTTON_LAYOUT_CAPCOM6\x10\x06\x12\x18\n\x14\x42UTTON_LAYOUT_SEGA2P\x10\x07\x12\x17\n\x13\x42UTTON_LAYOUT_NOIR8\x10\x08\x12\x1b\n\x17\x42UTTON_LAYOUT_KEYBOARDB\x10\t\x12\x1b\n\x17\x42UTTON_LAYOUT_DANCEPADB\x10\n\x12\x1c\n\x18\x42UTTON_LAYOUT_TWINSTICKB\x10\x0b\x12\x18\n\x14\x42UTTON_LAYOUT_BLANKB\x10\x0c\x12\x16\n\x12\x42UTTON_LAYOUT_VLXB\x10\r\x12\x1c\n\x18\x42UTTON_LAYOUT_FIGHTBOARD\x10\x0e\x12+\n\'BUTTON_LAYOUT_FIGHTBOARD_STICK_MIRRORED\x10\x0f\x12\x19\n\x15\x42UTTON_LAYOUT_CUSTOMB\x10\x10\x12\x1c\n\x18\x42UTTON_LAYOUT_KEYBOARD8B\x10\x11\x12 \n\x1c\x42UTTON_LAYOUT_OPENCORE0WASDB\x10\x12\x12\x1f\n\x1b\x42UTTON_LAYOUT_STICKLESS_13B\x10\x13\x12\x1f\n\x1b\x42UTTON_LAYOUT_STICKLESS_16B\x10\x14\x12\x1f\n\x1b\x42UTTON_LAYOUT_STICKLESS_14B\x10\x15\x12$\n BUTTON_LAYOUT_DANCEPAD_DDR_RIGHT\x10\x16\x12$\n BUTTON_LAYOUT_DANCEPAD_PIU_RIGHT\x10\x17\x12\x18\n\x14\x42UTTON_LAYOUT_POPN_B\x10\x18\x12\x19\n\x15\x42UTTON_LAYOUT_TAIKO_B\x10\x19\x12 \n\x1c\x42UTTON_LAYOUT_BM_TURNTABLE_B\x10\x1a\x12\x1b\n\x17\x42UTTON_LAYOUT_BM_5KEY_B\x10\x1b\x12\x1b\n\x17\x42UTTON_LAYOUT_BM_7KEY_B\x10\x1c\x12!\n\x1d\x42UTTON_LAYOUT_GITADORA_FRET_B\x10\x1d\x12\"\n\x1e\x42UTTON_LAYOUT_GITADORA_STRUM_B\x10\x1e\x12!\n\x1d\x42UTTON_LAYOUT_BOARD_DEFINED_B\x10\x1f\x12!\n\x1d\x42UTTON_LAYOUT_BANDHERO_FRET_B\x10 \x12\"\n\x1e\x42UTTON_LAYOUT_BANDHERO_STRUM_B\x10!\x12\x19\n\x15\x42UTTON_LAYOUT_6GAWD_B\x10\"\x12#\n\x1f\x42UTTON_LAYOUT_6GAWD_ALLBUTTON_B\x10#\x12\'\n#BUTTON_LAYOUT_6GAWD_ALLBUTTONPLUS_B\x10$\x1a\x05\x92?\x02 \x00*y\n\nSplashMode\x12\x16\n\x12SPLASH_MODE_STATIC\x10\x00\x12\x17\n\x13SPLASH_MODE_CLOSEIN\x10\x01\x12\x1d\n\x19SPLASH_MODE_CLOSEINCUSTOM\x10\x02\x12\x14\n\x10SPLASH_MODE_NONE\x10\x03\x1a\x05\x92?\x02 \x00*\xa0\x01\n\x0cSplashChoice\x12\x16\n\x12SPLASH_CHOICE_MAIN\x10\x00\x12\x13\n\x0fSPLASH_CHOICE_X\x10\x01\x12\x13\n\x0fSPLASH_CHOICE_Y\x10\x02\x12\x13\n\x0fSPLASH_CHOICE_Z\x10\x03\x12\x18\n\x14SPLASH_CHOICE_CUSTOM\x10\x04\x12\x18\n\x14SPLASH_CHOICE_LEGACY\x10\x05\x1a\x05\x92?\x02 \x00*\x99\x01\n\x0eOnBoardLedMode\x12\x19\n\x15ON_BOARD_LED_MODE_OFF\x10\x00\x12$\n ON_BOARD_LED_MODE_MODE_INDICATOR\x10\x01\x12 \n\x1cON_BOARD_LED_MODE_INPUT_TEST\x10\x02\x12\x1d\n\x19ON_BOARD_LED_MODE_PS_AUTH\x10\x03\x1a\x05\x92?\x02 \x00*\xec\x02\n\tInputMode\x12\x15\n\x11INPUT_MODE_XINPUT\x10\x00\x12\x15\n\x11INPUT_MODE_SWITCH\x10\x01\x12\x12\n\x0eINPUT_MODE_HID\x10\x02\x12\x17\n\x13INPUT_MODE_KEYBOARD\x10\x03\x12\x12\n\x0eINPUT_MODE_PS4\x10\x04\x12\x14\n\x10INPUT_MODE_XBONE\x10\x05\x12\x15\n\x11INPUT_MODE_MDMINI\x10\x06\x12\x15\n\x11INPUT_MODE_NEOGEO\x10\x07\x12\x16\n\x12INPUT_MODE_PCEMINI\x10\x08\x12\x14\n\x10INPUT_MODE_EGRET\x10\t\x12\x14\n\x10INPUT_MODE_ASTRO\x10\n\x12\x18\n\x14INPUT_MODE_PSCLASSIC\x10\x0b\x12\x1b\n\x17INPUT_MODE_XBOXORIGINAL\x10\x0c\x12\x12\n\x0eINPUT_MODE_PS5\x10\r\x12\x16\n\x11INPUT_MODE_CONFIG\x10\xff\x01\x1a\x05\x92?\x02 \x00*\x94\x01\n\x11InputModeAuthType\x12\x1d\n\x19INPUT_MODE_AUTH_TYPE_NONE\x10\x00\x12\x1d\n\x19INPUT_MODE_AUTH_TYPE_KEYS\x10\x01\x12\x1c\n\x18INPUT_MODE_AUTH_TYPE_USB\x10\x02\x12\x1c\n\x18INPUT_MODE_AUTH_TYPE_I2C\x10\x03\x1a\x05\x92?\x02 \x00*_\n\x08\x44padMode\x12\x15\n\x11\x44PAD_MODE_DIGITAL\x10\x00\x12\x19\n\x15\x44PAD_MODE_LEFT_ANALOG\x10\x01\x12\x1a\n\x16\x44PAD_MODE_RIGHT_ANALOG\x10\x02\x1a\x05\x92?\x02 \x00*O\n\nInvertMode\x12\x0f\n\x0bINVERT_NONE\x10\x00\x12\x0c\n\x08INVERT_X\x10\x01\x12\x0c\n\x08INVERT_Y\x10\x02\x12\r\n\tINVERT_XY\x10\x03\x1a\x05\x92?\x02 \x00*\xa2\x01\n\x08SOCDMode\x12\x19\n\x15SOCD_MODE_UP_PRIORITY\x10\x00\x12\x15\n\x11SOCD_MODE_NEUTRAL\x10\x01\x12#\n\x1fSOCD_MODE_SECOND_INPUT_PRIORITY\x10\x02\x12\"\n\x1eSOCD_MODE_FIRST_INPUT_PRIORITY\x10\x03\x12\x14\n\x10SOCD_MODE_BYPASS\x10\x04\x1a\x05\x92?\x02 \x00*\x88\x08\n\nGpioAction\x12\x11\n\x04NONE\x10\xf6\xff\xff\xff\xff\xff\xff\xff\xff\x01\x12\x15\n\x08RESERVED\x10\xfb\xff\xff\xff\xff\xff\xff\xff\xff\x01\x12\x15\n\x11\x41SSIGNED_TO_ADDON\x10\x00\x12\x13\n\x0f\x42UTTON_PRESS_UP\x10\x01\x12\x15\n\x11\x42UTTON_PRESS_DOWN\x10\x02\x12\x15\n\x11\x42UTTON_PRESS_LEFT\x10\x03\x12\x16\n\x12\x42UTTON_PRESS_RIGHT\x10\x04\x12\x13\n\x0f\x42UTTON_PRESS_B1\x10\x05\x12\x13\n\x0f\x42UTTON_PRESS_B2\x10\x06\x12\x13\n\x0f\x42UTTON_PRESS_B3\x10\x07\x12\x13\n\x0f\x42UTTON_PRESS_B4\x10\x08\x12\x13\n\x0f\x42UTTON_PRESS_L1\x10\t\x12\x13\n\x0f\x42UTTON_PRESS_R1\x10\n\x12\x13\n\x0f\x42UTTON_PRESS_L2\x10\x0b\x12\x13\n\x0f\x42UTTON_PRESS_R2\x10\x0c\x12\x13\n\x0f\x42UTTON_PRESS_S1\x10\r\x12\x13\n\x0f\x42UTTON_PRESS_S2\x10\x0e\x12\x13\n\x0f\x42UTTON_PRESS_A1\x10\x0f\x12\x13\n\x0f\x42UTTON_PRESS_A2\x10\x10\x12\x13\n\x0f\x42UTTON_PRESS_L3\x10\x11\x12\x13\n\x0f\x42UTTON_PRESS_R3\x10\x12\x12\x13\n\x0f\x42UTTON_PRESS_FN\x10\x13\x12\x17\n\x13\x42UTTON_PRESS_DDI_UP\x10\x14\x12\x19\n\x15\x42UTTON_PRESS_DDI_DOWN\x10\x15\x12\x19\n\x15\x42UTTON_PRESS_DDI_LEFT\x10\x16\x12\x1a\n\x16\x42UTTON_PRESS_DDI_RIGHT\x10\x17\x12\x16\n\x12SUSTAIN_DP_MODE_DP\x10\x18\x12\x16\n\x12SUSTAIN_DP_MODE_LS\x10\x19\x12\x16\n\x12SUSTAIN_DP_MODE_RS\x10\x1a\x12\x1d\n\x19SUSTAIN_SOCD_MODE_UP_PRIO\x10\x1b\x12\x1d\n\x19SUSTAIN_SOCD_MODE_NEUTRAL\x10\x1c\x12 \n\x1cSUSTAIN_SOCD_MODE_SECOND_WIN\x10\x1d\x12\x1f\n\x1bSUSTAIN_SOCD_MODE_FIRST_WIN\x10\x1e\x12\x1c\n\x18SUSTAIN_SOCD_MODE_BYPASS\x10\x1f\x12\x16\n\x12\x42UTTON_PRESS_TURBO\x10 \x12\x16\n\x12\x42UTTON_PRESS_MACRO\x10!\x12\x18\n\x14\x42UTTON_PRESS_MACRO_1\x10\"\x12\x18\n\x14\x42UTTON_PRESS_MACRO_2\x10#\x12\x18\n\x14\x42UTTON_PRESS_MACRO_3\x10$\x12\x18\n\x14\x42UTTON_PRESS_MACRO_4\x10%\x12\x18\n\x14\x42UTTON_PRESS_MACRO_5\x10&\x12\x18\n\x14\x42UTTON_PRESS_MACRO_6\x10\'\x1a\x05\x92?\x02 \x00*K\n\rGpioDirection\x12\x18\n\x14GPIO_DIRECTION_INPUT\x10\x00\x12\x19\n\x15GPIO_DIRECTION_OUTPUT\x10\x01\x1a\x05\x92?\x02 \x00*\x99\x07\n\rGamepadHotkey\x12\x0f\n\x0bHOTKEY_NONE\x10\x00\x12\x17\n\x13HOTKEY_DPAD_DIGITAL\x10\x01\x12\x1b\n\x17HOTKEY_DPAD_LEFT_ANALOG\x10\x02\x12\x1c\n\x18HOTKEY_DPAD_RIGHT_ANALOG\x10\x03\x12\x16\n\x12HOTKEY_HOME_BUTTON\x10\x04\x12\x19\n\x15HOTKEY_CAPTURE_BUTTON\x10\x05\x12\x1b\n\x17HOTKEY_SOCD_UP_PRIORITY\x10\x06\x12\x17\n\x13HOTKEY_SOCD_NEUTRAL\x10\x07\x12\x1a\n\x16HOTKEY_SOCD_LAST_INPUT\x10\x08\x12\x18\n\x14HOTKEY_INVERT_X_AXIS\x10\t\x12\x18\n\x14HOTKEY_INVERT_Y_AXIS\x10\n\x12\x1b\n\x17HOTKEY_SOCD_FIRST_INPUT\x10\x0b\x12\x16\n\x12HOTKEY_SOCD_BYPASS\x10\x0c\x12\x1c\n\x18HOTKEY_TOGGLE_4_WAY_MODE\x10\r\x12 \n\x1cHOTKEY_TOGGLE_DDI_4_WAY_MODE\x10\x0e\x12\x19\n\x15HOTKEY_LOAD_PROFILE_1\x10\x0f\x12\x19\n\x15HOTKEY_LOAD_PROFILE_2\x10\x10\x12\x19\n\x15HOTKEY_LOAD_PROFILE_3\x10\x11\x12\x19\n\x15HOTKEY_LOAD_PROFILE_4\x10\x12\x12\x14\n\x10HOTKEY_L3_BUTTON\x10\x13\x12\x14\n\x10HOTKEY_R3_BUTTON\x10\x14\x12\x1a\n\x16HOTKEY_TOUCHPAD_BUTTON\x10\x15\x12\x19\n\x15HOTKEY_REBOOT_DEFAULT\x10\x16\x12\x14\n\x10HOTKEY_B1_BUTTON\x10\x17\x12\x14\n\x10HOTKEY_B2_BUTTON\x10\x18\x12\x14\n\x10HOTKEY_B3_BUTTON\x10\x19\x12\x14\n\x10HOTKEY_B4_BUTTON\x10\x1a\x12\x14\n\x10HOTKEY_L1_BUTTON\x10\x1b\x12\x14\n\x10HOTKEY_R1_BUTTON\x10\x1c\x12\x14\n\x10HOTKEY_L2_BUTTON\x10\x1d\x12\x14\n\x10HOTKEY_R2_BUTTON\x10\x1e\x12\x14\n\x10HOTKEY_S1_BUTTON\x10\x1f\x12\x14\n\x10HOTKEY_S2_BUTTON\x10 \x12\x14\n\x10HOTKEY_A1_BUTTON\x10!\x12\x14\n\x10HOTKEY_A2_BUTTON\x10\"\x12\x17\n\x13HOTKEY_NEXT_PROFILE\x10#\x1a\x05\x92?\x02 \x00*c\n\x0fLEDFormat_Proto\x12\x12\n\x0eLED_FORMAT_GRB\x10\x00\x12\x12\n\x0eLED_FORMAT_RGB\x10\x01\x12\x13\n\x0fLED_FORMAT_GRBW\x10\x02\x12\x13\n\x0fLED_FORMAT_RGBW\x10\x03*\\\n\x0cShmupMixMode\x12!\n\x1dSHMUP_MIX_MODE_TURBO_PRIORITY\x10\x00\x12\"\n\x1eSHMUP_MIX_MODE_CHARGE_PRIORITY\x10\x01\x1a\x05\x92?\x02 \x00*T\n\x08PLEDType\x12\x1b\n\x0ePLED_TYPE_NONE\x10\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\x12\x11\n\rPLED_TYPE_PWM\x10\x00\x12\x11\n\rPLED_TYPE_RGB\x10\x01\x1a\x05\x92?\x02 \x00*\xa3\x01\n\x0f\x46orcedSetupMode\x12\x19\n\x15\x46ORCED_SETUP_MODE_OFF\x10\x00\x12&\n\"FORCED_SETUP_MODE_LOCK_MODE_SWITCH\x10\x01\x12%\n!FORCED_SETUP_MODE_LOCK_WEB_CONFIG\x10\x02\x12\x1f\n\x1b\x46ORCED_SETUP_MODE_LOCK_BOTH\x10\x03\x1a\x05\x92?\x02 \x00*g\n\x1e\x44ualDirectionalCombinationMode\x12\x0e\n\nMIXED_MODE\x10\x00\x12\x10\n\x0cGAMEPAD_MODE\x10\x01\x12\r\n\tDUAL_MODE\x10\x02\x12\r\n\tNONE_MODE\x10\x03\x1a\x05\x92?\x02 \x00*C\n\x11PS4ControllerType\x12\x12\n\x0ePS4_CONTROLLER\x10\x00\x12\x13\n\x0fPS4_ARCADESTICK\x10\x07\x1a\x05\x92?\x02 \x00*C\n\tMacroType\x12\x0c\n\x08ON_PRESS\x10\x01\x12\x12\n\x0eON_HOLD_REPEAT\x10\x02\x12\r\n\tON_TOGGLE\x10\x03\x1a\x05\x92?\x02 \x00*\xea\x01\n\tGPElement\x12\x15\n\x11GP_ELEMENT_WIDGET\x10\x00\x12\x15\n\x11GP_ELEMENT_SCREEN\x10\x01\x12\x19\n\x15GP_ELEMENT_BTN_BUTTON\x10\x02\x12\x19\n\x15GP_ELEMENT_DIR_BUTTON\x10\x03\x12\x19\n\x15GP_ELEMENT_PIN_BUTTON\x10\x04\x12\x14\n\x10GP_ELEMENT_LEVER\x10\x05\x12\x14\n\x10GP_ELEMENT_LABEL\x10\x06\x12\x15\n\x11GP_ELEMENT_SPRITE\x10\x07\x12\x14\n\x10GP_ELEMENT_SHAPE\x10\x08\x1a\x05\x92?\x02 \x00*{\n\x0cGPShape_Type\x12\x14\n\x10GP_SHAPE_ELLIPSE\x10\x00\x12\x13\n\x0fGP_SHAPE_SQUARE\x10\x01\x12\x11\n\rGP_SHAPE_LINE\x10\x02\x12\x14\n\x10GP_SHAPE_POLYGON\x10\x03\x12\x10\n\x0cGP_SHAPE_ARC\x10\x04\x1a\x05\x92?\x02 \x00*\xa7\x02\n\x14RotaryEncoderPinMode\x12\x15\n\x11\x45NCODER_MODE_NONE\x10\x00\x12\x1e\n\x1a\x45NCODER_MODE_LEFT_ANALOG_X\x10\x01\x12\x1e\n\x1a\x45NCODER_MODE_LEFT_ANALOG_Y\x10\x02\x12\x1f\n\x1b\x45NCODER_MODE_RIGHT_ANALOG_X\x10\x03\x12\x1f\n\x1b\x45NCODER_MODE_RIGHT_ANALOG_Y\x10\x04\x12\x1d\n\x19\x45NCODER_MODE_LEFT_TRIGGER\x10\x05\x12\x1e\n\x1a\x45NCODER_MODE_RIGHT_TRIGGER\x10\x06\x12\x17\n\x13\x45NCODER_MODE_DPAD_X\x10\x07\x12\x17\n\x13\x45NCODER_MODE_DPAD_Y\x10\x08\x1a\x05\x92?\x02 \x00') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'enums_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _BUTTONLAYOUT._options = None - _BUTTONLAYOUT._serialized_options = b'\222?\002 \000' - _BUTTONLAYOUTRIGHT._options = None - _BUTTONLAYOUTRIGHT._serialized_options = b'\222?\002 \000' - _SPLASHMODE._options = None - _SPLASHMODE._serialized_options = b'\222?\002 \000' - _SPLASHCHOICE._options = None - _SPLASHCHOICE._serialized_options = b'\222?\002 \000' - _ONBOARDLEDMODE._options = None - _ONBOARDLEDMODE._serialized_options = b'\222?\002 \000' - _INPUTMODE._options = None - _INPUTMODE._serialized_options = b'\222?\002 \000' - _INPUTMODEAUTHTYPE._options = None - _INPUTMODEAUTHTYPE._serialized_options = b'\222?\002 \000' - _DPADMODE._options = None - _DPADMODE._serialized_options = b'\222?\002 \000' - _INVERTMODE._options = None - _INVERTMODE._serialized_options = b'\222?\002 \000' - _SOCDMODE._options = None - _SOCDMODE._serialized_options = b'\222?\002 \000' - _GPIOACTION._options = None - _GPIOACTION._serialized_options = b'\222?\002 \000' - _GPIODIRECTION._options = None - _GPIODIRECTION._serialized_options = b'\222?\002 \000' - _GAMEPADHOTKEY._options = None - _GAMEPADHOTKEY._serialized_options = b'\222?\002 \000' - _SHMUPMIXMODE._options = None - _SHMUPMIXMODE._serialized_options = b'\222?\002 \000' - _PLEDTYPE._options = None - _PLEDTYPE._serialized_options = b'\222?\002 \000' - _FORCEDSETUPMODE._options = None - _FORCEDSETUPMODE._serialized_options = b'\222?\002 \000' - _DUALDIRECTIONALCOMBINATIONMODE._options = None - _DUALDIRECTIONALCOMBINATIONMODE._serialized_options = b'\222?\002 \000' - _PS4CONTROLLERTYPE._options = None - _PS4CONTROLLERTYPE._serialized_options = b'\222?\002 \000' - _MACROTYPE._options = None - _MACROTYPE._serialized_options = b'\222?\002 \000' - _GPELEMENT._options = None - _GPELEMENT._serialized_options = b'\222?\002 \000' - _GPSHAPE_TYPE._options = None - _GPSHAPE_TYPE._serialized_options = b'\222?\002 \000' - _ROTARYENCODERPINMODE._options = None - _ROTARYENCODERPINMODE._serialized_options = b'\222?\002 \000' - _BUTTONLAYOUT._serialized_start=30 - _BUTTONLAYOUT._serialized_end=1115 - _BUTTONLAYOUTRIGHT._serialized_start=1118 - _BUTTONLAYOUTRIGHT._serialized_end=2298 - _SPLASHMODE._serialized_start=2300 - _SPLASHMODE._serialized_end=2421 - _SPLASHCHOICE._serialized_start=2424 - _SPLASHCHOICE._serialized_end=2584 - _ONBOARDLEDMODE._serialized_start=2587 - _ONBOARDLEDMODE._serialized_end=2740 - _INPUTMODE._serialized_start=2743 - _INPUTMODE._serialized_end=3107 - _INPUTMODEAUTHTYPE._serialized_start=3110 - _INPUTMODEAUTHTYPE._serialized_end=3258 - _DPADMODE._serialized_start=3260 - _DPADMODE._serialized_end=3355 - _INVERTMODE._serialized_start=3357 - _INVERTMODE._serialized_end=3436 - _SOCDMODE._serialized_start=3439 - _SOCDMODE._serialized_end=3601 - _GPIOACTION._serialized_start=3604 - _GPIOACTION._serialized_end=4636 - _GPIODIRECTION._serialized_start=4638 - _GPIODIRECTION._serialized_end=4713 - _GAMEPADHOTKEY._serialized_start=4716 - _GAMEPADHOTKEY._serialized_end=5637 - _LEDFORMAT_PROTO._serialized_start=5639 - _LEDFORMAT_PROTO._serialized_end=5738 - _SHMUPMIXMODE._serialized_start=5740 - _SHMUPMIXMODE._serialized_end=5832 - _PLEDTYPE._serialized_start=5834 - _PLEDTYPE._serialized_end=5918 - _FORCEDSETUPMODE._serialized_start=5921 - _FORCEDSETUPMODE._serialized_end=6084 - _DUALDIRECTIONALCOMBINATIONMODE._serialized_start=6086 - _DUALDIRECTIONALCOMBINATIONMODE._serialized_end=6189 - _PS4CONTROLLERTYPE._serialized_start=6191 - _PS4CONTROLLERTYPE._serialized_end=6258 - _MACROTYPE._serialized_start=6260 - _MACROTYPE._serialized_end=6327 - _GPELEMENT._serialized_start=6330 - _GPELEMENT._serialized_end=6564 - _GPSHAPE_TYPE._serialized_start=6566 - _GPSHAPE_TYPE._serialized_end=6689 - _ROTARYENCODERPINMODE._serialized_start=6692 - _ROTARYENCODERPINMODE._serialized_end=6987 -# @@protoc_insertion_point(module_scope) diff --git a/gp2040ce_bintools/proto_snapshot/nanopb_pb2.py b/gp2040ce_bintools/proto_snapshot/nanopb_pb2.py deleted file mode 100644 index 84f802c..0000000 --- a/gp2040ce_bintools/proto_snapshot/nanopb_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: nanopb.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() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cnanopb.proto\x1a google/protobuf/descriptor.proto\"\xc4\x07\n\rNanoPBOptions\x12\x10\n\x08max_size\x18\x01 \x01(\x05\x12\x12\n\nmax_length\x18\x0e \x01(\x05\x12\x11\n\tmax_count\x18\x02 \x01(\x05\x12&\n\x08int_size\x18\x07 \x01(\x0e\x32\x08.IntSize:\nIS_DEFAULT\x12$\n\x04type\x18\x03 \x01(\x0e\x32\n.FieldType:\nFT_DEFAULT\x12\x18\n\nlong_names\x18\x04 \x01(\x08:\x04true\x12\x1c\n\rpacked_struct\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0bpacked_enum\x18\n \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0cskip_message\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\x18\n\tno_unions\x18\x08 \x01(\x08:\x05\x66\x61lse\x12\r\n\x05msgid\x18\t \x01(\r\x12\x1e\n\x0f\x61nonymous_oneof\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\x15\n\x06proto3\x18\x0c \x01(\x08:\x05\x66\x61lse\x12#\n\x14proto3_singular_msgs\x18\x15 \x01(\x08:\x05\x66\x61lse\x12\x1d\n\x0e\x65num_to_string\x18\r \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0c\x66ixed_length\x18\x0f \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0b\x66ixed_count\x18\x10 \x01(\x08:\x05\x66\x61lse\x12\x1e\n\x0fsubmsg_callback\x18\x16 \x01(\x08:\x05\x66\x61lse\x12/\n\x0cmangle_names\x18\x11 \x01(\x0e\x32\x11.TypenameMangling:\x06M_NONE\x12(\n\x11\x63\x61llback_datatype\x18\x12 \x01(\t:\rpb_callback_t\x12\x34\n\x11\x63\x61llback_function\x18\x13 \x01(\t:\x19pb_default_field_callback\x12\x30\n\x0e\x64\x65scriptorsize\x18\x14 \x01(\x0e\x32\x0f.DescriptorSize:\x07\x44S_AUTO\x12\x1a\n\x0b\x64\x65\x66\x61ult_has\x18\x17 \x01(\x08:\x05\x66\x61lse\x12\x0f\n\x07include\x18\x18 \x03(\t\x12\x0f\n\x07\x65xclude\x18\x1a \x03(\t\x12\x0f\n\x07package\x18\x19 \x01(\t\x12\x41\n\rtype_override\x18\x1b \x01(\x0e\x32*.google.protobuf.FieldDescriptorProto.Type\x12\x19\n\x0bsort_by_tag\x18\x1c \x01(\x08:\x04true\x12.\n\rfallback_type\x18\x1d \x01(\x0e\x32\n.FieldType:\x0b\x46T_CALLBACK\x12\x1e\n\x0f\x64isallow_export\x18\x1e \x01(\x08:\x05\x66\x61lse*i\n\tFieldType\x12\x0e\n\nFT_DEFAULT\x10\x00\x12\x0f\n\x0b\x46T_CALLBACK\x10\x01\x12\x0e\n\nFT_POINTER\x10\x04\x12\r\n\tFT_STATIC\x10\x02\x12\r\n\tFT_IGNORE\x10\x03\x12\r\n\tFT_INLINE\x10\x05*D\n\x07IntSize\x12\x0e\n\nIS_DEFAULT\x10\x00\x12\x08\n\x04IS_8\x10\x08\x12\t\n\x05IS_16\x10\x10\x12\t\n\x05IS_32\x10 \x12\t\n\x05IS_64\x10@*Z\n\x10TypenameMangling\x12\n\n\x06M_NONE\x10\x00\x12\x13\n\x0fM_STRIP_PACKAGE\x10\x01\x12\r\n\tM_FLATTEN\x10\x02\x12\x16\n\x12M_PACKAGE_INITIALS\x10\x03*E\n\x0e\x44\x65scriptorSize\x12\x0b\n\x07\x44S_AUTO\x10\x00\x12\x08\n\x04\x44S_1\x10\x01\x12\x08\n\x04\x44S_2\x10\x02\x12\x08\n\x04\x44S_4\x10\x04\x12\x08\n\x04\x44S_8\x10\x08:E\n\x0enanopb_fileopt\x12\x1c.google.protobuf.FileOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:G\n\rnanopb_msgopt\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:E\n\x0enanopb_enumopt\x12\x1c.google.protobuf.EnumOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:>\n\x06nanopb\x12\x1d.google.protobuf.FieldOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptionsB\x1a\n\x18\x66i.kapsi.koti.jpa.nanopb') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nanopb_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(nanopb_fileopt) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(nanopb_msgopt) - google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(nanopb_enumopt) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(nanopb) - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030fi.kapsi.koti.jpa.nanopb' - _FIELDTYPE._serialized_start=1017 - _FIELDTYPE._serialized_end=1122 - _INTSIZE._serialized_start=1124 - _INTSIZE._serialized_end=1192 - _TYPENAMEMANGLING._serialized_start=1194 - _TYPENAMEMANGLING._serialized_end=1284 - _DESCRIPTORSIZE._serialized_start=1286 - _DESCRIPTORSIZE._serialized_end=1355 - _NANOPBOPTIONS._serialized_start=51 - _NANOPBOPTIONS._serialized_end=1015 -# @@protoc_insertion_point(module_scope) diff --git a/tests/test-files/pb2-files/config_pb2.py b/tests/test-files/pb2-files/config_pb2.py deleted file mode 100644 index 69ebdae..0000000 --- a/tests/test-files/pb2-files/config_pb2.py +++ /dev/null @@ -1,263 +0,0 @@ -# -*- 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\"\xf8\x04\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\x12\x15\n\rprofileNumber\x18\t \x01(\r\x12-\n\x11ps4ControllerType\x18\n \x01(\x0e\x32\x12.PS4ControllerType\x12\x15\n\rdebounceDelay\x18\x0b \x01(\r\x12\x13\n\x0binputModeB1\x18\x0c \x01(\x05\x12\x13\n\x0binputModeB2\x18\r \x01(\x05\x12\x13\n\x0binputModeB3\x18\x0e \x01(\x05\x12\x13\n\x0binputModeB4\x18\x0f \x01(\x05\x12\x13\n\x0binputModeL1\x18\x10 \x01(\x05\x12\x13\n\x0binputModeL2\x18\x11 \x01(\x05\x12\x13\n\x0binputModeR1\x18\x12 \x01(\x05\x12\x13\n\x0binputModeR2\x18\x13 \x01(\x05\x12\x19\n\rps4ReportHack\x18\x14 \x01(\x08\x42\x02\x18\x01\x12\'\n\x0bps4AuthType\x18\x15 \x01(\x0e\x32\x12.InputModeAuthType\x12\'\n\x0bps5AuthType\x18\x16 \x01(\x0e\x32\x12.InputModeAuthType\x12*\n\x0exinputAuthType\x18\x17 \x01(\x0e\x32\x12.InputModeAuthType\"\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\"e\n\x0bHotkeyEntry\x12\x10\n\x08\x64padMask\x18\x01 \x01(\r\x12\x1e\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x0e.GamepadHotkey\x12\x13\n\x0b\x62uttonsMask\x18\x03 \x01(\r\x12\x0f\n\x07\x61uxMask\x18\x04 \x01(\r\"\x8f\x04\n\rHotkeyOptions\x12\x1e\n\x08hotkey01\x18\x01 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey02\x18\x02 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey03\x18\x03 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey04\x18\x04 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey05\x18\x05 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey06\x18\x06 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey07\x18\x07 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey08\x18\x08 \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey09\x18\t \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey10\x18\n \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey11\x18\x0b \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey12\x18\x0c \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey13\x18\r \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey14\x18\x0e \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey15\x18\x0f \x01(\x0b\x32\x0c.HotkeyEntry\x12\x1e\n\x08hotkey16\x18\x10 \x01(\x0b\x32\x0c.HotkeyEntry\"\xf1\x03\n\x11PeripheralOptions\x12\x30\n\tblockI2C0\x18\x01 \x01(\x0b\x32\x1d.PeripheralOptions.I2COptions\x12\x30\n\tblockI2C1\x18\x02 \x01(\x0b\x32\x1d.PeripheralOptions.I2COptions\x12\x30\n\tblockSPI0\x18\x03 \x01(\x0b\x32\x1d.PeripheralOptions.SPIOptions\x12\x30\n\tblockSPI1\x18\x04 \x01(\x0b\x32\x1d.PeripheralOptions.SPIOptions\x12\x30\n\tblockUSB0\x18\x05 \x01(\x0b\x32\x1d.PeripheralOptions.USBOptions\x1a\x46\n\nI2COptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0b\n\x03sda\x18\x02 \x01(\x05\x12\x0b\n\x03scl\x18\x03 \x01(\x05\x12\r\n\x05speed\x18\x04 \x01(\r\x1aN\n\nSPIOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\n\n\x02rx\x18\x02 \x01(\x05\x12\n\n\x02\x63s\x18\x03 \x01(\x05\x12\x0b\n\x03sck\x18\x04 \x01(\x05\x12\n\n\x02tx\x18\x05 \x01(\x05\x1aJ\n\nUSBOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\n\n\x02\x64p\x18\x02 \x01(\x05\x12\x10\n\x08\x65nable5v\x18\x03 \x01(\x05\x12\r\n\x05order\x18\x04 \x01(\r\"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\"\x9b\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\x12\x13\n\x0bpinButtonFn\x18\x13 \x01(\x05\"Q\n\x0fGpioMappingInfo\x12\x1b\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x0b.GpioAction\x12!\n\tdirection\x18\x02 \x01(\x0e\x32\x0e.GpioDirection\"5\n\x0cGpioMappings\x12%\n\x04pins\x18\x01 \x03(\x0b\x32\x10.GpioMappingInfoB\x05\x92?\x02\x10\x1e\"\x93\x02\n\x16\x41lternativePinMappings\x12\x13\n\x0bpinButtonB1\x18\x01 \x01(\x05\x12\x13\n\x0bpinButtonB2\x18\x02 \x01(\x05\x12\x13\n\x0bpinButtonB3\x18\x03 \x01(\x05\x12\x13\n\x0bpinButtonB4\x18\x04 \x01(\x05\x12\x13\n\x0bpinButtonL1\x18\x05 \x01(\x05\x12\x13\n\x0bpinButtonR1\x18\x06 \x01(\x05\x12\x13\n\x0bpinButtonL2\x18\x07 \x01(\x05\x12\x13\n\x0bpinButtonR2\x18\x08 \x01(\x05\x12\x11\n\tpinDpadUp\x18\t \x01(\x05\x12\x13\n\x0bpinDpadDown\x18\n \x01(\x05\x12\x13\n\x0bpinDpadLeft\x18\x0b \x01(\x05\x12\x14\n\x0cpinDpadRight\x18\x0c \x01(\x05\"\x8c\x01\n\x0eProfileOptions\x12J\n deprecatedAlternativePinMappings\x18\x01 \x03(\x0b\x32\x17.AlternativePinMappingsB\x07\x18\x01\x92?\x02\x10\x03\x12.\n\x10gpioMappingsSets\x18\x02 \x03(\x0b\x32\r.GpioMappingsB\x05\x92?\x02\x10\x03\"\x9e\x04\n\x0e\x44isplayOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08i2cBlock\x18\x02 \x01(\x05\x12\x1f\n\x13\x64\x65precatedI2cSDAPin\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1f\n\x13\x64\x65precatedI2cSCLPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x12\n\ni2cAddress\x18\x05 \x01(\x05\x12\x1e\n\x12\x64\x65precatedI2cSpeed\x18\x06 \x01(\x05\x42\x02\x18\x01\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#\n\x0csplashChoice\x18\x0b \x01(\x0e\x32\r.SplashChoice\x12\x16\n\x0esplashDuration\x18\x0c \x01(\x05\x12\x1b\n\x0bsplashImage\x18\r \x01(\x0c\x42\x06\x92?\x03\x08\x80\x08\x12\x0c\n\x04size\x18\x0e \x01(\x05\x12\x0c\n\x04\x66lip\x18\x0f \x01(\x05\x12\x0e\n\x06invert\x18\x10 \x01(\x08\x12\x1b\n\x13\x64isplaySaverTimeout\x18\x11 \x01(\x05\x12\x1c\n\x14turnOffWhenSuspended\x18\x12 \x01(\x08\"\xce\x05\n\nLEDOptions\x12\x0f\n\x07\x64\x61taPin\x18\x01 \x01(\x05\x12#\n\tledFormat\x18\x02 \x01(\x0e\x32\x10.LEDFormat_Proto\x12 \n\tledLayout\x18\x03 \x01(\x0e\x32\r.ButtonLayout\x12\x15\n\rledsPerButton\x18\x04 \x01(\r\x12\x19\n\x11\x62rightnessMaximum\x18\x05 \x01(\r\x12\x17\n\x0f\x62rightnessSteps\x18\x06 \x01(\r\x12\x0f\n\x07indexUp\x18\x07 \x01(\x05\x12\x11\n\tindexDown\x18\x08 \x01(\x05\x12\x11\n\tindexLeft\x18\t \x01(\x05\x12\x12\n\nindexRight\x18\n \x01(\x05\x12\x0f\n\x07indexB1\x18\x0b \x01(\x05\x12\x0f\n\x07indexB2\x18\x0c \x01(\x05\x12\x0f\n\x07indexB3\x18\r \x01(\x05\x12\x0f\n\x07indexB4\x18\x0e \x01(\x05\x12\x0f\n\x07indexL1\x18\x0f \x01(\x05\x12\x0f\n\x07indexR1\x18\x10 \x01(\x05\x12\x0f\n\x07indexL2\x18\x11 \x01(\x05\x12\x0f\n\x07indexR2\x18\x12 \x01(\x05\x12\x0f\n\x07indexS1\x18\x13 \x01(\x05\x12\x0f\n\x07indexS2\x18\x14 \x01(\x05\x12\x0f\n\x07indexL3\x18\x15 \x01(\x05\x12\x0f\n\x07indexR3\x18\x16 \x01(\x05\x12\x0f\n\x07indexA1\x18\x17 \x01(\x05\x12\x0f\n\x07indexA2\x18\x18 \x01(\x05\x12\x1b\n\x08pledType\x18\x19 \x01(\x0e\x32\t.PLEDType\x12\x10\n\x08pledPin1\x18\x1a \x01(\x05\x12\x10\n\x08pledPin2\x18\x1b \x01(\x05\x12\x10\n\x08pledPin3\x18\x1c \x01(\x05\x12\x10\n\x08pledPin4\x18\x1d \x01(\x05\x12\x11\n\tpledColor\x18\x1e \x01(\r\x12\x1c\n\x14turnOffWhenSuspended\x18\x1f \x01(\x08\x12\x12\n\npledIndex1\x18 \x01(\x05\x12\x12\n\npledIndex2\x18! \x01(\x05\x12\x12\n\npledIndex3\x18\" \x01(\x05\x12\x12\n\npledIndex4\x18# \x01(\x05\"\xcc\t\n\x16\x41nimationOptions_Proto\x12\x1a\n\x12\x62\x61seAnimationIndex\x18\x01 \x01(\r\x12\x12\n\nbrightness\x18\x02 \x01(\r\x12\x18\n\x10staticColorIndex\x18\x03 \x01(\r\x12\x18\n\x10\x62uttonColorIndex\x18\x04 \x01(\r\x12\x16\n\x0e\x63haseCycleTime\x18\x05 \x01(\x05\x12\x18\n\x10rainbowCycleTime\x18\x06 \x01(\x05\x12\x12\n\nthemeIndex\x18\x07 \x01(\r\x12\x16\n\x0ehasCustomTheme\x18\x08 \x01(\x08\x12\x15\n\rcustomThemeUp\x18\t \x01(\r\x12\x17\n\x0f\x63ustomThemeDown\x18\n \x01(\r\x12\x17\n\x0f\x63ustomThemeLeft\x18\x0b \x01(\r\x12\x18\n\x10\x63ustomThemeRight\x18\x0c \x01(\r\x12\x15\n\rcustomThemeB1\x18\r \x01(\r\x12\x15\n\rcustomThemeB2\x18\x0e \x01(\r\x12\x15\n\rcustomThemeB3\x18\x0f \x01(\r\x12\x15\n\rcustomThemeB4\x18\x10 \x01(\r\x12\x15\n\rcustomThemeL1\x18\x11 \x01(\r\x12\x15\n\rcustomThemeR1\x18\x12 \x01(\r\x12\x15\n\rcustomThemeL2\x18\x13 \x01(\r\x12\x15\n\rcustomThemeR2\x18\x14 \x01(\r\x12\x15\n\rcustomThemeS1\x18\x15 \x01(\r\x12\x15\n\rcustomThemeS2\x18\x16 \x01(\r\x12\x15\n\rcustomThemeL3\x18\x17 \x01(\r\x12\x15\n\rcustomThemeR3\x18\x18 \x01(\r\x12\x15\n\rcustomThemeA1\x18\x19 \x01(\r\x12\x15\n\rcustomThemeA2\x18\x1a \x01(\r\x12\x1c\n\x14\x63ustomThemeUpPressed\x18\x1b \x01(\r\x12\x1e\n\x16\x63ustomThemeDownPressed\x18\x1c \x01(\r\x12\x1e\n\x16\x63ustomThemeLeftPressed\x18\x1d \x01(\r\x12\x1f\n\x17\x63ustomThemeRightPressed\x18\x1e \x01(\r\x12\x1c\n\x14\x63ustomThemeB1Pressed\x18\x1f \x01(\r\x12\x1c\n\x14\x63ustomThemeB2Pressed\x18 \x01(\r\x12\x1c\n\x14\x63ustomThemeB3Pressed\x18! \x01(\r\x12\x1c\n\x14\x63ustomThemeB4Pressed\x18\" \x01(\r\x12\x1c\n\x14\x63ustomThemeL1Pressed\x18# \x01(\r\x12\x1c\n\x14\x63ustomThemeR1Pressed\x18$ \x01(\r\x12\x1c\n\x14\x63ustomThemeL2Pressed\x18% \x01(\r\x12\x1c\n\x14\x63ustomThemeR2Pressed\x18& \x01(\r\x12\x1c\n\x14\x63ustomThemeS1Pressed\x18\' \x01(\r\x12\x1c\n\x14\x63ustomThemeS2Pressed\x18( \x01(\r\x12\x1c\n\x14\x63ustomThemeL3Pressed\x18) \x01(\r\x12\x1c\n\x14\x63ustomThemeR3Pressed\x18* \x01(\r\x12\x1c\n\x14\x63ustomThemeA1Pressed\x18+ \x01(\r\x12\x1c\n\x14\x63ustomThemeA2Pressed\x18, \x01(\r\x12(\n buttonPressColorCooldownTimeInMs\x18- \x01(\r\":\n\x14\x42ootselButtonOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x11\n\tbuttonMap\x18\x02 \x01(\r\"C\n\x11OnBoardLedOptions\x12\x1d\n\x04mode\x18\x01 \x01(\x0e\x32\x0f.OnBoardLedMode\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\"\xf8\x02\n\rAnalogOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x16\n\x0e\x61nalogAdc1PinX\x18\x02 \x01(\x05\x12\x16\n\x0e\x61nalogAdc1PinY\x18\x03 \x01(\x05\x12\x1a\n\x12\x66orced_circularity\x18\x04 \x01(\x08\x12\x16\n\x0einner_deadzone\x18\x05 \x01(\r\x12\x16\n\x0e\x61nalogAdc2PinX\x18\x06 \x01(\x05\x12\x16\n\x0e\x61nalogAdc2PinY\x18\x07 \x01(\x05\x12!\n\x0e\x61nalogAdc1Mode\x18\x08 \x01(\x0e\x32\t.DpadMode\x12!\n\x0e\x61nalogAdc2Mode\x18\t \x01(\x0e\x32\t.DpadMode\x12%\n\x10\x61nalogAdc1Invert\x18\n \x01(\x0e\x32\x0b.InvertMode\x12%\n\x10\x61nalogAdc2Invert\x18\x0b \x01(\x0e\x32\x0b.InvertMode\x12\x16\n\x0e\x61uto_calibrate\x18\x0c \x01(\x08\x12\x16\n\x0eouter_deadzone\x18\r \x01(\r\"\xcc\x03\n\x0cTurboOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1f\n\x13\x64\x65precatedButtonPin\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\x0e\n\x06ledPin\x18\x03 \x01(\x05\x12\x11\n\tshotCount\x18\x04 \x01(\r\x12\x14\n\x0cshmupDialPin\x18\x05 \x01(\x05\x12\x18\n\x10shmupModeEnabled\x18\x06 \x01(\x08\x12\x16\n\x0eshmupAlwaysOn1\x18\x07 \x01(\r\x12\x16\n\x0eshmupAlwaysOn2\x18\x08 \x01(\r\x12\x16\n\x0eshmupAlwaysOn3\x18\t \x01(\r\x12\x16\n\x0eshmupAlwaysOn4\x18\n \x01(\r\x12\x14\n\x0cshmupBtn1Pin\x18\x0b \x01(\x05\x12\x14\n\x0cshmupBtn2Pin\x18\x0c \x01(\x05\x12\x14\n\x0cshmupBtn3Pin\x18\r \x01(\x05\x12\x14\n\x0cshmupBtn4Pin\x18\x0e \x01(\x05\x12\x15\n\rshmupBtnMask1\x18\x0f \x01(\r\x12\x15\n\rshmupBtnMask2\x18\x10 \x01(\r\x12\x15\n\rshmupBtnMask3\x18\x11 \x01(\r\x12\x15\n\rshmupBtnMask4\x18\x12 \x01(\r\x12#\n\x0cshmupMixMode\x18\x13 \x01(\x0e\x32\r.ShmupMixMode\"\xdc\x01\n\rSliderOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\"\n\x16\x64\x65precatedPinSliderOne\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\"\n\x16\x64\x65precatedPinSliderTwo\x18\x03 \x01(\x05\x42\x02\x18\x01\x12(\n\x11\x64\x65precatedModeOne\x18\x04 \x01(\x0e\x32\t.DpadModeB\x02\x18\x01\x12(\n\x11\x64\x65precatedModeTwo\x18\x05 \x01(\x0e\x32\t.DpadModeB\x02\x18\x01\x12\x1e\n\x0bmodeDefault\x18\x06 \x01(\x0e\x32\t.DpadMode\"\xd4\x01\n\x11SOCDSliderOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1c\n\x10\x64\x65precatedPinOne\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\x1c\n\x10\x64\x65precatedPinTwo\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1e\n\x0bmodeDefault\x18\x04 \x01(\x0e\x32\t.SOCDMode\x12(\n\x11\x64\x65precatedModeOne\x18\x05 \x01(\x0e\x32\t.SOCDModeB\x02\x18\x01\x12(\n\x11\x64\x65precatedModeTwo\x18\x06 \x01(\x0e\x32\t.SOCDModeB\x02\x18\x01\"\x93\x01\n\x0eReverseOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x11\n\tbuttonPin\x18\x02 \x01(\x05\x12\x0e\n\x06ledPin\x18\x03 \x01(\x05\x12\x10\n\x08\x61\x63tionUp\x18\x04 \x01(\r\x12\x12\n\nactionDown\x18\x05 \x01(\r\x12\x12\n\nactionLeft\x18\x06 \x01(\r\x12\x13\n\x0b\x61\x63tionRight\x18\x07 \x01(\r\"\xaf\x01\n\x14\x41nalogADS1219Options\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08i2cBlock\x18\x02 \x01(\x05\x12\x1f\n\x13\x64\x65precatedI2cSDAPin\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1f\n\x13\x64\x65precatedI2cSCLPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x12\n\ni2cAddress\x18\x05 \x01(\x05\x12\x1e\n\x12\x64\x65precatedI2cSpeed\x18\x06 \x01(\x05\x42\x02\x18\x01\"\x7f\n\x14\x41nalogADS1256Options\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08spiBlock\x18\x02 \x01(\x05\x12\r\n\x05\x63sPin\x18\x03 \x01(\x05\x12\x0f\n\x07\x64rdyPin\x18\x04 \x01(\x05\x12\x0c\n\x04\x61vdd\x18\x05 \x01(\x02\x12\x16\n\x0e\x65nableTriggers\x18\x06 \x01(\x08\"\x8c\x02\n\x16\x44ualDirectionalOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1b\n\x0f\x64\x65precatedUpPin\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\x1d\n\x11\x64\x65precatedDownPin\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1d\n\x11\x64\x65precatedLeftPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x1e\n\x12\x64\x65precatedRightPin\x18\x05 \x01(\x05\x42\x02\x18\x01\x12\x1b\n\x08\x64padMode\x18\x06 \x01(\x0e\x32\t.DpadMode\x12\x34\n\x0b\x63ombineMode\x18\x07 \x01(\x0e\x32\x1f.DualDirectionalCombinationMode\x12\x13\n\x0b\x66ourWayMode\x18\x08 \x01(\x08\"\xd8\x04\n\x0bTiltOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08tilt1Pin\x18\x02 \x01(\x05\x12\x10\n\x08tilt2Pin\x18\x03 \x01(\x05\x12%\n\x19\x64\x65precatedTiltFunctionPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x1b\n\x13tiltLeftAnalogUpPin\x18\x05 \x01(\x05\x12\x1d\n\x15tiltLeftAnalogDownPin\x18\x06 \x01(\x05\x12\x1d\n\x15tiltLeftAnalogLeftPin\x18\x07 \x01(\x05\x12\x1e\n\x16tiltLeftAnalogRightPin\x18\x08 \x01(\x05\x12\x1c\n\x14tiltRightAnalogUpPin\x18\t \x01(\x05\x12\x1e\n\x16tiltRightAnalogDownPin\x18\n \x01(\x05\x12\x1e\n\x16tiltRightAnalogLeftPin\x18\x0b \x01(\x05\x12\x1f\n\x17tiltRightAnalogRightPin\x18\x0c \x01(\x05\x12\x1f\n\x0ctiltSOCDMode\x18\r \x01(\x0e\x32\t.SOCDMode\x12\x18\n\x10\x66\x61\x63torTilt1LeftX\x18\x0e \x01(\x05\x12\x18\n\x10\x66\x61\x63torTilt1LeftY\x18\x0f \x01(\x05\x12\x19\n\x11\x66\x61\x63torTilt1RightX\x18\x10 \x01(\x05\x12\x19\n\x11\x66\x61\x63torTilt1RightY\x18\x11 \x01(\x05\x12\x18\n\x10\x66\x61\x63torTilt2LeftX\x18\x12 \x01(\x05\x12\x18\n\x10\x66\x61\x63torTilt2LeftY\x18\x13 \x01(\x05\x12\x19\n\x11\x66\x61\x63torTilt2RightX\x18\x14 \x01(\x05\x12\x19\n\x11\x66\x61\x63torTilt2RightY\x18\x15 \x01(\x05\"P\n\rBuzzerOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0b\n\x03pin\x18\x02 \x01(\x05\x12\x0e\n\x06volume\x18\x03 \x01(\r\x12\x11\n\tenablePin\x18\x04 \x01(\x05\"E\n\x12\x45xtraButtonOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0b\n\x03pin\x18\x02 \x01(\x05\x12\x11\n\tbuttonMap\x18\x03 \x01(\r\"6\n\x13PlayerNumberOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0e\n\x06number\x18\x02 \x01(\r\"\x98\x02\n\nPS4Options\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x15\n\x06serial\x18\x02 \x01(\x0c\x42\x05\x92?\x02\x08\x10\x12\x19\n\tsignature\x18\x03 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x02\x12\x14\n\x04rsaN\x18\x04 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x02\x12\x13\n\x04rsaE\x18\x05 \x01(\x0c\x42\x05\x92?\x02\x08\x04\x12\x14\n\x04rsaD\x18\x06 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x02\x12\x14\n\x04rsaP\x18\x07 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x14\n\x04rsaQ\x18\x08 \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x15\n\x05rsaDP\x18\t \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x15\n\x05rsaDQ\x18\n \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x15\n\x05rsaQP\x18\x0b \x01(\x0c\x42\x06\x92?\x03\x08\x80\x01\x12\x15\n\x05rsaRN\x18\x0c \x01(\x0c\x42\x06\x92?\x03\x08\x80\x02\"h\n\x14PSPassthroughOptions\x12\x13\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x02\x18\x01\x12\x1e\n\x12\x64\x65precatedPinDplus\x18\x02 \x01(\x05\x42\x02\x18\x01\x12\x1b\n\x0f\x64\x65precatedPin5V\x18\x03 \x01(\x05\x42\x02\x18\x01\".\n\x17XBOnePassthroughOptions\x12\x13\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x02\x18\x01\"\xf5\x11\n\nWiiOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08i2cBlock\x18\x02 \x01(\x05\x12\x1f\n\x13\x64\x65precatedI2cSDAPin\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x1f\n\x13\x64\x65precatedI2cSCLPin\x18\x04 \x01(\x05\x42\x02\x18\x01\x12\x1e\n\x12\x64\x65precatedI2cSpeed\x18\x05 \x01(\x05\x42\x02\x18\x01\x12\x32\n\x0b\x63ontrollers\x18\x06 \x01(\x0b\x32\x1d.WiiOptions.ControllerOptions\x1a\x42\n\nAnalogAxis\x12\x10\n\x08\x61xisType\x18\x01 \x01(\x05\x12\x10\n\x08minRange\x18\x02 \x01(\x05\x12\x10\n\x08maxRange\x18\x03 \x01(\x05\x1aT\n\x0cStickOptions\x12!\n\x01x\x18\x01 \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12!\n\x01y\x18\x02 \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x1a[\n\x0eNunchukOptions\x12\x0f\n\x07\x62uttonC\x18\x01 \x01(\x05\x12\x0f\n\x07\x62uttonZ\x18\x02 \x01(\x05\x12\'\n\x05stick\x18\x03 \x01(\x0b\x32\x18.WiiOptions.StickOptions\x1a\xdc\x03\n\x0e\x43lassicOptions\x12\x0f\n\x07\x62uttonA\x18\x01 \x01(\x05\x12\x0f\n\x07\x62uttonB\x18\x02 \x01(\x05\x12\x0f\n\x07\x62uttonX\x18\x03 \x01(\x05\x12\x0f\n\x07\x62uttonY\x18\x04 \x01(\x05\x12\x0f\n\x07\x62uttonL\x18\x05 \x01(\x05\x12\x10\n\x08\x62uttonZL\x18\x06 \x01(\x05\x12\x0f\n\x07\x62uttonR\x18\x07 \x01(\x05\x12\x10\n\x08\x62uttonZR\x18\x08 \x01(\x05\x12\x13\n\x0b\x62uttonMinus\x18\t \x01(\x05\x12\x12\n\nbuttonPlus\x18\n \x01(\x05\x12\x12\n\nbuttonHome\x18\x0b \x01(\x05\x12\x10\n\x08\x62uttonUp\x18\x0c \x01(\x05\x12\x12\n\nbuttonDown\x18\r \x01(\x05\x12\x12\n\nbuttonLeft\x18\x0e \x01(\x05\x12\x13\n\x0b\x62uttonRight\x18\x0f \x01(\x05\x12,\n\nrightStick\x18\x11 \x01(\x0b\x32\x18.WiiOptions.StickOptions\x12+\n\tleftStick\x18\x10 \x01(\x0b\x32\x18.WiiOptions.StickOptions\x12+\n\x0bleftTrigger\x18\x12 \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12,\n\x0crightTrigger\x18\x13 \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x1al\n\x0cTaikoOptions\x12\x15\n\rbuttonKatLeft\x18\x01 \x01(\x05\x12\x16\n\x0e\x62uttonKatRight\x18\x02 \x01(\x05\x12\x15\n\rbuttonDonLeft\x18\x03 \x01(\x05\x12\x16\n\x0e\x62uttonDonRight\x18\x04 \x01(\x05\x1a\xad\x02\n\rGuitarOptions\x12\x11\n\tbuttonRed\x18\x01 \x01(\x05\x12\x13\n\x0b\x62uttonGreen\x18\x02 \x01(\x05\x12\x14\n\x0c\x62uttonYellow\x18\x03 \x01(\x05\x12\x12\n\nbuttonBlue\x18\x04 \x01(\x05\x12\x14\n\x0c\x62uttonOrange\x18\x05 \x01(\x05\x12\x13\n\x0b\x62uttonPedal\x18\x06 \x01(\x05\x12\x13\n\x0b\x62uttonMinus\x18\x07 \x01(\x05\x12\x12\n\nbuttonPlus\x18\x08 \x01(\x05\x12\x0f\n\x07strumUp\x18\t \x01(\x05\x12\x11\n\tstrumDown\x18\n \x01(\x05\x12\'\n\x05stick\x18\x0b \x01(\x0b\x32\x18.WiiOptions.StickOptions\x12)\n\twhammyBar\x18\x0c \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x1a\xdc\x01\n\x0b\x44rumOptions\x12\x11\n\tbuttonRed\x18\x01 \x01(\x05\x12\x13\n\x0b\x62uttonGreen\x18\x02 \x01(\x05\x12\x14\n\x0c\x62uttonYellow\x18\x03 \x01(\x05\x12\x12\n\nbuttonBlue\x18\x04 \x01(\x05\x12\x14\n\x0c\x62uttonOrange\x18\x05 \x01(\x05\x12\x13\n\x0b\x62uttonPedal\x18\x06 \x01(\x05\x12\x13\n\x0b\x62uttonMinus\x18\x07 \x01(\x05\x12\x12\n\nbuttonPlus\x18\x08 \x01(\x05\x12\'\n\x05stick\x18\t \x01(\x0b\x32\x18.WiiOptions.StickOptions\x1a\xbe\x03\n\x10TurntableOptions\x12\x15\n\rbuttonLeftRed\x18\x01 \x01(\x05\x12\x17\n\x0f\x62uttonLeftGreen\x18\x02 \x01(\x05\x12\x16\n\x0e\x62uttonLeftBlue\x18\x03 \x01(\x05\x12\x16\n\x0e\x62uttonRightRed\x18\x04 \x01(\x05\x12\x18\n\x10\x62uttonRightGreen\x18\x05 \x01(\x05\x12\x17\n\x0f\x62uttonRightBlue\x18\x06 \x01(\x05\x12\x13\n\x0b\x62uttonMinus\x18\x07 \x01(\x05\x12\x12\n\nbuttonPlus\x18\x08 \x01(\x05\x12\x16\n\x0e\x62uttonEuphoria\x18\t \x01(\x05\x12\'\n\x05stick\x18\n \x01(\x0b\x32\x18.WiiOptions.StickOptions\x12-\n\rleftTurntable\x18\x0b \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12.\n\x0erightTurntable\x18\x0c \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12\'\n\x07\x65\x66\x66\x65\x63ts\x18\r \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x12%\n\x05\x66\x61\x64\x65r\x18\x0e \x01(\x0b\x32\x16.WiiOptions.AnalogAxis\x1a\x99\x02\n\x11\x43ontrollerOptions\x12+\n\x07nunchuk\x18\x01 \x01(\x0b\x32\x1a.WiiOptions.NunchukOptions\x12+\n\x07\x63lassic\x18\x02 \x01(\x0b\x32\x1a.WiiOptions.ClassicOptions\x12\'\n\x05taiko\x18\x03 \x01(\x0b\x32\x18.WiiOptions.TaikoOptions\x12)\n\x06guitar\x18\x04 \x01(\x0b\x32\x19.WiiOptions.GuitarOptions\x12%\n\x04\x64rum\x18\x05 \x01(\x0b\x32\x17.WiiOptions.DrumOptions\x12/\n\tturntable\x18\x06 \x01(\x0b\x32\x1c.WiiOptions.TurntableOptions\"S\n\x0bSNESOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08\x63lockPin\x18\x02 \x01(\x05\x12\x10\n\x08latchPin\x18\x03 \x01(\x05\x12\x0f\n\x07\x64\x61taPin\x18\x04 \x01(\x05\"\x86\x01\n\x13KeyboardHostOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1e\n\x12\x64\x65precatedPinDplus\x18\x02 \x01(\x05\x42\x02\x18\x01\x12!\n\x07mapping\x18\x03 \x01(\x0b\x32\x10.KeyboardMapping\x12\x1b\n\x0f\x64\x65precatedPin5V\x18\x04 \x01(\x05\x42\x02\x18\x01\"\xae\x01\n\x10\x46ocusModeOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0b\n\x03pin\x18\x02 \x01(\x05\x12\x16\n\x0e\x62uttonLockMask\x18\x03 \x01(\x05\x12\x17\n\x0foledLockEnabled\x18\x04 \x01(\x08\x12\x16\n\x0ergbLockEnabled\x18\x05 \x01(\x08\x12\x19\n\x11\x62uttonLockEnabled\x18\x06 \x01(\x08\x12\x18\n\x10macroLockEnabled\x18\x07 \x01(\x08\"K\n\nMacroInput\x12\x12\n\nbuttonMask\x18\x01 \x01(\r\x12\x10\n\x08\x64uration\x18\x02 \x01(\r\x12\x17\n\x0cwaitDuration\x18\x03 \x01(\r:\x01\x30\"\xae\x02\n\x05Macro\x12\x1d\n\tmacroType\x18\x01 \x01(\x0e\x32\n.MacroType\x12\x19\n\nmacroLabel\x18\x02 \x01(\tB\x05\x92?\x02p@\x12\'\n\x0bmacroInputs\x18\x03 \x03(\x0b\x32\x0b.MacroInputB\x05\x92?\x02\x10\x1e\x12\x0f\n\x07\x65nabled\x18\x04 \x01(\x08\x12\x1d\n\x15useMacroTriggerButton\x18\x05 \x01(\x08\x12%\n\x19\x64\x65precatedMacroTriggerPin\x18\x06 \x01(\x05\x42\x02\x18\x01\x12\x1a\n\x12macroTriggerButton\x18\x07 \x01(\r\x12\x17\n\texclusive\x18\x08 \x01(\x08:\x04true\x12\x1b\n\rinterruptible\x18\t \x01(\x08:\x04true\x12\x19\n\nshowFrames\x18\n \x01(\x08:\x05\x66\x61lse\"z\n\x0cMacroOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x19\n\rdeprecatedPin\x18\x02 \x01(\x05\x42\x02\x18\x01\x12 \n\tmacroList\x18\x03 \x03(\x0b\x32\x06.MacroB\x05\x92?\x02\x10\x06\x12\x1c\n\x14macroBoardLedEnabled\x18\x04 \x01(\x08\"P\n\x13InputHistoryOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0e\n\x06length\x18\x02 \x01(\r\x12\x0b\n\x03\x63ol\x18\x03 \x01(\r\x12\x0b\n\x03row\x18\x04 \x01(\r\"\xc2\x01\n\x10RotaryPinOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0c\n\x04pinA\x18\x02 \x01(\x05\x12\x0c\n\x04pinB\x18\x03 \x01(\x05\x12#\n\x04mode\x18\x04 \x01(\x0e\x32\x15.RotaryEncoderPinMode\x12\x1b\n\x13pulsesPerRevolution\x18\x05 \x01(\r\x12\x12\n\nresetAfter\x18\x06 \x01(\r\x12\x17\n\x0f\x61llowWrapAround\x18\x07 \x01(\x08\x12\x12\n\nmultiplier\x18\x08 \x01(\x02\"n\n\rRotaryOptions\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12%\n\nencoderOne\x18\x02 \x01(\x0b\x32\x11.RotaryPinOptions\x12%\n\nencoderTwo\x18\x03 \x01(\x0b\x32\x11.RotaryPinOptions\"Z\n\x0ePCF8575Options\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x10\n\x08i2cBlock\x18\x02 \x01(\x05\x12%\n\x04pins\x18\x03 \x03(\x0b\x32\x10.GpioMappingInfoB\x05\x92?\x02\x10\x10\"\x89\t\n\x0c\x41\x64\x64onOptions\x12\x33\n\x14\x62ootselButtonOptions\x18\x01 \x01(\x0b\x32\x15.BootselButtonOptions\x12-\n\x11onBoardLedOptions\x18\x02 \x01(\x0b\x32\x12.OnBoardLedOptions\x12%\n\ranalogOptions\x18\x03 \x01(\x0b\x32\x0e.AnalogOptions\x12#\n\x0cturboOptions\x18\x04 \x01(\x0b\x32\r.TurboOptions\x12%\n\rsliderOptions\x18\x05 \x01(\x0b\x32\x0e.SliderOptions\x12\'\n\x0ereverseOptions\x18\x06 \x01(\x0b\x32\x0f.ReverseOptions\x12\x33\n\x14\x61nalogADS1219Options\x18\x07 \x01(\x0b\x32\x15.AnalogADS1219Options\x12\x37\n\x16\x64ualDirectionalOptions\x18\x08 \x01(\x0b\x32\x17.DualDirectionalOptions\x12%\n\rbuzzerOptions\x18\t \x01(\x0b\x32\x0e.BuzzerOptions\x12=\n\x1c\x64\x65precatedExtraButtonOptions\x18\n \x01(\x0b\x32\x13.ExtraButtonOptionsB\x02\x18\x01\x12\x31\n\x13playerNumberOptions\x18\x0b \x01(\x0b\x32\x14.PlayerNumberOptions\x12\'\n\nps4Options\x18\x0c \x01(\x0b\x32\x0b.PS4OptionsB\x06\x92?\x03\xf0\x01\x01\x12\x1f\n\nwiiOptions\x18\r \x01(\x0b\x32\x0b.WiiOptions\x12-\n\x11socdSliderOptions\x18\x0e \x01(\x0b\x32\x12.SOCDSliderOptions\x12!\n\x0bsnesOptions\x18\x0f \x01(\x0b\x32\x0c.SNESOptions\x12+\n\x10\x66ocusModeOptions\x18\x10 \x01(\x0b\x32\x11.FocusModeOptions\x12\x31\n\x13keyboardHostOptions\x18\x11 \x01(\x0b\x32\x14.KeyboardHostOptions\x12!\n\x0btiltOptions\x18\x12 \x01(\x0b\x32\x0c.TiltOptions\x12\x37\n\x14psPassthroughOptions\x18\x13 \x01(\x0b\x32\x15.PSPassthroughOptionsB\x02\x18\x01\x12#\n\x0cmacroOptions\x18\x14 \x01(\x0b\x32\r.MacroOptions\x12\x31\n\x13inputHistoryOptions\x18\x15 \x01(\x0b\x32\x14.InputHistoryOptions\x12=\n\x17xbonePassthroughOptions\x18\x16 \x01(\x0b\x32\x18.XBOnePassthroughOptionsB\x02\x18\x01\x12\x33\n\x14\x61nalogADS1256Options\x18\x17 \x01(\x0b\x32\x15.AnalogADS1256Options\x12%\n\rrotaryOptions\x18\x18 \x01(\x0b\x32\x0e.RotaryOptions\x12\'\n\x0epcf8575Options\x18\x19 \x01(\x0b\x32\x0f.PCF8575Options\"~\n\x10MigrationHistory\x12\x1e\n\x0fhotkeysMigrated\x18\x01 \x01(\x08:\x05\x66\x61lse\x12#\n\x14gpioMappingsMigrated\x18\x02 \x01(\x08:\x05\x66\x61lse\x12%\n\x16\x62uttonProfilesMigrated\x18\x03 \x01(\x08:\x05\x66\x61lse\"\xe4\x04\n\x06\x43onfig\x12\x1b\n\x0c\x62oardVersion\x18\x01 \x01(\tB\x05\x92?\x02p\x1f\x12\'\n\x0egamepadOptions\x18\x02 \x01(\x0b\x32\x0f.GamepadOptions\x12%\n\rhotkeyOptions\x18\x03 \x01(\x0b\x32\x0e.HotkeyOptions\x12/\n\x15\x64\x65precatedPinMappings\x18\x04 \x01(\x0b\x32\x0c.PinMappingsB\x02\x18\x01\x12)\n\x0fkeyboardMapping\x18\x05 \x01(\x0b\x32\x10.KeyboardMapping\x12\'\n\x0e\x64isplayOptions\x18\x06 \x01(\x0b\x32\x0f.DisplayOptions\x12\x1f\n\nledOptions\x18\x07 \x01(\x0b\x32\x0b.LEDOptions\x12\x31\n\x10\x61nimationOptions\x18\x08 \x01(\x0b\x32\x17.AnimationOptions_Proto\x12#\n\x0c\x61\x64\x64onOptions\x18\t \x01(\x0b\x32\r.AddonOptions\x12/\n\x12\x66orcedSetupOptions\x18\n \x01(\x0b\x32\x13.ForcedSetupOptions\x12\'\n\x0eprofileOptions\x18\x0b \x01(\x0b\x32\x0f.ProfileOptions\x12\x1a\n\x0b\x62oardConfig\x18\x0c \x01(\tB\x05\x92?\x02p?\x12#\n\x0cgpioMappings\x18\r \x01(\x0b\x32\r.GpioMappings\x12%\n\nmigrations\x18\x0e \x01(\x0b\x32\x11.MigrationHistory\x12-\n\x11peripheralOptions\x18\x0f \x01(\x0b\x32\x12.PeripheralOptions') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'config_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _GAMEPADOPTIONS.fields_by_name['ps4ReportHack']._options = None - _GAMEPADOPTIONS.fields_by_name['ps4ReportHack']._serialized_options = b'\030\001' - _GPIOMAPPINGS.fields_by_name['pins']._options = None - _GPIOMAPPINGS.fields_by_name['pins']._serialized_options = b'\222?\002\020\036' - _PROFILEOPTIONS.fields_by_name['deprecatedAlternativePinMappings']._options = None - _PROFILEOPTIONS.fields_by_name['deprecatedAlternativePinMappings']._serialized_options = b'\030\001\222?\002\020\003' - _PROFILEOPTIONS.fields_by_name['gpioMappingsSets']._options = None - _PROFILEOPTIONS.fields_by_name['gpioMappingsSets']._serialized_options = b'\222?\002\020\003' - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSDAPin']._options = None - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSDAPin']._serialized_options = b'\030\001' - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSCLPin']._options = None - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSCLPin']._serialized_options = b'\030\001' - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSpeed']._options = None - _DISPLAYOPTIONS.fields_by_name['deprecatedI2cSpeed']._serialized_options = b'\030\001' - _DISPLAYOPTIONS.fields_by_name['splashImage']._options = None - _DISPLAYOPTIONS.fields_by_name['splashImage']._serialized_options = b'\222?\003\010\200\010' - _TURBOOPTIONS.fields_by_name['deprecatedButtonPin']._options = None - _TURBOOPTIONS.fields_by_name['deprecatedButtonPin']._serialized_options = b'\030\001' - _SLIDEROPTIONS.fields_by_name['deprecatedPinSliderOne']._options = None - _SLIDEROPTIONS.fields_by_name['deprecatedPinSliderOne']._serialized_options = b'\030\001' - _SLIDEROPTIONS.fields_by_name['deprecatedPinSliderTwo']._options = None - _SLIDEROPTIONS.fields_by_name['deprecatedPinSliderTwo']._serialized_options = b'\030\001' - _SLIDEROPTIONS.fields_by_name['deprecatedModeOne']._options = None - _SLIDEROPTIONS.fields_by_name['deprecatedModeOne']._serialized_options = b'\030\001' - _SLIDEROPTIONS.fields_by_name['deprecatedModeTwo']._options = None - _SLIDEROPTIONS.fields_by_name['deprecatedModeTwo']._serialized_options = b'\030\001' - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedPinOne']._options = None - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedPinOne']._serialized_options = b'\030\001' - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedPinTwo']._options = None - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedPinTwo']._serialized_options = b'\030\001' - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedModeOne']._options = None - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedModeOne']._serialized_options = b'\030\001' - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedModeTwo']._options = None - _SOCDSLIDEROPTIONS.fields_by_name['deprecatedModeTwo']._serialized_options = b'\030\001' - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSDAPin']._options = None - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSDAPin']._serialized_options = b'\030\001' - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSCLPin']._options = None - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSCLPin']._serialized_options = b'\030\001' - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSpeed']._options = None - _ANALOGADS1219OPTIONS.fields_by_name['deprecatedI2cSpeed']._serialized_options = b'\030\001' - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedUpPin']._options = None - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedUpPin']._serialized_options = b'\030\001' - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedDownPin']._options = None - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedDownPin']._serialized_options = b'\030\001' - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedLeftPin']._options = None - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedLeftPin']._serialized_options = b'\030\001' - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedRightPin']._options = None - _DUALDIRECTIONALOPTIONS.fields_by_name['deprecatedRightPin']._serialized_options = b'\030\001' - _TILTOPTIONS.fields_by_name['deprecatedTiltFunctionPin']._options = None - _TILTOPTIONS.fields_by_name['deprecatedTiltFunctionPin']._serialized_options = b'\030\001' - _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' - _PSPASSTHROUGHOPTIONS.fields_by_name['enabled']._options = None - _PSPASSTHROUGHOPTIONS.fields_by_name['enabled']._serialized_options = b'\030\001' - _PSPASSTHROUGHOPTIONS.fields_by_name['deprecatedPinDplus']._options = None - _PSPASSTHROUGHOPTIONS.fields_by_name['deprecatedPinDplus']._serialized_options = b'\030\001' - _PSPASSTHROUGHOPTIONS.fields_by_name['deprecatedPin5V']._options = None - _PSPASSTHROUGHOPTIONS.fields_by_name['deprecatedPin5V']._serialized_options = b'\030\001' - _XBONEPASSTHROUGHOPTIONS.fields_by_name['enabled']._options = None - _XBONEPASSTHROUGHOPTIONS.fields_by_name['enabled']._serialized_options = b'\030\001' - _WIIOPTIONS.fields_by_name['deprecatedI2cSDAPin']._options = None - _WIIOPTIONS.fields_by_name['deprecatedI2cSDAPin']._serialized_options = b'\030\001' - _WIIOPTIONS.fields_by_name['deprecatedI2cSCLPin']._options = None - _WIIOPTIONS.fields_by_name['deprecatedI2cSCLPin']._serialized_options = b'\030\001' - _WIIOPTIONS.fields_by_name['deprecatedI2cSpeed']._options = None - _WIIOPTIONS.fields_by_name['deprecatedI2cSpeed']._serialized_options = b'\030\001' - _KEYBOARDHOSTOPTIONS.fields_by_name['deprecatedPinDplus']._options = None - _KEYBOARDHOSTOPTIONS.fields_by_name['deprecatedPinDplus']._serialized_options = b'\030\001' - _KEYBOARDHOSTOPTIONS.fields_by_name['deprecatedPin5V']._options = None - _KEYBOARDHOSTOPTIONS.fields_by_name['deprecatedPin5V']._serialized_options = b'\030\001' - _MACRO.fields_by_name['macroLabel']._options = None - _MACRO.fields_by_name['macroLabel']._serialized_options = b'\222?\002p@' - _MACRO.fields_by_name['macroInputs']._options = None - _MACRO.fields_by_name['macroInputs']._serialized_options = b'\222?\002\020\036' - _MACRO.fields_by_name['deprecatedMacroTriggerPin']._options = None - _MACRO.fields_by_name['deprecatedMacroTriggerPin']._serialized_options = b'\030\001' - _MACROOPTIONS.fields_by_name['deprecatedPin']._options = None - _MACROOPTIONS.fields_by_name['deprecatedPin']._serialized_options = b'\030\001' - _MACROOPTIONS.fields_by_name['macroList']._options = None - _MACROOPTIONS.fields_by_name['macroList']._serialized_options = b'\222?\002\020\006' - _PCF8575OPTIONS.fields_by_name['pins']._options = None - _PCF8575OPTIONS.fields_by_name['pins']._serialized_options = b'\222?\002\020\020' - _ADDONOPTIONS.fields_by_name['deprecatedExtraButtonOptions']._options = None - _ADDONOPTIONS.fields_by_name['deprecatedExtraButtonOptions']._serialized_options = b'\030\001' - _ADDONOPTIONS.fields_by_name['ps4Options']._options = None - _ADDONOPTIONS.fields_by_name['ps4Options']._serialized_options = b'\222?\003\360\001\001' - _ADDONOPTIONS.fields_by_name['psPassthroughOptions']._options = None - _ADDONOPTIONS.fields_by_name['psPassthroughOptions']._serialized_options = b'\030\001' - _ADDONOPTIONS.fields_by_name['xbonePassthroughOptions']._options = None - _ADDONOPTIONS.fields_by_name['xbonePassthroughOptions']._serialized_options = b'\030\001' - _CONFIG.fields_by_name['boardVersion']._options = None - _CONFIG.fields_by_name['boardVersion']._serialized_options = b'\222?\002p\037' - _CONFIG.fields_by_name['deprecatedPinMappings']._options = None - _CONFIG.fields_by_name['deprecatedPinMappings']._serialized_options = b'\030\001' - _CONFIG.fields_by_name['boardConfig']._options = None - _CONFIG.fields_by_name['boardConfig']._serialized_options = b'\222?\002p?' - _GAMEPADOPTIONS._serialized_start=44 - _GAMEPADOPTIONS._serialized_end=676 - _KEYBOARDMAPPING._serialized_start=679 - _KEYBOARDMAPPING._serialized_end=1073 - _HOTKEYENTRY._serialized_start=1075 - _HOTKEYENTRY._serialized_end=1176 - _HOTKEYOPTIONS._serialized_start=1179 - _HOTKEYOPTIONS._serialized_end=1706 - _PERIPHERALOPTIONS._serialized_start=1709 - _PERIPHERALOPTIONS._serialized_end=2206 - _PERIPHERALOPTIONS_I2COPTIONS._serialized_start=1980 - _PERIPHERALOPTIONS_I2COPTIONS._serialized_end=2050 - _PERIPHERALOPTIONS_SPIOPTIONS._serialized_start=2052 - _PERIPHERALOPTIONS_SPIOPTIONS._serialized_end=2130 - _PERIPHERALOPTIONS_USBOPTIONS._serialized_start=2132 - _PERIPHERALOPTIONS_USBOPTIONS._serialized_end=2206 - _FORCEDSETUPOPTIONS._serialized_start=2208 - _FORCEDSETUPOPTIONS._serialized_end=2260 - _BUTTONLAYOUTPARAMSCOMMON._serialized_start=2262 - _BUTTONLAYOUTPARAMSCOMMON._serialized_end=2365 - _BUTTONLAYOUTPARAMSLEFT._serialized_start=2367 - _BUTTONLAYOUTPARAMSLEFT._serialized_end=2465 - _BUTTONLAYOUTPARAMSRIGHT._serialized_start=2467 - _BUTTONLAYOUTPARAMSRIGHT._serialized_end=2571 - _BUTTONLAYOUTCUSTOMOPTIONS._serialized_start=2573 - _BUTTONLAYOUTCUSTOMOPTIONS._serialized_end=2692 - _PINMAPPINGS._serialized_start=2695 - _PINMAPPINGS._serialized_end=3106 - _GPIOMAPPINGINFO._serialized_start=3108 - _GPIOMAPPINGINFO._serialized_end=3189 - _GPIOMAPPINGS._serialized_start=3191 - _GPIOMAPPINGS._serialized_end=3244 - _ALTERNATIVEPINMAPPINGS._serialized_start=3247 - _ALTERNATIVEPINMAPPINGS._serialized_end=3522 - _PROFILEOPTIONS._serialized_start=3525 - _PROFILEOPTIONS._serialized_end=3665 - _DISPLAYOPTIONS._serialized_start=3668 - _DISPLAYOPTIONS._serialized_end=4210 - _LEDOPTIONS._serialized_start=4213 - _LEDOPTIONS._serialized_end=4931 - _ANIMATIONOPTIONS_PROTO._serialized_start=4934 - _ANIMATIONOPTIONS_PROTO._serialized_end=6162 - _BOOTSELBUTTONOPTIONS._serialized_start=6164 - _BOOTSELBUTTONOPTIONS._serialized_end=6222 - _ONBOARDLEDOPTIONS._serialized_start=6224 - _ONBOARDLEDOPTIONS._serialized_end=6291 - _ANALOGOPTIONS._serialized_start=6294 - _ANALOGOPTIONS._serialized_end=6670 - _TURBOOPTIONS._serialized_start=6673 - _TURBOOPTIONS._serialized_end=7133 - _SLIDEROPTIONS._serialized_start=7136 - _SLIDEROPTIONS._serialized_end=7356 - _SOCDSLIDEROPTIONS._serialized_start=7359 - _SOCDSLIDEROPTIONS._serialized_end=7571 - _REVERSEOPTIONS._serialized_start=7574 - _REVERSEOPTIONS._serialized_end=7721 - _ANALOGADS1219OPTIONS._serialized_start=7724 - _ANALOGADS1219OPTIONS._serialized_end=7899 - _ANALOGADS1256OPTIONS._serialized_start=7901 - _ANALOGADS1256OPTIONS._serialized_end=8028 - _DUALDIRECTIONALOPTIONS._serialized_start=8031 - _DUALDIRECTIONALOPTIONS._serialized_end=8299 - _TILTOPTIONS._serialized_start=8302 - _TILTOPTIONS._serialized_end=8902 - _BUZZEROPTIONS._serialized_start=8904 - _BUZZEROPTIONS._serialized_end=8984 - _EXTRABUTTONOPTIONS._serialized_start=8986 - _EXTRABUTTONOPTIONS._serialized_end=9055 - _PLAYERNUMBEROPTIONS._serialized_start=9057 - _PLAYERNUMBEROPTIONS._serialized_end=9111 - _PS4OPTIONS._serialized_start=9114 - _PS4OPTIONS._serialized_end=9394 - _PSPASSTHROUGHOPTIONS._serialized_start=9396 - _PSPASSTHROUGHOPTIONS._serialized_end=9500 - _XBONEPASSTHROUGHOPTIONS._serialized_start=9502 - _XBONEPASSTHROUGHOPTIONS._serialized_end=9548 - _WIIOPTIONS._serialized_start=9551 - _WIIOPTIONS._serialized_end=11844 - _WIIOPTIONS_ANALOGAXIS._serialized_start=9750 - _WIIOPTIONS_ANALOGAXIS._serialized_end=9816 - _WIIOPTIONS_STICKOPTIONS._serialized_start=9818 - _WIIOPTIONS_STICKOPTIONS._serialized_end=9902 - _WIIOPTIONS_NUNCHUKOPTIONS._serialized_start=9904 - _WIIOPTIONS_NUNCHUKOPTIONS._serialized_end=9995 - _WIIOPTIONS_CLASSICOPTIONS._serialized_start=9998 - _WIIOPTIONS_CLASSICOPTIONS._serialized_end=10474 - _WIIOPTIONS_TAIKOOPTIONS._serialized_start=10476 - _WIIOPTIONS_TAIKOOPTIONS._serialized_end=10584 - _WIIOPTIONS_GUITAROPTIONS._serialized_start=10587 - _WIIOPTIONS_GUITAROPTIONS._serialized_end=10888 - _WIIOPTIONS_DRUMOPTIONS._serialized_start=10891 - _WIIOPTIONS_DRUMOPTIONS._serialized_end=11111 - _WIIOPTIONS_TURNTABLEOPTIONS._serialized_start=11114 - _WIIOPTIONS_TURNTABLEOPTIONS._serialized_end=11560 - _WIIOPTIONS_CONTROLLEROPTIONS._serialized_start=11563 - _WIIOPTIONS_CONTROLLEROPTIONS._serialized_end=11844 - _SNESOPTIONS._serialized_start=11846 - _SNESOPTIONS._serialized_end=11929 - _KEYBOARDHOSTOPTIONS._serialized_start=11932 - _KEYBOARDHOSTOPTIONS._serialized_end=12066 - _FOCUSMODEOPTIONS._serialized_start=12069 - _FOCUSMODEOPTIONS._serialized_end=12243 - _MACROINPUT._serialized_start=12245 - _MACROINPUT._serialized_end=12320 - _MACRO._serialized_start=12323 - _MACRO._serialized_end=12625 - _MACROOPTIONS._serialized_start=12627 - _MACROOPTIONS._serialized_end=12749 - _INPUTHISTORYOPTIONS._serialized_start=12751 - _INPUTHISTORYOPTIONS._serialized_end=12831 - _ROTARYPINOPTIONS._serialized_start=12834 - _ROTARYPINOPTIONS._serialized_end=13028 - _ROTARYOPTIONS._serialized_start=13030 - _ROTARYOPTIONS._serialized_end=13140 - _PCF8575OPTIONS._serialized_start=13142 - _PCF8575OPTIONS._serialized_end=13232 - _ADDONOPTIONS._serialized_start=13235 - _ADDONOPTIONS._serialized_end=14396 - _MIGRATIONHISTORY._serialized_start=14398 - _MIGRATIONHISTORY._serialized_end=14524 - _CONFIG._serialized_start=14527 - _CONFIG._serialized_end=15139 -# @@protoc_insertion_point(module_scope) diff --git a/tests/test-files/pb2-files/enums_pb2.py b/tests/test-files/pb2-files/enums_pb2.py deleted file mode 100644 index 371bab1..0000000 --- a/tests/test-files/pb2-files/enums_pb2.py +++ /dev/null @@ -1,114 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: enums.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\x0b\x65nums.proto\x1a\x0cnanopb.proto*\xbd\x08\n\x0c\x42uttonLayout\x12\x17\n\x13\x42UTTON_LAYOUT_STICK\x10\x00\x12\x1b\n\x17\x42UTTON_LAYOUT_STICKLESS\x10\x01\x12 \n\x1c\x42UTTON_LAYOUT_BUTTONS_ANGLED\x10\x02\x12\x1f\n\x1b\x42UTTON_LAYOUT_BUTTONS_BASIC\x10\x03\x12!\n\x1d\x42UTTON_LAYOUT_KEYBOARD_ANGLED\x10\x04\x12\x1b\n\x17\x42UTTON_LAYOUT_KEYBOARDA\x10\x05\x12\x1b\n\x17\x42UTTON_LAYOUT_DANCEPADA\x10\x06\x12\x1c\n\x18\x42UTTON_LAYOUT_TWINSTICKA\x10\x07\x12\x18\n\x14\x42UTTON_LAYOUT_BLANKA\x10\x08\x12\x16\n\x12\x42UTTON_LAYOUT_VLXA\x10\t\x12\"\n\x1e\x42UTTON_LAYOUT_FIGHTBOARD_STICK\x10\n\x12%\n!BUTTON_LAYOUT_FIGHTBOARD_MIRRORED\x10\x0b\x12\x19\n\x15\x42UTTON_LAYOUT_CUSTOMA\x10\x0c\x12 \n\x1c\x42UTTON_LAYOUT_OPENCORE0WASDA\x10\r\x12\x1e\n\x1a\x42UTTON_LAYOUT_STICKLESS_13\x10\x0e\x12\x1e\n\x1a\x42UTTON_LAYOUT_STICKLESS_16\x10\x0f\x12\x1e\n\x1a\x42UTTON_LAYOUT_STICKLESS_14\x10\x10\x12#\n\x1f\x42UTTON_LAYOUT_DANCEPAD_DDR_LEFT\x10\x11\x12#\n\x1f\x42UTTON_LAYOUT_DANCEPAD_DDR_SOLO\x10\x12\x12#\n\x1f\x42UTTON_LAYOUT_DANCEPAD_PIU_LEFT\x10\x13\x12\x18\n\x14\x42UTTON_LAYOUT_POPN_A\x10\x14\x12\x19\n\x15\x42UTTON_LAYOUT_TAIKO_A\x10\x15\x12 \n\x1c\x42UTTON_LAYOUT_BM_TURNTABLE_A\x10\x16\x12\x1b\n\x17\x42UTTON_LAYOUT_BM_5KEY_A\x10\x17\x12\x1b\n\x17\x42UTTON_LAYOUT_BM_7KEY_A\x10\x18\x12!\n\x1d\x42UTTON_LAYOUT_GITADORA_FRET_A\x10\x19\x12\"\n\x1e\x42UTTON_LAYOUT_GITADORA_STRUM_A\x10\x1a\x12!\n\x1d\x42UTTON_LAYOUT_BOARD_DEFINED_A\x10\x1b\x12!\n\x1d\x42UTTON_LAYOUT_BANDHERO_FRET_A\x10\x1c\x12\"\n\x1e\x42UTTON_LAYOUT_BANDHERO_STRUM_A\x10\x1d\x12\x19\n\x15\x42UTTON_LAYOUT_6GAWD_A\x10\x1e\x12#\n\x1f\x42UTTON_LAYOUT_6GAWD_ALLBUTTON_A\x10\x1f\x12\'\n#BUTTON_LAYOUT_6GAWD_ALLBUTTONPLUS_A\x10 \x1a\x05\x92?\x02 \x00*\x9c\t\n\x11\x42uttonLayoutRight\x12\x18\n\x14\x42UTTON_LAYOUT_ARCADE\x10\x00\x12\x1c\n\x18\x42UTTON_LAYOUT_STICKLESSB\x10\x01\x12!\n\x1d\x42UTTON_LAYOUT_BUTTONS_ANGLEDB\x10\x02\x12\x18\n\x14\x42UTTON_LAYOUT_VEWLIX\x10\x03\x12\x19\n\x15\x42UTTON_LAYOUT_VEWLIX7\x10\x04\x12\x18\n\x14\x42UTTON_LAYOUT_CAPCOM\x10\x05\x12\x19\n\x15\x42UTTON_LAYOUT_CAPCOM6\x10\x06\x12\x18\n\x14\x42UTTON_LAYOUT_SEGA2P\x10\x07\x12\x17\n\x13\x42UTTON_LAYOUT_NOIR8\x10\x08\x12\x1b\n\x17\x42UTTON_LAYOUT_KEYBOARDB\x10\t\x12\x1b\n\x17\x42UTTON_LAYOUT_DANCEPADB\x10\n\x12\x1c\n\x18\x42UTTON_LAYOUT_TWINSTICKB\x10\x0b\x12\x18\n\x14\x42UTTON_LAYOUT_BLANKB\x10\x0c\x12\x16\n\x12\x42UTTON_LAYOUT_VLXB\x10\r\x12\x1c\n\x18\x42UTTON_LAYOUT_FIGHTBOARD\x10\x0e\x12+\n\'BUTTON_LAYOUT_FIGHTBOARD_STICK_MIRRORED\x10\x0f\x12\x19\n\x15\x42UTTON_LAYOUT_CUSTOMB\x10\x10\x12\x1c\n\x18\x42UTTON_LAYOUT_KEYBOARD8B\x10\x11\x12 \n\x1c\x42UTTON_LAYOUT_OPENCORE0WASDB\x10\x12\x12\x1f\n\x1b\x42UTTON_LAYOUT_STICKLESS_13B\x10\x13\x12\x1f\n\x1b\x42UTTON_LAYOUT_STICKLESS_16B\x10\x14\x12\x1f\n\x1b\x42UTTON_LAYOUT_STICKLESS_14B\x10\x15\x12$\n BUTTON_LAYOUT_DANCEPAD_DDR_RIGHT\x10\x16\x12$\n BUTTON_LAYOUT_DANCEPAD_PIU_RIGHT\x10\x17\x12\x18\n\x14\x42UTTON_LAYOUT_POPN_B\x10\x18\x12\x19\n\x15\x42UTTON_LAYOUT_TAIKO_B\x10\x19\x12 \n\x1c\x42UTTON_LAYOUT_BM_TURNTABLE_B\x10\x1a\x12\x1b\n\x17\x42UTTON_LAYOUT_BM_5KEY_B\x10\x1b\x12\x1b\n\x17\x42UTTON_LAYOUT_BM_7KEY_B\x10\x1c\x12!\n\x1d\x42UTTON_LAYOUT_GITADORA_FRET_B\x10\x1d\x12\"\n\x1e\x42UTTON_LAYOUT_GITADORA_STRUM_B\x10\x1e\x12!\n\x1d\x42UTTON_LAYOUT_BOARD_DEFINED_B\x10\x1f\x12!\n\x1d\x42UTTON_LAYOUT_BANDHERO_FRET_B\x10 \x12\"\n\x1e\x42UTTON_LAYOUT_BANDHERO_STRUM_B\x10!\x12\x19\n\x15\x42UTTON_LAYOUT_6GAWD_B\x10\"\x12#\n\x1f\x42UTTON_LAYOUT_6GAWD_ALLBUTTON_B\x10#\x12\'\n#BUTTON_LAYOUT_6GAWD_ALLBUTTONPLUS_B\x10$\x1a\x05\x92?\x02 \x00*y\n\nSplashMode\x12\x16\n\x12SPLASH_MODE_STATIC\x10\x00\x12\x17\n\x13SPLASH_MODE_CLOSEIN\x10\x01\x12\x1d\n\x19SPLASH_MODE_CLOSEINCUSTOM\x10\x02\x12\x14\n\x10SPLASH_MODE_NONE\x10\x03\x1a\x05\x92?\x02 \x00*\xa0\x01\n\x0cSplashChoice\x12\x16\n\x12SPLASH_CHOICE_MAIN\x10\x00\x12\x13\n\x0fSPLASH_CHOICE_X\x10\x01\x12\x13\n\x0fSPLASH_CHOICE_Y\x10\x02\x12\x13\n\x0fSPLASH_CHOICE_Z\x10\x03\x12\x18\n\x14SPLASH_CHOICE_CUSTOM\x10\x04\x12\x18\n\x14SPLASH_CHOICE_LEGACY\x10\x05\x1a\x05\x92?\x02 \x00*\x99\x01\n\x0eOnBoardLedMode\x12\x19\n\x15ON_BOARD_LED_MODE_OFF\x10\x00\x12$\n ON_BOARD_LED_MODE_MODE_INDICATOR\x10\x01\x12 \n\x1cON_BOARD_LED_MODE_INPUT_TEST\x10\x02\x12\x1d\n\x19ON_BOARD_LED_MODE_PS_AUTH\x10\x03\x1a\x05\x92?\x02 \x00*\xec\x02\n\tInputMode\x12\x15\n\x11INPUT_MODE_XINPUT\x10\x00\x12\x15\n\x11INPUT_MODE_SWITCH\x10\x01\x12\x12\n\x0eINPUT_MODE_HID\x10\x02\x12\x17\n\x13INPUT_MODE_KEYBOARD\x10\x03\x12\x12\n\x0eINPUT_MODE_PS4\x10\x04\x12\x14\n\x10INPUT_MODE_XBONE\x10\x05\x12\x15\n\x11INPUT_MODE_MDMINI\x10\x06\x12\x15\n\x11INPUT_MODE_NEOGEO\x10\x07\x12\x16\n\x12INPUT_MODE_PCEMINI\x10\x08\x12\x14\n\x10INPUT_MODE_EGRET\x10\t\x12\x14\n\x10INPUT_MODE_ASTRO\x10\n\x12\x18\n\x14INPUT_MODE_PSCLASSIC\x10\x0b\x12\x1b\n\x17INPUT_MODE_XBOXORIGINAL\x10\x0c\x12\x12\n\x0eINPUT_MODE_PS5\x10\r\x12\x16\n\x11INPUT_MODE_CONFIG\x10\xff\x01\x1a\x05\x92?\x02 \x00*\x94\x01\n\x11InputModeAuthType\x12\x1d\n\x19INPUT_MODE_AUTH_TYPE_NONE\x10\x00\x12\x1d\n\x19INPUT_MODE_AUTH_TYPE_KEYS\x10\x01\x12\x1c\n\x18INPUT_MODE_AUTH_TYPE_USB\x10\x02\x12\x1c\n\x18INPUT_MODE_AUTH_TYPE_I2C\x10\x03\x1a\x05\x92?\x02 \x00*_\n\x08\x44padMode\x12\x15\n\x11\x44PAD_MODE_DIGITAL\x10\x00\x12\x19\n\x15\x44PAD_MODE_LEFT_ANALOG\x10\x01\x12\x1a\n\x16\x44PAD_MODE_RIGHT_ANALOG\x10\x02\x1a\x05\x92?\x02 \x00*O\n\nInvertMode\x12\x0f\n\x0bINVERT_NONE\x10\x00\x12\x0c\n\x08INVERT_X\x10\x01\x12\x0c\n\x08INVERT_Y\x10\x02\x12\r\n\tINVERT_XY\x10\x03\x1a\x05\x92?\x02 \x00*\xa2\x01\n\x08SOCDMode\x12\x19\n\x15SOCD_MODE_UP_PRIORITY\x10\x00\x12\x15\n\x11SOCD_MODE_NEUTRAL\x10\x01\x12#\n\x1fSOCD_MODE_SECOND_INPUT_PRIORITY\x10\x02\x12\"\n\x1eSOCD_MODE_FIRST_INPUT_PRIORITY\x10\x03\x12\x14\n\x10SOCD_MODE_BYPASS\x10\x04\x1a\x05\x92?\x02 \x00*\x88\x08\n\nGpioAction\x12\x11\n\x04NONE\x10\xf6\xff\xff\xff\xff\xff\xff\xff\xff\x01\x12\x15\n\x08RESERVED\x10\xfb\xff\xff\xff\xff\xff\xff\xff\xff\x01\x12\x15\n\x11\x41SSIGNED_TO_ADDON\x10\x00\x12\x13\n\x0f\x42UTTON_PRESS_UP\x10\x01\x12\x15\n\x11\x42UTTON_PRESS_DOWN\x10\x02\x12\x15\n\x11\x42UTTON_PRESS_LEFT\x10\x03\x12\x16\n\x12\x42UTTON_PRESS_RIGHT\x10\x04\x12\x13\n\x0f\x42UTTON_PRESS_B1\x10\x05\x12\x13\n\x0f\x42UTTON_PRESS_B2\x10\x06\x12\x13\n\x0f\x42UTTON_PRESS_B3\x10\x07\x12\x13\n\x0f\x42UTTON_PRESS_B4\x10\x08\x12\x13\n\x0f\x42UTTON_PRESS_L1\x10\t\x12\x13\n\x0f\x42UTTON_PRESS_R1\x10\n\x12\x13\n\x0f\x42UTTON_PRESS_L2\x10\x0b\x12\x13\n\x0f\x42UTTON_PRESS_R2\x10\x0c\x12\x13\n\x0f\x42UTTON_PRESS_S1\x10\r\x12\x13\n\x0f\x42UTTON_PRESS_S2\x10\x0e\x12\x13\n\x0f\x42UTTON_PRESS_A1\x10\x0f\x12\x13\n\x0f\x42UTTON_PRESS_A2\x10\x10\x12\x13\n\x0f\x42UTTON_PRESS_L3\x10\x11\x12\x13\n\x0f\x42UTTON_PRESS_R3\x10\x12\x12\x13\n\x0f\x42UTTON_PRESS_FN\x10\x13\x12\x17\n\x13\x42UTTON_PRESS_DDI_UP\x10\x14\x12\x19\n\x15\x42UTTON_PRESS_DDI_DOWN\x10\x15\x12\x19\n\x15\x42UTTON_PRESS_DDI_LEFT\x10\x16\x12\x1a\n\x16\x42UTTON_PRESS_DDI_RIGHT\x10\x17\x12\x16\n\x12SUSTAIN_DP_MODE_DP\x10\x18\x12\x16\n\x12SUSTAIN_DP_MODE_LS\x10\x19\x12\x16\n\x12SUSTAIN_DP_MODE_RS\x10\x1a\x12\x1d\n\x19SUSTAIN_SOCD_MODE_UP_PRIO\x10\x1b\x12\x1d\n\x19SUSTAIN_SOCD_MODE_NEUTRAL\x10\x1c\x12 \n\x1cSUSTAIN_SOCD_MODE_SECOND_WIN\x10\x1d\x12\x1f\n\x1bSUSTAIN_SOCD_MODE_FIRST_WIN\x10\x1e\x12\x1c\n\x18SUSTAIN_SOCD_MODE_BYPASS\x10\x1f\x12\x16\n\x12\x42UTTON_PRESS_TURBO\x10 \x12\x16\n\x12\x42UTTON_PRESS_MACRO\x10!\x12\x18\n\x14\x42UTTON_PRESS_MACRO_1\x10\"\x12\x18\n\x14\x42UTTON_PRESS_MACRO_2\x10#\x12\x18\n\x14\x42UTTON_PRESS_MACRO_3\x10$\x12\x18\n\x14\x42UTTON_PRESS_MACRO_4\x10%\x12\x18\n\x14\x42UTTON_PRESS_MACRO_5\x10&\x12\x18\n\x14\x42UTTON_PRESS_MACRO_6\x10\'\x1a\x05\x92?\x02 \x00*K\n\rGpioDirection\x12\x18\n\x14GPIO_DIRECTION_INPUT\x10\x00\x12\x19\n\x15GPIO_DIRECTION_OUTPUT\x10\x01\x1a\x05\x92?\x02 \x00*\x99\x07\n\rGamepadHotkey\x12\x0f\n\x0bHOTKEY_NONE\x10\x00\x12\x17\n\x13HOTKEY_DPAD_DIGITAL\x10\x01\x12\x1b\n\x17HOTKEY_DPAD_LEFT_ANALOG\x10\x02\x12\x1c\n\x18HOTKEY_DPAD_RIGHT_ANALOG\x10\x03\x12\x16\n\x12HOTKEY_HOME_BUTTON\x10\x04\x12\x19\n\x15HOTKEY_CAPTURE_BUTTON\x10\x05\x12\x1b\n\x17HOTKEY_SOCD_UP_PRIORITY\x10\x06\x12\x17\n\x13HOTKEY_SOCD_NEUTRAL\x10\x07\x12\x1a\n\x16HOTKEY_SOCD_LAST_INPUT\x10\x08\x12\x18\n\x14HOTKEY_INVERT_X_AXIS\x10\t\x12\x18\n\x14HOTKEY_INVERT_Y_AXIS\x10\n\x12\x1b\n\x17HOTKEY_SOCD_FIRST_INPUT\x10\x0b\x12\x16\n\x12HOTKEY_SOCD_BYPASS\x10\x0c\x12\x1c\n\x18HOTKEY_TOGGLE_4_WAY_MODE\x10\r\x12 \n\x1cHOTKEY_TOGGLE_DDI_4_WAY_MODE\x10\x0e\x12\x19\n\x15HOTKEY_LOAD_PROFILE_1\x10\x0f\x12\x19\n\x15HOTKEY_LOAD_PROFILE_2\x10\x10\x12\x19\n\x15HOTKEY_LOAD_PROFILE_3\x10\x11\x12\x19\n\x15HOTKEY_LOAD_PROFILE_4\x10\x12\x12\x14\n\x10HOTKEY_L3_BUTTON\x10\x13\x12\x14\n\x10HOTKEY_R3_BUTTON\x10\x14\x12\x1a\n\x16HOTKEY_TOUCHPAD_BUTTON\x10\x15\x12\x19\n\x15HOTKEY_REBOOT_DEFAULT\x10\x16\x12\x14\n\x10HOTKEY_B1_BUTTON\x10\x17\x12\x14\n\x10HOTKEY_B2_BUTTON\x10\x18\x12\x14\n\x10HOTKEY_B3_BUTTON\x10\x19\x12\x14\n\x10HOTKEY_B4_BUTTON\x10\x1a\x12\x14\n\x10HOTKEY_L1_BUTTON\x10\x1b\x12\x14\n\x10HOTKEY_R1_BUTTON\x10\x1c\x12\x14\n\x10HOTKEY_L2_BUTTON\x10\x1d\x12\x14\n\x10HOTKEY_R2_BUTTON\x10\x1e\x12\x14\n\x10HOTKEY_S1_BUTTON\x10\x1f\x12\x14\n\x10HOTKEY_S2_BUTTON\x10 \x12\x14\n\x10HOTKEY_A1_BUTTON\x10!\x12\x14\n\x10HOTKEY_A2_BUTTON\x10\"\x12\x17\n\x13HOTKEY_NEXT_PROFILE\x10#\x1a\x05\x92?\x02 \x00*c\n\x0fLEDFormat_Proto\x12\x12\n\x0eLED_FORMAT_GRB\x10\x00\x12\x12\n\x0eLED_FORMAT_RGB\x10\x01\x12\x13\n\x0fLED_FORMAT_GRBW\x10\x02\x12\x13\n\x0fLED_FORMAT_RGBW\x10\x03*\\\n\x0cShmupMixMode\x12!\n\x1dSHMUP_MIX_MODE_TURBO_PRIORITY\x10\x00\x12\"\n\x1eSHMUP_MIX_MODE_CHARGE_PRIORITY\x10\x01\x1a\x05\x92?\x02 \x00*T\n\x08PLEDType\x12\x1b\n\x0ePLED_TYPE_NONE\x10\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\x12\x11\n\rPLED_TYPE_PWM\x10\x00\x12\x11\n\rPLED_TYPE_RGB\x10\x01\x1a\x05\x92?\x02 \x00*\xa3\x01\n\x0f\x46orcedSetupMode\x12\x19\n\x15\x46ORCED_SETUP_MODE_OFF\x10\x00\x12&\n\"FORCED_SETUP_MODE_LOCK_MODE_SWITCH\x10\x01\x12%\n!FORCED_SETUP_MODE_LOCK_WEB_CONFIG\x10\x02\x12\x1f\n\x1b\x46ORCED_SETUP_MODE_LOCK_BOTH\x10\x03\x1a\x05\x92?\x02 \x00*g\n\x1e\x44ualDirectionalCombinationMode\x12\x0e\n\nMIXED_MODE\x10\x00\x12\x10\n\x0cGAMEPAD_MODE\x10\x01\x12\r\n\tDUAL_MODE\x10\x02\x12\r\n\tNONE_MODE\x10\x03\x1a\x05\x92?\x02 \x00*C\n\x11PS4ControllerType\x12\x12\n\x0ePS4_CONTROLLER\x10\x00\x12\x13\n\x0fPS4_ARCADESTICK\x10\x07\x1a\x05\x92?\x02 \x00*C\n\tMacroType\x12\x0c\n\x08ON_PRESS\x10\x01\x12\x12\n\x0eON_HOLD_REPEAT\x10\x02\x12\r\n\tON_TOGGLE\x10\x03\x1a\x05\x92?\x02 \x00*\xea\x01\n\tGPElement\x12\x15\n\x11GP_ELEMENT_WIDGET\x10\x00\x12\x15\n\x11GP_ELEMENT_SCREEN\x10\x01\x12\x19\n\x15GP_ELEMENT_BTN_BUTTON\x10\x02\x12\x19\n\x15GP_ELEMENT_DIR_BUTTON\x10\x03\x12\x19\n\x15GP_ELEMENT_PIN_BUTTON\x10\x04\x12\x14\n\x10GP_ELEMENT_LEVER\x10\x05\x12\x14\n\x10GP_ELEMENT_LABEL\x10\x06\x12\x15\n\x11GP_ELEMENT_SPRITE\x10\x07\x12\x14\n\x10GP_ELEMENT_SHAPE\x10\x08\x1a\x05\x92?\x02 \x00*{\n\x0cGPShape_Type\x12\x14\n\x10GP_SHAPE_ELLIPSE\x10\x00\x12\x13\n\x0fGP_SHAPE_SQUARE\x10\x01\x12\x11\n\rGP_SHAPE_LINE\x10\x02\x12\x14\n\x10GP_SHAPE_POLYGON\x10\x03\x12\x10\n\x0cGP_SHAPE_ARC\x10\x04\x1a\x05\x92?\x02 \x00*\xa7\x02\n\x14RotaryEncoderPinMode\x12\x15\n\x11\x45NCODER_MODE_NONE\x10\x00\x12\x1e\n\x1a\x45NCODER_MODE_LEFT_ANALOG_X\x10\x01\x12\x1e\n\x1a\x45NCODER_MODE_LEFT_ANALOG_Y\x10\x02\x12\x1f\n\x1b\x45NCODER_MODE_RIGHT_ANALOG_X\x10\x03\x12\x1f\n\x1b\x45NCODER_MODE_RIGHT_ANALOG_Y\x10\x04\x12\x1d\n\x19\x45NCODER_MODE_LEFT_TRIGGER\x10\x05\x12\x1e\n\x1a\x45NCODER_MODE_RIGHT_TRIGGER\x10\x06\x12\x17\n\x13\x45NCODER_MODE_DPAD_X\x10\x07\x12\x17\n\x13\x45NCODER_MODE_DPAD_Y\x10\x08\x1a\x05\x92?\x02 \x00') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'enums_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _BUTTONLAYOUT._options = None - _BUTTONLAYOUT._serialized_options = b'\222?\002 \000' - _BUTTONLAYOUTRIGHT._options = None - _BUTTONLAYOUTRIGHT._serialized_options = b'\222?\002 \000' - _SPLASHMODE._options = None - _SPLASHMODE._serialized_options = b'\222?\002 \000' - _SPLASHCHOICE._options = None - _SPLASHCHOICE._serialized_options = b'\222?\002 \000' - _ONBOARDLEDMODE._options = None - _ONBOARDLEDMODE._serialized_options = b'\222?\002 \000' - _INPUTMODE._options = None - _INPUTMODE._serialized_options = b'\222?\002 \000' - _INPUTMODEAUTHTYPE._options = None - _INPUTMODEAUTHTYPE._serialized_options = b'\222?\002 \000' - _DPADMODE._options = None - _DPADMODE._serialized_options = b'\222?\002 \000' - _INVERTMODE._options = None - _INVERTMODE._serialized_options = b'\222?\002 \000' - _SOCDMODE._options = None - _SOCDMODE._serialized_options = b'\222?\002 \000' - _GPIOACTION._options = None - _GPIOACTION._serialized_options = b'\222?\002 \000' - _GPIODIRECTION._options = None - _GPIODIRECTION._serialized_options = b'\222?\002 \000' - _GAMEPADHOTKEY._options = None - _GAMEPADHOTKEY._serialized_options = b'\222?\002 \000' - _SHMUPMIXMODE._options = None - _SHMUPMIXMODE._serialized_options = b'\222?\002 \000' - _PLEDTYPE._options = None - _PLEDTYPE._serialized_options = b'\222?\002 \000' - _FORCEDSETUPMODE._options = None - _FORCEDSETUPMODE._serialized_options = b'\222?\002 \000' - _DUALDIRECTIONALCOMBINATIONMODE._options = None - _DUALDIRECTIONALCOMBINATIONMODE._serialized_options = b'\222?\002 \000' - _PS4CONTROLLERTYPE._options = None - _PS4CONTROLLERTYPE._serialized_options = b'\222?\002 \000' - _MACROTYPE._options = None - _MACROTYPE._serialized_options = b'\222?\002 \000' - _GPELEMENT._options = None - _GPELEMENT._serialized_options = b'\222?\002 \000' - _GPSHAPE_TYPE._options = None - _GPSHAPE_TYPE._serialized_options = b'\222?\002 \000' - _ROTARYENCODERPINMODE._options = None - _ROTARYENCODERPINMODE._serialized_options = b'\222?\002 \000' - _BUTTONLAYOUT._serialized_start=30 - _BUTTONLAYOUT._serialized_end=1115 - _BUTTONLAYOUTRIGHT._serialized_start=1118 - _BUTTONLAYOUTRIGHT._serialized_end=2298 - _SPLASHMODE._serialized_start=2300 - _SPLASHMODE._serialized_end=2421 - _SPLASHCHOICE._serialized_start=2424 - _SPLASHCHOICE._serialized_end=2584 - _ONBOARDLEDMODE._serialized_start=2587 - _ONBOARDLEDMODE._serialized_end=2740 - _INPUTMODE._serialized_start=2743 - _INPUTMODE._serialized_end=3107 - _INPUTMODEAUTHTYPE._serialized_start=3110 - _INPUTMODEAUTHTYPE._serialized_end=3258 - _DPADMODE._serialized_start=3260 - _DPADMODE._serialized_end=3355 - _INVERTMODE._serialized_start=3357 - _INVERTMODE._serialized_end=3436 - _SOCDMODE._serialized_start=3439 - _SOCDMODE._serialized_end=3601 - _GPIOACTION._serialized_start=3604 - _GPIOACTION._serialized_end=4636 - _GPIODIRECTION._serialized_start=4638 - _GPIODIRECTION._serialized_end=4713 - _GAMEPADHOTKEY._serialized_start=4716 - _GAMEPADHOTKEY._serialized_end=5637 - _LEDFORMAT_PROTO._serialized_start=5639 - _LEDFORMAT_PROTO._serialized_end=5738 - _SHMUPMIXMODE._serialized_start=5740 - _SHMUPMIXMODE._serialized_end=5832 - _PLEDTYPE._serialized_start=5834 - _PLEDTYPE._serialized_end=5918 - _FORCEDSETUPMODE._serialized_start=5921 - _FORCEDSETUPMODE._serialized_end=6084 - _DUALDIRECTIONALCOMBINATIONMODE._serialized_start=6086 - _DUALDIRECTIONALCOMBINATIONMODE._serialized_end=6189 - _PS4CONTROLLERTYPE._serialized_start=6191 - _PS4CONTROLLERTYPE._serialized_end=6258 - _MACROTYPE._serialized_start=6260 - _MACROTYPE._serialized_end=6327 - _GPELEMENT._serialized_start=6330 - _GPELEMENT._serialized_end=6564 - _GPSHAPE_TYPE._serialized_start=6566 - _GPSHAPE_TYPE._serialized_end=6689 - _ROTARYENCODERPINMODE._serialized_start=6692 - _ROTARYENCODERPINMODE._serialized_end=6987 -# @@protoc_insertion_point(module_scope) diff --git a/tests/test-files/pb2-files/nanopb_pb2.py b/tests/test-files/pb2-files/nanopb_pb2.py deleted file mode 100644 index 84f802c..0000000 --- a/tests/test-files/pb2-files/nanopb_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: nanopb.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() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cnanopb.proto\x1a google/protobuf/descriptor.proto\"\xc4\x07\n\rNanoPBOptions\x12\x10\n\x08max_size\x18\x01 \x01(\x05\x12\x12\n\nmax_length\x18\x0e \x01(\x05\x12\x11\n\tmax_count\x18\x02 \x01(\x05\x12&\n\x08int_size\x18\x07 \x01(\x0e\x32\x08.IntSize:\nIS_DEFAULT\x12$\n\x04type\x18\x03 \x01(\x0e\x32\n.FieldType:\nFT_DEFAULT\x12\x18\n\nlong_names\x18\x04 \x01(\x08:\x04true\x12\x1c\n\rpacked_struct\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0bpacked_enum\x18\n \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0cskip_message\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\x18\n\tno_unions\x18\x08 \x01(\x08:\x05\x66\x61lse\x12\r\n\x05msgid\x18\t \x01(\r\x12\x1e\n\x0f\x61nonymous_oneof\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\x15\n\x06proto3\x18\x0c \x01(\x08:\x05\x66\x61lse\x12#\n\x14proto3_singular_msgs\x18\x15 \x01(\x08:\x05\x66\x61lse\x12\x1d\n\x0e\x65num_to_string\x18\r \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0c\x66ixed_length\x18\x0f \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0b\x66ixed_count\x18\x10 \x01(\x08:\x05\x66\x61lse\x12\x1e\n\x0fsubmsg_callback\x18\x16 \x01(\x08:\x05\x66\x61lse\x12/\n\x0cmangle_names\x18\x11 \x01(\x0e\x32\x11.TypenameMangling:\x06M_NONE\x12(\n\x11\x63\x61llback_datatype\x18\x12 \x01(\t:\rpb_callback_t\x12\x34\n\x11\x63\x61llback_function\x18\x13 \x01(\t:\x19pb_default_field_callback\x12\x30\n\x0e\x64\x65scriptorsize\x18\x14 \x01(\x0e\x32\x0f.DescriptorSize:\x07\x44S_AUTO\x12\x1a\n\x0b\x64\x65\x66\x61ult_has\x18\x17 \x01(\x08:\x05\x66\x61lse\x12\x0f\n\x07include\x18\x18 \x03(\t\x12\x0f\n\x07\x65xclude\x18\x1a \x03(\t\x12\x0f\n\x07package\x18\x19 \x01(\t\x12\x41\n\rtype_override\x18\x1b \x01(\x0e\x32*.google.protobuf.FieldDescriptorProto.Type\x12\x19\n\x0bsort_by_tag\x18\x1c \x01(\x08:\x04true\x12.\n\rfallback_type\x18\x1d \x01(\x0e\x32\n.FieldType:\x0b\x46T_CALLBACK\x12\x1e\n\x0f\x64isallow_export\x18\x1e \x01(\x08:\x05\x66\x61lse*i\n\tFieldType\x12\x0e\n\nFT_DEFAULT\x10\x00\x12\x0f\n\x0b\x46T_CALLBACK\x10\x01\x12\x0e\n\nFT_POINTER\x10\x04\x12\r\n\tFT_STATIC\x10\x02\x12\r\n\tFT_IGNORE\x10\x03\x12\r\n\tFT_INLINE\x10\x05*D\n\x07IntSize\x12\x0e\n\nIS_DEFAULT\x10\x00\x12\x08\n\x04IS_8\x10\x08\x12\t\n\x05IS_16\x10\x10\x12\t\n\x05IS_32\x10 \x12\t\n\x05IS_64\x10@*Z\n\x10TypenameMangling\x12\n\n\x06M_NONE\x10\x00\x12\x13\n\x0fM_STRIP_PACKAGE\x10\x01\x12\r\n\tM_FLATTEN\x10\x02\x12\x16\n\x12M_PACKAGE_INITIALS\x10\x03*E\n\x0e\x44\x65scriptorSize\x12\x0b\n\x07\x44S_AUTO\x10\x00\x12\x08\n\x04\x44S_1\x10\x01\x12\x08\n\x04\x44S_2\x10\x02\x12\x08\n\x04\x44S_4\x10\x04\x12\x08\n\x04\x44S_8\x10\x08:E\n\x0enanopb_fileopt\x12\x1c.google.protobuf.FileOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:G\n\rnanopb_msgopt\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:E\n\x0enanopb_enumopt\x12\x1c.google.protobuf.EnumOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:>\n\x06nanopb\x12\x1d.google.protobuf.FieldOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptionsB\x1a\n\x18\x66i.kapsi.koti.jpa.nanopb') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nanopb_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(nanopb_fileopt) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(nanopb_msgopt) - google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(nanopb_enumopt) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(nanopb) - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030fi.kapsi.koti.jpa.nanopb' - _FIELDTYPE._serialized_start=1017 - _FIELDTYPE._serialized_end=1122 - _INTSIZE._serialized_start=1124 - _INTSIZE._serialized_end=1192 - _TYPENAMEMANGLING._serialized_start=1194 - _TYPENAMEMANGLING._serialized_end=1284 - _DESCRIPTORSIZE._serialized_start=1286 - _DESCRIPTORSIZE._serialized_end=1355 - _NANOPBOPTIONS._serialized_start=51 - _NANOPBOPTIONS._serialized_end=1015 -# @@protoc_insertion_point(module_scope) diff --git a/tests/test-files/proto-files/config.proto b/tests/test-files/proto-files/config.proto index 1dfd2e6..af78fe7 100644 --- a/tests/test-files/proto-files/config.proto +++ b/tests/test-files/proto-files/config.proto @@ -28,6 +28,7 @@ message GamepadOptions optional InputModeAuthType ps4AuthType = 21; optional InputModeAuthType ps5AuthType = 22; optional InputModeAuthType xinputAuthType = 23; + optional PS4ControllerIDMode ps4ControllerIDMode = 24; } message KeyboardMapping @@ -50,6 +51,21 @@ message KeyboardMapping optional uint32 keyButtonR3 = 16; optional uint32 keyButtonA1 = 17; optional uint32 keyButtonA2 = 18; + optional uint32 keyButtonA3 = 19; + optional uint32 keyButtonA4 = 20; + optional uint32 keyButtonE1 = 21; + optional uint32 keyButtonE2 = 22; + optional uint32 keyButtonE3 = 23; + optional uint32 keyButtonE4 = 24; + optional uint32 keyButtonE5 = 25; + optional uint32 keyButtonE6 = 26; + optional uint32 keyButtonE7 = 27; + optional uint32 keyButtonE8 = 28; + optional uint32 keyButtonE9 = 29; + optional uint32 keyButtonE10 = 30; + optional uint32 keyButtonE11 = 31; + optional uint32 keyButtonE12 = 32; + } message HotkeyEntry @@ -169,11 +185,15 @@ message GpioMappingInfo { optional GpioAction action = 1; optional GpioDirection direction = 2; + optional uint32 customDpadMask = 3; + optional uint32 customButtonMask = 4; } message GpioMappings { repeated GpioMappingInfo pins = 1 [(nanopb).max_count = 30]; + optional string profileLabel = 2 [(nanopb).max_length = 16]; + optional bool enabled = 3 [default = false]; } @@ -204,25 +224,25 @@ message DisplayOptions { optional bool enabled = 1; - optional int32 i2cBlock = 2; + optional int32 deprecatedI2cBlock = 2 [deprecated = true]; optional int32 deprecatedI2cSDAPin = 3 [deprecated = true]; optional int32 deprecatedI2cSCLPin = 4 [deprecated = true]; - optional int32 i2cAddress = 5; + optional int32 deprecatedI2cAddress = 5 [deprecated = true]; optional int32 deprecatedI2cSpeed = 6 [deprecated = true]; - + optional ButtonLayout buttonLayout = 7; optional ButtonLayoutRight buttonLayoutRight = 8; optional ButtonLayoutCustomOptions buttonLayoutCustomOptions = 9; - + optional SplashMode splashMode = 10; optional SplashChoice splashChoice = 11; optional int32 splashDuration = 12; optional bytes splashImage = 13 [(nanopb).max_size = 1024]; - + optional int32 size = 14; optional int32 flip = 15; optional bool invert = 16; - + optional int32 displaySaverTimeout = 17; optional bool turnOffWhenSuspended = 18; } @@ -235,7 +255,7 @@ message LEDOptions optional uint32 ledsPerButton = 4; optional uint32 brightnessMaximum = 5; optional uint32 brightnessSteps = 6; - + optional int32 indexUp = 7; optional int32 indexDown = 8; optional int32 indexLeft = 9; @@ -254,7 +274,7 @@ message LEDOptions optional int32 indexR3 = 22; optional int32 indexA1 = 23; optional int32 indexA2 = 24; - + optional PLEDType pledType = 25; optional int32 pledPin1 = 26; optional int32 pledPin2 = 27; @@ -280,7 +300,7 @@ message AnimationOptions_Proto optional int32 chaseCycleTime = 5; optional int32 rainbowCycleTime = 6; optional uint32 themeIndex = 7; - + optional bool hasCustomTheme = 8; optional uint32 customThemeUp = 9; optional uint32 customThemeDown = 10; @@ -318,7 +338,7 @@ message AnimationOptions_Proto optional uint32 customThemeR3Pressed = 42; optional uint32 customThemeA1Pressed = 43; optional uint32 customThemeA2Pressed = 44; - optional uint32 buttonPressColorCooldownTimeInMs = 45; + optional uint32 buttonPressColorCooldownTimeInMs = 45; } message BootselButtonOptions @@ -336,7 +356,7 @@ message OnBoardLedOptions message AnalogOptions { optional bool enabled = 1; - + optional int32 analogAdc1PinX = 2; optional int32 analogAdc1PinY = 3; optional bool forced_circularity = 4; @@ -349,17 +369,20 @@ message AnalogOptions optional InvertMode analogAdc2Invert = 11; optional bool auto_calibrate = 12; optional uint32 outer_deadzone = 13; + optional bool analog_smoothing = 14; + optional float smoothing_factor = 15; + optional uint32 analog_error = 16; } message TurboOptions { optional bool enabled = 1; - + optional int32 deprecatedButtonPin = 2 [deprecated = true]; optional int32 ledPin = 3; optional uint32 shotCount = 4; optional int32 shmupDialPin = 5; - + optional bool shmupModeEnabled = 6; optional uint32 shmupAlwaysOn1 = 7; optional uint32 shmupAlwaysOn2 = 8; @@ -379,21 +402,21 @@ message TurboOptions message SliderOptions { optional bool enabled = 1; - + optional int32 deprecatedPinSliderOne = 2 [deprecated = true]; optional int32 deprecatedPinSliderTwo = 3 [deprecated = true]; optional DpadMode deprecatedModeOne = 4 [deprecated = true]; optional DpadMode deprecatedModeTwo = 5 [deprecated = true]; - optional DpadMode modeDefault = 6; + optional DpadMode deprecatedModeDefault = 6; } message SOCDSliderOptions { optional bool enabled = 1; - + optional int32 deprecatedPinOne = 2 [deprecated = true]; optional int32 deprecatedPinTwo = 3 [deprecated = true]; - + optional SOCDMode modeDefault = 4; optional SOCDMode deprecatedModeOne = 5 [deprecated = true]; optional SOCDMode deprecatedModeTwo = 6 [deprecated = true]; @@ -402,10 +425,10 @@ message SOCDSliderOptions message ReverseOptions { optional bool enabled = 1; - + optional int32 buttonPin = 2; optional int32 ledPin = 3; - + optional uint32 actionUp = 4; optional uint32 actionDown = 5; optional uint32 actionLeft = 6; @@ -416,10 +439,10 @@ message AnalogADS1219Options { optional bool enabled = 1; - optional int32 i2cBlock = 2; + optional int32 deprecatedI2cBlock = 2 [deprecated = true]; optional int32 deprecatedI2cSDAPin = 3 [deprecated = true]; optional int32 deprecatedI2cSCLPin = 4 [deprecated = true]; - optional int32 i2cAddress = 5; + optional int32 deprecatedI2cAddress = 5 [deprecated = true]; optional int32 deprecatedI2cSpeed = 6 [deprecated = true]; } @@ -437,12 +460,12 @@ message AnalogADS1256Options message DualDirectionalOptions { optional bool enabled = 1; - + optional int32 deprecatedUpPin = 2 [deprecated = true]; optional int32 deprecatedDownPin = 3 [deprecated = true]; optional int32 deprecatedLeftPin = 4 [deprecated = true]; optional int32 deprecatedRightPin = 5 [deprecated = true]; - + optional DpadMode dpadMode = 6; optional DualDirectionalCombinationMode combineMode = 7; optional bool fourWayMode = 8; @@ -465,7 +488,7 @@ message TiltOptions optional int32 tiltRightAnalogRightPin = 12; optional SOCDMode tiltSOCDMode = 13; - + optional int32 factorTilt1LeftX = 14; optional int32 factorTilt1LeftY = 15; optional int32 factorTilt1RightX = 16; @@ -479,7 +502,7 @@ message TiltOptions message BuzzerOptions { optional bool enabled = 1; - + optional int32 pin = 2; optional uint32 volume = 3; optional int32 enablePin = 4; @@ -488,7 +511,7 @@ message BuzzerOptions message ExtraButtonOptions { optional bool enabled = 1; - + optional int32 pin = 2; optional uint32 buttonMap = 3; } @@ -541,7 +564,7 @@ message WiiOptions optional AnalogAxis x = 1; optional AnalogAxis y = 2; } - + message NunchukOptions { optional int32 buttonC = 1; @@ -572,7 +595,7 @@ message WiiOptions optional AnalogAxis rightTrigger = 19; } - message TaikoOptions + message TaikoOptions { optional int32 buttonKatLeft = 1; optional int32 buttonKatRight = 2; @@ -638,7 +661,7 @@ message WiiOptions } optional bool enabled = 1; - optional int32 i2cBlock = 2; + optional int32 deprecatedI2cBlock = 2 [deprecated = true]; optional int32 deprecatedI2cSDAPin = 3 [deprecated = true]; optional int32 deprecatedI2cSCLPin = 4 [deprecated = true]; optional int32 deprecatedI2cSpeed = 5 [deprecated = true]; @@ -660,6 +683,9 @@ message KeyboardHostOptions optional int32 deprecatedPinDplus = 2 [deprecated = true]; optional KeyboardMapping mapping = 3; optional int32 deprecatedPin5V = 4 [deprecated = true]; + optional uint32 mouseLeft = 5; + optional uint32 mouseMiddle = 6; + optional uint32 mouseRight = 7; } message FocusModeOptions @@ -732,17 +758,43 @@ message RotaryOptions message PCF8575Options { optional bool enabled = 1; - optional int32 i2cBlock = 2; + optional int32 deprecatedI2cBlock = 2 [deprecated = true]; repeated GpioMappingInfo pins = 3 [(nanopb).max_count = 16]; } +message DRV8833RumbleOptions +{ + optional bool enabled = 1; + + optional int32 leftMotorPin = 2; + optional int32 rightMotorPin = 3; + optional int32 motorSleepPin = 4; + optional uint32 pwmFrequency = 5; + optional float dutyMin = 6; + optional float dutyMax = 7; +} + +message ReactiveLEDInfo +{ + optional int32 pin = 1; + optional GpioAction action = 2; + optional ReactiveLEDMode modeDown = 3; + optional ReactiveLEDMode modeUp = 4; +} + +message ReactiveLEDOptions +{ + optional bool enabled = 1; + repeated ReactiveLEDInfo leds = 2 [(nanopb).max_count = 10]; +} + message AddonOptions { optional BootselButtonOptions bootselButtonOptions = 1; optional OnBoardLedOptions onBoardLedOptions = 2; optional AnalogOptions analogOptions = 3; optional TurboOptions turboOptions = 4; - optional SliderOptions sliderOptions = 5; + optional SliderOptions deprecatedSliderOptions = 5; optional ReverseOptions reverseOptions = 6; optional AnalogADS1219Options analogADS1219Options = 7; optional DualDirectionalOptions dualDirectionalOptions = 8; @@ -763,6 +815,8 @@ message AddonOptions optional AnalogADS1256Options analogADS1256Options = 23; optional RotaryOptions rotaryOptions = 24; optional PCF8575Options pcf8575Options = 25; + optional DRV8833RumbleOptions drv8833RumbleOptions = 26; + optional ReactiveLEDOptions reactiveLEDOptions = 27; } message MigrationHistory @@ -770,12 +824,13 @@ message MigrationHistory optional bool hotkeysMigrated = 1 [default = false]; optional bool gpioMappingsMigrated = 2 [default = false]; optional bool buttonProfilesMigrated = 3 [default = false]; + optional bool profileEnabledFlagsMigrated = 4 [default = false]; } message Config { optional string boardVersion = 1 [(nanopb).max_length = 31]; - + optional GamepadOptions gamepadOptions = 2; optional HotkeyOptions hotkeyOptions = 3; optional PinMappings deprecatedPinMappings = 4 [deprecated = true]; @@ -786,7 +841,7 @@ message Config optional AddonOptions addonOptions = 9; optional ForcedSetupOptions forcedSetupOptions = 10; optional ProfileOptions profileOptions = 11; - + optional string boardConfig = 12 [(nanopb).max_length = 63]; optional GpioMappings gpioMappings = 13; optional MigrationHistory migrations = 14; diff --git a/tests/test-files/proto-files/enums.proto b/tests/test-files/proto-files/enums.proto index 999857c..db76de5 100644 --- a/tests/test-files/proto-files/enums.proto +++ b/tests/test-files/proto-files/enums.proto @@ -39,6 +39,7 @@ enum ButtonLayout BUTTON_LAYOUT_6GAWD_A = 30; BUTTON_LAYOUT_6GAWD_ALLBUTTON_A = 31; BUTTON_LAYOUT_6GAWD_ALLBUTTONPLUS_A = 32; + BUTTON_LAYOUT_STICKLESS_R16 = 33; } enum ButtonLayoutRight @@ -82,6 +83,7 @@ enum ButtonLayoutRight BUTTON_LAYOUT_6GAWD_B = 34; BUTTON_LAYOUT_6GAWD_ALLBUTTON_B = 35; BUTTON_LAYOUT_6GAWD_ALLBUTTONPLUS_B = 36; + BUTTON_LAYOUT_STICKLESS_R16B = 37; } enum SplashMode @@ -109,7 +111,7 @@ enum SplashChoice enum OnBoardLedMode { option (nanopb_enumopt).long_names = false; - + ON_BOARD_LED_MODE_OFF = 0; ON_BOARD_LED_MODE_MODE_INDICATOR = 1; ON_BOARD_LED_MODE_INPUT_TEST = 2; @@ -122,7 +124,7 @@ enum InputMode INPUT_MODE_XINPUT = 0; INPUT_MODE_SWITCH = 1; - INPUT_MODE_HID = 2; + INPUT_MODE_PS3 = 2; INPUT_MODE_KEYBOARD = 3; INPUT_MODE_PS4 = 4; INPUT_MODE_XBONE = 5; @@ -134,6 +136,7 @@ enum InputMode INPUT_MODE_PSCLASSIC = 11; INPUT_MODE_XBOXORIGINAL = 12; INPUT_MODE_PS5 = 13; + INPUT_MODE_GENERIC = 14; INPUT_MODE_CONFIG = 255; } @@ -225,6 +228,21 @@ enum GpioAction BUTTON_PRESS_MACRO_4 = 37; BUTTON_PRESS_MACRO_5 = 38; BUTTON_PRESS_MACRO_6 = 39; + CUSTOM_BUTTON_COMBO = 40; + BUTTON_PRESS_A3 = 41; + BUTTON_PRESS_A4 = 42; + BUTTON_PRESS_E1 = 43; + BUTTON_PRESS_E2 = 44; + BUTTON_PRESS_E3 = 45; + BUTTON_PRESS_E4 = 46; + BUTTON_PRESS_E5 = 47; + BUTTON_PRESS_E6 = 48; + BUTTON_PRESS_E7 = 49; + BUTTON_PRESS_E8 = 50; + BUTTON_PRESS_E9 = 51; + BUTTON_PRESS_E10 = 52; + BUTTON_PRESS_E11 = 53; + BUTTON_PRESS_E12 = 54; } enum GpioDirection @@ -275,6 +293,13 @@ enum GamepadHotkey HOTKEY_A1_BUTTON = 33; HOTKEY_A2_BUTTON = 34; HOTKEY_NEXT_PROFILE = 35; + HOTKEY_A3_BUTTON = 36; + HOTKEY_A4_BUTTON = 37; + HOTKEY_DPAD_UP = 38; + HOTKEY_DPAD_DOWN = 39; + HOTKEY_DPAD_LEFT = 40; + HOTKEY_DPAD_RIGHT = 41; + HOTKEY_PREVIOUS_PROFILE = 42; } // This has to be kept in sync with LEDFormat in NeoPico.hpp @@ -297,7 +322,7 @@ enum ShmupMixMode enum PLEDType { option (nanopb_enumopt).long_names = false; - + PLED_TYPE_NONE = -1; PLED_TYPE_PWM = 0; PLED_TYPE_RGB = 1; @@ -306,7 +331,7 @@ enum PLEDType enum ForcedSetupMode { option (nanopb_enumopt).long_names = false; - + FORCED_SETUP_MODE_OFF = 0; FORCED_SETUP_MODE_LOCK_MODE_SWITCH = 1; FORCED_SETUP_MODE_LOCK_WEB_CONFIG = 2; @@ -326,7 +351,7 @@ enum DualDirectionalCombinationMode enum PS4ControllerType { option (nanopb_enumopt).long_names = false; - + PS4_CONTROLLER = 0; PS4_ARCADESTICK = 7; } @@ -358,7 +383,7 @@ enum GPElement enum GPShape_Type { option (nanopb_enumopt).long_names = false; - + GP_SHAPE_ELLIPSE = 0; GP_SHAPE_SQUARE = 1; GP_SHAPE_LINE = 2; @@ -380,3 +405,21 @@ enum RotaryEncoderPinMode ENCODER_MODE_DPAD_X = 7; ENCODER_MODE_DPAD_Y = 8; }; + +enum ReactiveLEDMode +{ + option (nanopb_enumopt).long_names = false; + + REACTIVE_LED_STATIC_OFF = 0; + REACTIVE_LED_STATIC_ON = 1; + REACTIVE_LED_FADE_IN = 2; + REACTIVE_LED_FADE_OUT = 3; +}; + +enum PS4ControllerIDMode +{ + option (nanopb_enumopt).long_names = false; + + PS4_ID_CONSOLE = 0; + PS4_ID_EMULATION = 1; +}; diff --git a/tests/test-files/test-config.json b/tests/test-files/test-config.json index a89f8bf..635bb55 100644 --- a/tests/test-files/test-config.json +++ b/tests/test-files/test-config.json @@ -1,7 +1,7 @@ { "boardVersion": "v0.7.6-15-g71f4512", "gamepadOptions": { - "inputMode": "INPUT_MODE_HID", + "inputMode": "INPUT_MODE_PS3", "dpadMode": "DPAD_MODE_DIGITAL", "socdMode": "SOCD_MODE_SECOND_INPUT_PRIORITY", "invertXAxis": false, @@ -163,10 +163,10 @@ }, "displayOptions": { "enabled": false, - "i2cBlock": 0, + "deprecatedI2cBlock": 0, "deprecatedI2cSDAPin": 0, "deprecatedI2cSCLPin": 1, - "i2cAddress": 60, + "deprecatedI2cAddress": 60, "deprecatedI2cSpeed": 400000, "buttonLayout": "BUTTON_LAYOUT_STICK", "buttonLayoutRight": "BUTTON_LAYOUT_VEWLIX", @@ -327,13 +327,13 @@ "shmupBtnMask4": 0, "shmupMixMode": "SHMUP_MIX_MODE_TURBO_PRIORITY" }, - "sliderOptions": { + "deprecatedSliderOptions": { "enabled": false, "deprecatedPinSliderOne": 0, "deprecatedPinSliderTwo": 0, "deprecatedModeOne": "DPAD_MODE_DIGITAL", "deprecatedModeTwo": "DPAD_MODE_DIGITAL", - "modeDefault": "DPAD_MODE_DIGITAL" + "deprecatedModeDefault": "DPAD_MODE_DIGITAL" }, "reverseOptions": { "enabled": false, @@ -346,10 +346,10 @@ }, "analogADS1219Options": { "enabled": false, - "i2cBlock": 0, + "deprecatedI2cBlock": 0, "deprecatedI2cSDAPin": -1, "deprecatedI2cSCLPin": -1, - "i2cAddress": 64, + "deprecatedI2cAddress": 64, "deprecatedI2cSpeed": 400000 }, "dualDirectionalOptions": { @@ -392,7 +392,7 @@ }, "wiiOptions": { "enabled": false, - "i2cBlock": 0, + "deprecatedI2cBlock": 0, "deprecatedI2cSDAPin": -1, "deprecatedI2cSCLPin": -1, "deprecatedI2cSpeed": 400000, diff --git a/tests/test_builder.py b/tests/test_builder.py index e2812d1..9217d6c 100644 --- a/tests/test_builder.py +++ b/tests/test_builder.py @@ -25,7 +25,7 @@ logger = logging.getLogger(__name__) @decorator def with_pb2s(test, *args, **kwargs): """Wrap a test with precompiled pb2 files on the path.""" - proto_path = os.path.join(HERE, 'test-files', 'pb2-files') + proto_path = os.path.join(HERE, 'test-files') sys.path.append(proto_path) test(*args, **kwargs) diff --git a/tests/test_commands.py b/tests/test_commands.py index f177266..e24d680 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -18,7 +18,7 @@ HERE = os.path.dirname(os.path.abspath(__file__)) @decorator def with_pb2s(test, *args, **kwargs): """Wrap a test with precompiled pb2 files on the path.""" - proto_path = os.path.join(HERE, 'test-files', 'pb2-files') + proto_path = os.path.join(HERE, 'test-files') sys.path.append(proto_path) test(*args, **kwargs) diff --git a/tests/test_gui.py b/tests/test_gui.py index c81c0f1..46d3565 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -21,7 +21,7 @@ HERE = os.path.dirname(os.path.abspath(__file__)) @decorator async def with_pb2s(test, *args, **kwargs): """Wrap a test with precompiled pb2 files on the path.""" - proto_path = os.path.join(HERE, 'test-files', 'pb2-files') + proto_path = os.path.join(HERE, 'test-files') sys.path.append(proto_path) await test(*args, **kwargs) @@ -109,7 +109,7 @@ async def test_simple_edit_via_input_field(): async with app.run_test() as pilot: tree = pilot.app.query_one(Tree) display_node = tree.root.children[5] - i2cspeed_node = display_node.children[4] + i2cspeed_node = display_node.children[6] assert pilot.app.config.displayOptions.deprecatedI2cSpeed == 400000 tree.root.expand_all() diff --git a/tests/test_package.py b/tests/test_package.py index f21a41e..328102e 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -36,7 +36,7 @@ def test_get_config_pb2_exception(): def test_get_config_pb2_precompile(): """Test we can import precompiled protobuf files.""" - proto_path = os.path.join(HERE, 'test-files', 'pb2-files') + proto_path = os.path.join(HERE, 'test-files') sys.path.append(proto_path) # let grpc tools import the proto files normally diff --git a/tests/test_rp2040.py b/tests/test_rp2040.py index dc5ab9e..590b070 100644 --- a/tests/test_rp2040.py +++ b/tests/test_rp2040.py @@ -20,7 +20,7 @@ HERE = os.path.dirname(os.path.abspath(__file__)) @decorator def with_pb2s(test, *args, **kwargs): """Wrap a test with precompiled pb2 files on the path.""" - proto_path = os.path.join(HERE, 'test-files', 'pb2-files') + proto_path = os.path.join(HERE, 'test-files') sys.path.append(proto_path) test(*args, **kwargs) diff --git a/tests/test_storage.py b/tests/test_storage.py index 8b455f4..63f5394 100644 --- a/tests/test_storage.py +++ b/tests/test_storage.py @@ -20,7 +20,7 @@ HERE = os.path.dirname(os.path.abspath(__file__)) @decorator def with_pb2s(test, *args, **kwargs): """Wrap a test with precompiled pb2 files on the path.""" - proto_path = os.path.join(HERE, 'test-files', 'pb2-files') + proto_path = os.path.join(HERE, 'test-files') sys.path.append(proto_path) test(*args, **kwargs)