Skip to content

[Bug] Auto-selecting first button with only keyboard connected #750

@music-cat-bread

Description

@music-cat-bread

Current Behaviour

Controlify will try to select (white outline, same as pressing tab once) first tab-able button even if no controller is detected. This is particularly problematic, because this prevents any of my friends who play on keyboard on our modpack to type space on signs.

Expected Behaviour

If no controller is present the first tab-able button is not selected

Screenshots

Image Image

Reproduction Steps

  1. Install 4.5.0 for Minecraft 1.21.10 (Fabric 0.18.3, Fabric API 0.138.4+1.21.10, YetAnotherConfigLib 3.81+1.21.10-fabric)
  2. Launch game
  3. "Singleplayer" button is highlighted and can be triggered by pressing "space"

Logs

Mod Version

2.5.0+1.21.10-fabric

Controller

No response

Bluetooth

  • Yes

Operating System

Windows

ARM

  • Yes

Additional Information

This only happens with 2.5.0. 2.4.4 is unaffected.

Just to make sure...

  • I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
  • I have made sure there are no other issues describing the same problem on the issue tracker.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions