cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
7.05k stars 542 forks source link

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

Open arieleoar opened 1 year ago

arieleoar commented 1 year ago

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.

Squall-Leonhart commented 1 year ago

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

443, #327, #200

arieleoar commented 1 year ago

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?

TKNgu commented 1 year ago

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.

kevincrans commented 1 year ago

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).