| 2654 | using InControl_InputDevice_OnAttached_il2cpp_pfn = void (__fastcall *)(void*); |
| 2655 | using InControl_NativeInputDevice_Vibrate_il2cpp_pfn = void (__fastcall *)(void*, float leftSpeed, float rightSpeed); |
| 2656 | using InControl_NativeInputDevice_Update_il2cpp_pfn = void (__fastcall *)(void*, ULONG updateTick, float deltaTime); |
| 2657 | |
| 2658 | static InControl_InputDevice_OnAttached_il2cpp_pfn InControl_InputDevice_OnAttached_il2cpp_Original = nullptr; |
| 2659 | static InControl_NativeInputDevice_Vibrate_il2cpp_pfn InControl_NativeInputDevice_Vibrate_il2cpp_Original = nullptr; |
| 2660 | static InControl_NativeInputDevice_Update_il2cpp_pfn InControl_NativeInputDevice_Update_il2cpp_Original = nullptr; |
| 2661 | |
| 2662 | static void SK_Unity_InControl_SetDeviceStyle_il2cpp (void* device) |
| 2663 | { |
| 2664 | if (device == nullptr) |
| 2665 | return; |
| 2666 | |
| 2667 | if (SK_Unity_GlyphEnumVal == -1) |
| 2668 | return; |
| 2669 | |
| 2670 | static auto image = |
| 2671 | SK_Unity_il2cppAssemblies.assemblyInControl; |
| 2672 | |
| 2673 | if (image == nullptr) |
| 2674 | return; |
| 2675 | |
| 2676 | static auto |
| 2677 | method = image->get_class ("InputDevice", "InControl")->get_method ("set_DeviceStyle", 1); |
| 2678 | if (! method) |
| 2679 | return; |
| 2680 | |
| 2681 | SK_LOG_FIRST_CALL |
| 2682 | |
| 2683 | void* params [1] = { &SK_Unity_GlyphEnumVal }; |
no test coverage detected