Skip to content

Commit d801822

Browse files
Add NDA Keyword Validation exceptions for Switch
1 parent 0bf8c41 commit d801822

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Packages/com.unity.inputsystem/ValidationExceptions.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,41 @@
55
"ExceptionMessage": "Breaking changes require a new major version.",
66
"PackageVersion": "1.18.0",
77
"__comments": "starting from 2022.3 ugui is not added to the project by default. We have some APIs that are conditional on ugui being present, so the API Validation thinks we are breaking API, but that is not the case."
8+
},
9+
{
10+
"ValidationTest": "NDA Keyword Validation",
11+
"ExceptionMessage": "File 'Documentation~/Gamepad.md' contains keyword pattern '(?<!(BuildTarget|BuildTargetGroup|BuildSettings|AddressablesPlatform|RuntimePlatform|TargetPlatform|OpCodes|GraphicsDeviceType))\\.switch\\W' which indicates it is specific to restricted targets '-Switch'. It must not be published",
12+
"PackageVersion": "1.18.1"
13+
},
14+
{
15+
"ValidationTest": "NDA Keyword Validation",
16+
"ExceptionMessage": "File 'Runtime/Plugins/Switch/SwitchProControllerHID.cs' contains keyword pattern '(?<!(BuildTarget|BuildTargetGroup|BuildSettings|AddressablesPlatform|RuntimePlatform|TargetPlatform|OpCodes|GraphicsDeviceType))\\.switch\\W' which indicates it is specific to restricted targets '-Switch'. It must not be published",
17+
"PackageVersion": "1.18.1"
18+
},
19+
{
20+
"ValidationTest": "NDA Keyword Validation",
21+
"ExceptionMessage": "File 'Runtime/Plugins/Switch/SwitchSupportHID.cs' contains keyword pattern '(?<!(BuildTarget|BuildTargetGroup|BuildSettings|AddressablesPlatform|RuntimePlatform|TargetPlatform|OpCodes|GraphicsDeviceType))\\.switch\\W' which indicates it is specific to restricted targets '-Switch'. It must not be published",
22+
"PackageVersion": "1.18.1"
23+
},
24+
{
25+
"ValidationTest": "NDA Keyword Validation",
26+
"ExceptionMessage": "The Input System support Switch Pro controllers on desktop computers via the [`SwitchProControllerHID`](../api/UnityEngine.InputSystem.Switch.SwitchProControllerHID.html) class, which implements basic gamepad functionality.",
27+
"PackageVersion": "1.18.1"
28+
},
29+
{
30+
"ValidationTest": "NDA Keyword Validation",
31+
"ExceptionMessage": "using UnityEngine.InputSystem.Switch.LowLevel;",
32+
"PackageVersion": "1.18.1"
33+
},
34+
{
35+
"ValidationTest": "NDA Keyword Validation",
36+
"ExceptionMessage": "namespace UnityEngine.InputSystem.Switch.LowLevel",
37+
"PackageVersion": "1.18.1"
38+
},
39+
{
40+
"ValidationTest": "NDA Keyword Validation",
41+
"ExceptionMessage": "namespace UnityEngine.InputSystem.Switch",
42+
"PackageVersion": "1.18.1"
843
}
944
],
1045
"WarningExceptions": []

0 commit comments

Comments
 (0)