File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,10 @@ public void Devices_SupportsSwitchProControlleriOS()
114114 AssertButtonPress ( gamepad , new iOSGameControllerStateSwappedFaceButtons ( ) . WithButton ( iOSButton . LeftShoulder ) , gamepad . leftShoulder ) ;
115115 AssertButtonPress ( gamepad , new iOSGameControllerStateSwappedFaceButtons ( ) . WithButton ( iOSButton . RightShoulder ) , gamepad . rightShoulder ) ;
116116 Assert . Contains ( "Submit" , gamepad . buttonEast . usages . m_Array ) ;
117- Assert . Contains ( "Submit" , gamepad . aButton . usages . m_Array ) ;
118117 Assert . Contains ( "PrimaryAction" , gamepad . aButton . usages . m_Array ) ;
119- Assert . Contains ( "PrimaryAction" , gamepad . aButton . usages . m_Array ) ;
120- Assert . Contains ( "Back" , gamepad . bButton . usages . m_Array ) ;
121118 Assert . Contains ( "Back" , gamepad . bButton . usages . m_Array ) ;
122119 Assert . Contains ( "Cancel" , gamepad . bButton . usages . m_Array ) ;
123- Assert . Contains ( "Cancel " , gamepad . bButton . usages . m_Array ) ;
120+ Assert . Contains ( "SecondaryAction " , gamepad . yButton . usages . m_Array ) ;
124121 }
125122
126123 [ Test ]
Original file line number Diff line number Diff line change @@ -73,13 +73,10 @@ public void Devices_SupportsHIDNpad()
7373 AssertButtonPress ( controller , StateWithButton ( SwitchProControllerHIDInputState . Button . Minus ) , controller . selectButton ) ;
7474
7575 Assert . Contains ( "Submit" , controller . buttonEast . usages . m_Array ) ;
76- Assert . Contains ( "Submit" , controller . aButton . usages . m_Array ) ;
7776 Assert . Contains ( "PrimaryAction" , controller . aButton . usages . m_Array ) ;
78- Assert . Contains ( "PrimaryAction" , controller . aButton . usages . m_Array ) ;
79- Assert . Contains ( "Back" , controller . bButton . usages . m_Array ) ;
8077 Assert . Contains ( "Back" , controller . bButton . usages . m_Array ) ;
8178 Assert . Contains ( "Cancel" , controller . bButton . usages . m_Array ) ;
82- Assert . Contains ( "Cancel " , controller . bButton . usages . m_Array ) ;
79+ Assert . Contains ( "SecondaryAction " , controller . yButton . usages . m_Array ) ;
8380 }
8481
8582 private static SwitchProControllerHIDInputState StateWithButton ( SwitchProControllerHIDInputState . Button button )
You can’t perform that action at this time.
0 commit comments