Install PPJoySetup-0.8.4.6
Set up PPJoy
Run PIEFree
Load MouseScripts and click "Run"
Open the Switch emulator, configure the keys, select "Any" to set the left joystick as the light gun movement, and configure other keys as needed, which can be for the light gun, mouse, or keyboard.
Start the game, and in-game, hold the middle mouse button to calibrate the crosshair position, similar to the gyro gun marker key.
If the sensitivity is too high or too low, adjust it in MouseScripts. If there are any issues, adjust the resolution and screen aspect ratio to match the actual ratio of the computer.
glovepie for switch linghtguns.rar