isXander / Controlify

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

[Bug] Single press in some views acts as two #338

Closed Daruyami closed 3 months ago

Daruyami commented 3 months ago

Current Behaviour

In some views like in the "Configure Radial Menu" section of controller configuration and also in Sodiums Video settings view pressing some buttons (B (/O) in the radial menu, A (/X) in Sodiums Video settings) activates the assigned action twice. This is because the assigned action activates both on the button-down and the button-up events.

Expected Behaviour

Singular press in menus leads to a singular activation of the assigned action.

Screenshots

No response

Reproduction Steps

  1. Go into the Configure Radial Menu view.

  2. Try to go to the previous view by pressing B (/O).

  3. You go two views back [!]

  4. Go into this view again and activate this button without letting go.

  5. You go back into the previous view once.

  6. Let go of the held button.

  7. You go another view back [!]

Logs

No response

Mod Version

2.0.0-beta.10+1.20.4

Controller

Xbox360 generic, Dualsense Edge

Bluetooth

Operating System

Linux/SteamOS

ARM

Additional Information

It seems that not all of the views have this issue. image 🙏

Just to make sure...