Why am I not getting valid values from right thumbstick of my x360 controller?

I am having a strange problem with my X360 controller. I defined Axis mapping in editor for both left and right thumbsticks.

  • Left thumbstick maps to Gamepad Left X and Gamepad Left Y
  • Right thumbstick maps to Gamepad Right X and Gamepad Right Y

I bind handlers to InputComponent in my PlayerController.
When I run game Left Thumbstick seems to work fine but right thumbstick always report value of -0.994771 on both x and y axis. These values never change at all.

As shown in screenshot value in yellow is value on x-axis and value in is value on y-axis.

I tried plug-unplug my controller several times. I restarted UE4 many times too but no success.
My X360 is perfectly fine. I play games with it almost everyday. It works perfectly fine in Unity3D also.

Not sure what problem :((. Any help is appreciated!

8645-thumbstick.png

Is it only me who is facing this problem?
Everyone else’s X360 controller is returning valid values for right thumbstick?

No, I am getting only -1, 0, 1 and sometimes ONE in-betwee value (0.36) from Gamepad Right X. Right Y works as expected. It’s definetly not controller.

Hi @Anshul and @,

A couple quick questions for you both:

  • What OS are you using?
  • Are you using a generic Microsoft Xbox 360 controller, or do you have a third-party controller?

Standard 360 controller, Win7-x64. Seems to be a problem with buggy input axis mappings (each axis more than once in configuration visible).

PS: Signature with system and os data would be a good idea for this forum…

  • Mac OSX 10.9
  • Microsoft Xbox 360 wired controller

controller works with all other games and engines.

Hey Anshul,

Which plugin are you using to make Mac recognize your Xbox controller?

As far as I know there is only one:
http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller

Hey Anshul,

I’ve spoken with developers about this issue and entered a bug in our database (TTP# 346345) so we can track it. So far we have not been able to reproduce issue, however, and without a reproducible case we’re fairly limited in ways to determine cause. Please let us know if any other details come to mind or if you discover any other information about this bug, and I will add it to report. I will of course also let you know if there’s an update. Thanks for your feedback and your patience!

Could you please launch System Information.app from /Applications/Utilities, select USB on list on left and check Product ID and Vendor ID for your Controller? Many thanks!

360 controller isn’t listed there:

Here’s info from device manager:

Wireless Receiver:

17270-devicemgr2.png

Controller itself:

17269-devicemgr.png

Hope this helps. Attached a complete sysInfo report as well:

[link text][2]

Here you go:

Controller:

  • Product ID: 0x028e
  • Vendor ID: 0x045e (Microsoft Corporation)
  • Version: 1.14
  • Serial Number: 03FE02A
  • Speed: Up to 12 Mb/sec
  • Manufacturer: ©Microsoft Corporation
  • Location ID: 0x14500000 / 26
  • Current Available (mA): 500
  • Current Required (mA): 500

Thanks Anshul. Seems to be same as one I have here. Pity. I thought that maybe you have some different revision or something and it’s product ID is different, which would make engine not recognize it and map thumbsticks incorrectly.

Do you, by any , use GutHub version of editor so you’d be able to check a few things it Xcode? If not, and if you’d be willing to give it a try, I could prepare a special build for you (just a few files) that would log some info that may help me narrow this down.

I used to use github version. I cant proceed with my game because of this problem so I cancelled my subscription :(. I was making a twin stick shooter and this was a complete showstopper for me.

If there is any other way you can deliver these files it would be very much appreciated. BTW, I am still on v4.1.0.

Edit:
I have full source code with me and I am willing to do anything to see it working. I tried to debug deeper but couldnt found anything so far. Any pointers are helpful? Which specific file should I be looking at?

Sorry for delayed response.

It seems that there was quite an error on our end. We should’ve asked what version of engine you’re using in a first place. problem you’re seeing was fixed in 4.2. It was reported and discussed here: Xbox Controller - Right Stick not recognized on Mac - Character & Animation - Epic Developer Community Forums

If you don’t have access to 4.2 or latest, I’ll try to send you few C++ files that fix this.

Hey Anshul,

I’m going to send you these files via email, if that’s okay. Please check email address you have associated with this account. If you don’t get email or don’t use that address anymore, please let me know.