Cemu icon indicating copy to clipboard operation
Cemu copied to clipboard

[Input] SDLController Api - doesn't map some keys and axes are messed

Open arieleoar opened this issue 2 years ago • 4 comments

Hi!

I'm experiencing issues with my bluetooth gamepad buttons and axis mapping.

My setup is Ubuntu 22.10, with Cemu 2.0-14, and the gamepad is an NG-2GO1 (a generic bluetooth gamepad)

Cemu reads the device correctly but when its selected it maps ok the X-axis, but Y-axis is not reconized and in it's place Z-axis takes the input of Y-axis is and uncentered (e.g moving right goes further than moving left, which doesn't move the cross at all unless setting the range up to 200%, but still there moving left is lesser than moving the stick right) even after clicking the calibrate button.

Also left and right triggers cannot be mapped to device's corresponding buttons, but checking the same in some other apps like jstest-gtk or AntiMicroX (an SDL2 mapper config tool) those trigger buttons are recognized by the system, and also the Y-axis moves correctly in there.

I've checked this only happens with Cemu, in other applications i've managed to play ok or map correctly with this gamepad.

Thanks in advance, and if i can help in any other way let me know.

arieleoar avatar Nov 09 '22 15:11 arieleoar

this is a duplicate of every other report regarding sdl mapping.

#443, #327, #200

Squall-Leonhart avatar Nov 10 '22 12:11 Squall-Leonhart

Sorry, my bad, as i read those, is this issue related to an SDL lib not mapping the controller correctly then? what can i do to help fixing this or use as workaround? is there a way to set an ENV variable to add this mapping correctly?

arieleoar avatar Nov 11 '22 13:11 arieleoar

I have sam problem: I noticed that my left analog stick wasn't moving in the map Zelda bows + switch procontroler. But when test with keyboard evething OK. Ubuntu 22.04 cemu 2.0-19-x86.

TKNgu avatar Dec 04 '22 14:12 TKNgu

I can't check right now, but I'd like to know after the issue I mentioned was closed, if this and thereby the 3 issus mentioned by @Squall-Leonhart are solved.

The problem that IS solved is the IR pointer, I also hope that connection by Dolphin also still works on Windows (probably).

kevincrans avatar Sep 05 '23 21:09 kevincrans