nefarius / ViGEmClient

ViGEm Client SDK for feeder development.
https://docs.nefarius.at/projects/ViGEm/
MIT License
134 stars 65 forks source link

Not working with PPSSPP #12

Closed jmoseman01 closed 3 years ago

jmoseman01 commented 3 years ago

Describe the bug It's working with xinput tester for me but it's not allowing me to map buttons on ppsspp.

To Reproduce Steps to reproduce the behavior (example):

using System.Threading;
using Nefarius.ViGEm.Client;
using Nefarius.ViGEm.Client.Targets;
using Nefarius.ViGEm.Client.Targets.Xbox360;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            ViGEmClient client = new ViGEmClient();

            IXbox360Controller controller = client.CreateXbox360Controller();

            controller.Connect();
            Thread.Sleep(5000);

            while (true) {
                controller.SetAxisValue(Xbox360Axis.LeftThumbY, 3000);
                Thread.Sleep(10000);
            }

        }
    }
}

Expected behavior I should be able to map the axis in ppsspp.

Screenshots https://www.youtube.com/watch?v=EngEEFEUyXw

System details (please complete the following information):