isXander / Controlify

Another controller mod - for fabric!
https://www.isxander.dev/mods/controlify
GNU Lesser General Public License v3.0
143 stars 31 forks source link

Button Labels Switch Offbrand #41

Open winderine opened 1 year ago

winderine commented 1 year ago

Button labels are switched for some buttons on the PowerA Switch controller Model 1511370-01. Controlify is identifying Button A as b_button, for instance.

A/B and X/Y are the switched buttons i've noticed so far, but I can't find anywhere to change or remap the pad layout. In fact when i tried to remap individual buttons, the Inventory keybind to the actual Y button it exited the mod settings menu, and when i tried to remap the GUI Press keybind to the actual A button it exited the mod settings menu. It won't set the actual B button to GUI Back, either, so I'm not sure if it's able to save keybind changes ingame at all.

EDIT: Apparently, you have to hold the mouse button down to change keybinds.

After changing the keybinds in the configuration json, the expected buttons on the controller do the expected actions, but the button labels (hints) are still wrong.

I kind of remember having to do something like "switch identity profiles" specifically for the PowerA controller on Midnight Controls.

winderine commented 1 year ago

I don't know if this is useful but here's the button labels for the PowerA Model 1511370-01 as they match to the USB Game Controllers Test Page built into Windows:

Button 1: Y Button 2: B Button 3: A Button 4: X Button 5: L Button 6: R Button 7: ZL Button 8: ZR Button 9: - Button 10: + Button 11: Left Stick Button 12: Right Stick Button 13: Home Button 14: Camera

isXander commented 1 year ago

I have yet to add Nintendo button textures, this is likely the problem.