Creates a virtual gamepad and swaps the control of it between real gamepads. Hardcoded to work with Loathsome Bask Drinker.
Uses ViGEm Client .NET SDK to interact with the ViGEm Bus Driver. Physical controllers are read using SharpDX.XInput.
- Windows
- ViGEm Bus Driver (Developed on version 1.21.442)
- .NET 6 (Runtime for the pre-built application, SDK for building)
dotnet run --project LoathsomePadSwapper
Or run the published executable.
Space toggles the active controller. Esc exits. For timers use Loathsome Bask Drinker.
- Start Loathsome Bask Drinker and its server
- Turn on two controllers (tested with Xbox One and Series X pads)
- Start Loathsome Pad Swapper and assign the controllers.
- Play a game and assign the virtual controller as the primary controller.