microsoft / RdpGamepad

Remote Desktop Plugin for Xbox Gamepads
MIT License
364 stars 50 forks source link

Device is recognized but inputs are not received. #8

Closed Arcavian closed 3 years ago

Arcavian commented 4 years ago

Pretty much what the title says, the device is detected but the inputs of the device are not received by the rdp.

jpflouret commented 4 years ago

Do you have an "Xbox 360 Controller for Windows" show up in device manager on your remote computer? Should look something like this: image

Arcavian commented 4 years ago

Yes I do. image

jpflouret commented 4 years ago

That is the virtual controller that is being fed by the remote desktop receiver so it looks to be working. If your tool or game is able to read from an Xbox 360 controller then this should just work. What tool or engine do you use? Is this tool/engine/game using Xinput for controller input? Does it detect the device as device 0? When you read the input state from the controller, is the data updating?

Arcavian commented 4 years ago

I’m using X-Plane and I have no idea. It was working the first time and then just stopped. What is device0? And wdym by the last sentence

Arcavian commented 4 years ago

It works fine on my actual computer

jpflouret commented 4 years ago

I meant if you are programming and using XInput and if you are getting a value out of that API. I don't know what X-Plane uses for input. I would suggest trying something else, perhaps something like this Xbox 360 Controller Tester. That way you can test whether the controller data is being received or not. I may extend the receiver applet to show you the received controller data.

Arcavian commented 4 years ago

I used an HTML one online, data is not being received. However on my actual pc it detects it and it’s inputs.

jpflouret commented 4 years ago

I am sorry I cannot reproduce this. Could you point me to the tool you used to test this?

mechachiken commented 4 years ago

I have something like this issue and I'm pretty sure it's because there's a physical controller connected to the remote pc. I am unable to control the remote game with my local controller but I can see in the direct x control panel settings on the remote machine that the local controller input is being received. However if I play a two player split screen session on my remote machine then my local pad controls player 2.

Perhaps that's your issue as well Airister?

jpflouret commented 4 years ago

That is correct. The Remote Desktop Gamepad receiver adds a new controller and does not replace any existing controllers that you have physically plugged in to the remote computer. If your game always uses “the first controller” then it is possible that you’ll run I to this issue. I think that would be an issue with your game rather than an issue with RdpGamepad.

Many games have a “Press Start” or “Press A” screen from where they listen to all controllers and then just bind your user with the controller you pressed the button on.

Could you try unplugging all controllers from the remote computer?

mechachiken commented 4 years ago

Yep, disconnecting the controller on the remote pc and rebooting fixed the issue for me. I can now use a local controller to control gameplay on a remote machine.

BaeMinCheon commented 4 years ago

thanks guys, i have been suffered with this issue and thought as only my own issue. but now cleared there was the caution.

anyway, i also found that unplugging real controller connected with remote pc is exactly the solution, and you can unplug the real controller by disabling device in control panel unless commute to office.

jpflouret commented 4 years ago

I’ll add some documentation to the fact that this plugin adds a new controller rather than replace your existing plugged in controller.