isXander / Controlify

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

[Bug] Using actual mouse in inventory freezes controller HUD until virtual mouse is used again. #129

Open muizzsiddique opened 1 year ago

muizzsiddique commented 1 year ago

Current Behaviour

Using mouse in inventory screens freeze controller prompts HUD. If you hover the cursor away from items or start hovering over items, the context switch is completely ignored showing you outdated button prompts. This fixes itself once the virtual mouse is moved.

Expected Behaviour

Update the controller prompts HUD accordingly when an actual mouse is used.

Screenshots

No response

Reproduction Steps

  1. Open your Inventory.
  2. Observe how the buttons HUD changes when you hover over and hover off from items, when using your sticks/virtual mouse.
  3. Observe how the buttons HUD does not update when you hover over the same items but this time using your mouse/Touch Pad/Steam Trackpad.

Logs

No response

Mod Version

1.4.6+1.20

Controller

Steam Deck

Bluetooth

Operating System

Linux/SteamOS

ARM

Additional Information

Java: 17.0.7 Minecraft: 1.20.1 Fabric API: 0.86.1+1.20.1 Yet Another Config Lib: 3.1.0+1.20 Mod Menu: 7.2.1

Just to make sure...

FabianMPunkt commented 1 year ago

I think the best solution to this would be to give an option like "Use mouse input for virtual mouse", and have that enabled by default on SteamDeck configuration.