stackotter / delta-client

An open source Minecraft Java Edition client built for speed.
https://deltaclient.app
GNU General Public License v3.0
313 stars 33 forks source link

I can't bind mouse sidebutton. #167

Closed U5KUN closed 11 months ago

U5KUN commented 1 year ago

Describe the bug I can't bind mouse sidebutton.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Preferences/Controls'
  2. Click on 'keybind change button'
  3. Click mouse sidebutton
  4. Mouse sidebutton isn't bound.

Expected behavior It's show me button4 or 5 in keybind.

Extra information (please complete the following information

stackotter commented 1 year ago

Thanks for the bug report! When you go back to the game after binding, does clicking the mouse side button do nothing? Or is it just that the name is not what you expected? If the binding doesn’t work, that’s weird, I’ll have to take a look through the input handling code.

The names of the mouse side buttons in code are button 4 and button 5, but I’m happy to change the user-facing names to something more self explanatory if that’s the issue. I’ll check what vanilla Minecraft called them.

ninjadev64 commented 1 year ago

@stackotter From what I can tell, the binding isn't working at all. Their issue is not with the names being button 4 and 5 as they listed those as the expected behaviour.

stackotter commented 11 months ago

Sorry for the delay, I finally got around to fixing this, it looks like I actually just hadn't implemented support for binding mouse buttons yet. You should be able to bind any mouse button you like with the latest version. Give it a go and let me know if it fixes your issue :)

stackotter commented 11 months ago

Download URL for the build: https://github.com/stackotter/delta-client/suites/14809958362/artifacts/842932045