Various gamepad issuse

#1

I have encountered various issues with gamepad implementation as follows:

  • Left dpad does not repond (Xbox / PS4 gamepads on Windows and HTML5 builds)
  • Deadzone sometimes missing (Xbox gamepad on Windows build - HTML5 build is fine. PS4 gamepad on HTML5 missing deadzone)

Are these known issues?

Should I be manually implementing a deadzone in my own code?

The documentation states only the Xbox controller is supported in Windows - is this still the case?

0 Likes

#2

@dapetcu21 was working on gamepad setups / testing I believe?

@AGulev might know about the left dpad issue.

A manual / user customizable deadzone is probably a good idea.

0 Likes

#3

From my testing, XInput gamepads worked without issue on Windows. I know there were issues on macOS with wireless DS4 and wireless xbox one. Also, should probably retest now that Catalina includes drivers for these gamepads.

2 Likes

#4

Any progress on this?

Still experiencing the two issues detailed above.

0 Likes

#5

I was looking at the gamepad tester application defold posted on GIT as part of my learning defold.

I have two generic gamepads that work fine in windows. I downloaded the JoyTester.exe app that was recommended… That also sees my game pad. The GDC app that was posted does little for me.

When I run the gamepad tester… nada… nothing.

I guess if only XBox pads are proven to work I will get one of those…

0 Likes

#6

Would you mind trying the latest version: https://github.com/defold/defold/releases/tag/1.2.169

0 Likes

#7

image

First picture is the tester with me moving and pressing a button.

image

The app in windows… not detecting the same gamepad.

0 Likes

#8

This one also works for me… has the source code attached C or C++ I think.

0 Likes