File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Assets/Tests/InputSystem/Plugins Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 22using UnityEngine . InputSystem ;
33using UnityEngine . InputSystem . LowLevel ;
44using UnityEngine . InputSystem . DualShock ;
5+ #if UNITY_EDITOR || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_WSA
56using UnityEngine . InputSystem . DualShock . LowLevel ;
7+ #endif
68using UnityEngine . InputSystem . Processors ;
79using NUnit . Framework ;
810using UnityEngine ;
Original file line number Diff line number Diff line change 1313using UnityEngine . InputSystem . Layouts ;
1414using UnityEngine . InputSystem . Processors ;
1515using UnityEngine . InputSystem . Utilities ;
16+ using UnityEngine . TestTools ;
1617using UnityEngine . TestTools . Utils ;
1718
1819////TODO: add test to make sure we're not grabbing HIDs that have more specific layouts
1920
21+ // No HID devices on Android
22+ #if ( ! UNITY_ANDROID && ! UNITY_IOS ) || UNITY_EDITOR
2023internal class HIDTests : InputTestFixture
2124{
2225 [ Test ]
@@ -1301,3 +1304,4 @@ public void Utilities_CanRecognizeVendorDefinedUsages()
13011304 Assert . That ( HID . UsageToString ( ( HID . UsagePage ) 0xff01 , 0x33 ) , Is . Null ) ;
13021305 }
13031306}
1307+ #endif
You can’t perform that action at this time.
0 commit comments