SameBoy icon indicating copy to clipboard operation
SameBoy copied to clipboard

Joypad configuration won't read dpad

Open Softkandi opened this issue 7 years ago • 6 comments

In Joypad -> Configure layout, dpad presses are not detected (it stays at "Press button for Right").

As a workaround, you can press Enter four times to skip the dpad configuration. This doesn't cause any trouble because the dpad works fine in the games.

Softkandi avatar Jul 03 '18 04:07 Softkandi

This still happens in Sameboy 0.12.1. I should add that I tried all buttons on my wireless Xbox One for Windows gamepad, and in addition to the d-pad, the analog triggers also seem to not be detected by the button layout configuration thing (don't know if it's a huge deal for gameboy, but still a bug I guess).

And the workaround by @AlvaroBurnett works.

VladusD avatar Jul 19 '19 19:07 VladusD

Still in 0.13.6.

lordlouckster avatar Jan 23 '21 12:01 lordlouckster

And in 0.14.3. I would guess that its a lack of hat switch support. Its very common for controllers to compose Dpad information this way, but sometimes its just done as buttons.

ishax-kos avatar Apr 29 '21 03:04 ishax-kos

Yup, same thing here, but I can't map it either to Analog or to D-Pad with my insideGadgets Wireless Gameboy Controller. After plugging it in and turning on SameBoy - buttons A and B were swapped. I've tried to configure layout via Options, but SameBoy doesn't want to register D-Pad input at all.

With the 0.15.8, it looks like skipping overrides input with blank, which screws up my layout completely - which makes that workaround unusable anymore.

TehMiloss avatar Apr 04 '23 11:04 TehMiloss

This doesn't seem to be the same issue, which was fixed in 0.15. It appears that the Wireless Gameboy Controller is doing some non-standard HID that is not compatible with SDL's controller library (and most likely JoyKit from the Cocoa frontend as well). I could have a look at it, but it doesn't seem like the controller's protocol is documented anywhere.

LIJI32 avatar Apr 06 '23 08:04 LIJI32

Looks like the insideGadgets Wireless Game Boy Controller supports mapping the D-Pad as buttons rather than an analog joystick if you hold the down button and while plugging the receiver in. Can you see if it solves the problem for you?

LIJI32 avatar Apr 07 '23 16:04 LIJI32