How to move a virtual mouse with a hardware mouse

Hello. I recently installed a new InputSystem and am having problems with VirtualMouse. On the menu screen of my game, I was using the cursor to select objects, but I tried to switch to VirtualMouse to accommodate the gamepad. It has an Action called StickAction, so by entering the gamepad stick here, the VirtualMouse cursor moved, but I want to use the regular mouse cursor the same way. Therefore, when I added MouseDelta to the InputAction that I am referencing, the VirtualMouse cursor almost stops responding and cannot be moved by the stick, and it sometimes moves in strange directions when the mouse is moved. I am hoping that the VirtualMouse cursor will move the same amount as the hardware mouse moves. How can I do this?