Input System Virtual Cursor disabling mouse, how to enable it again?

I am using the new unity Input System, and I’m trying to switch my game to also work with a gamepad or keyboard mouse. In order for the aiming to work in my game, I had to add a virtual mouse component to my crosshair object and set it’s “cursor mode” to Hardware Cursor if available, because this will change the input.mousePosition. As detailed in the VirtualMouseInput script, using this will disable the actual cursor. It is possible to make it such that when my PlayerInput’s currentControlScheme switches back to keyboard, the virtual mouse is disabled and the real mouse becomes reenabled? I’ve looked for a while and have tried many things to get this to work.