tweakeroo icon indicating copy to clipboard operation
tweakeroo copied to clipboard

Button 4 (Mouse) can be assigned as hotkey but does not work correctly

Open alexamacbett opened this issue 2 years ago • 2 comments

Problem

My mouse has two additional buttons on its side (BUTTON_4 and BUTTON_5). Attempting to set BUTTON_4 as AccurateBlockPlacementInto hotkey succeeds with the name of the button displayed, but when I attempt to use it as such, the block is placed normally as if the hotkey was not held.

Context

My mods (client mods only as although I noticed this on a server I confirmed it still happens on singleplayer):

  • Beenfo
  • Carpet
  • Freecam
  • Item Scroller
  • Litematica
  • Lithium
  • MaLiLib
  • MidnightControls
  • MiniHUD
  • Mod Menu
  • Sheep Consistency
  • Starlight
  • Tweakeroo itself

Of the mods in this list that allow setting hotkeys, I have confirmed that none of them have BUTTON_4 set as any hotkey. I very much doubt there is a mod, especially in this list, that sets either of these buttons as unchangeable hotkeys by default.

Expectation

Tweakeroo should either disallow setting BUTTON_4 as a modifier hotkey, or it should function correctly as that hotkey.

alexamacbett avatar Jan 04 '23 00:01 alexamacbett

Edited in light of discovery that BUTTON_5 does in fact work normally and this problem applies only to BUTTON_4

alexamacbett avatar Jan 04 '23 14:01 alexamacbett

There is nothing special about these keys from malilib's viewpoint, they should be working just as any other key. And they seem to be working correctly when I tested it just now.

But I have seen issues in the past, (maybe only in 1.12.2 and below?) where sneaking and pressing MOUSE_4 would get MOUSE_5 activated and stuck on.

maruohon avatar Jan 07 '23 16:01 maruohon