HexMod icon indicating copy to clipboard operation
HexMod copied to clipboard

[BUG] Abacus shift-scrolling doesn't work when sneak is bound to left control

Open object-Object opened this issue 2 years ago • 10 comments

Basically what the title says. Because "shift" scrolling uses the sneak keybind but "ctrl" scrolling is hardcoded to ctrl instead of using the run keybind, you can't set the abacus in increments of 1 or 0.1 if you set your sneak key to ctrl.

object-Object avatar Jul 21 '22 23:07 object-Object

I don't think this is a keybind problem - the "holding ctrl" thing is just checking if the modifier key is being pressed. Which means command on mac, and ctrl on windows. So you can't rebind that, not really...

yrsegal avatar Jul 24 '22 23:07 yrsegal

Which is why it should probably be the crouch and sneak keys Since some people (like me) bind spring to shift and crouch to control

walksanatora avatar Jul 25 '22 00:07 walksanatora

that's up to petra to decide then, not me

yrsegal avatar Jul 25 '22 00:07 yrsegal

What do you mean by the "crouch and sneak keys?" Those are the same key.

... The irritating thing is that there's not any easy fix to this, because if I add a remappable keybind for the "ctrl" behavior, then it will conflict with anyone else trying to use that key, including vanilla's sprint keybind.

I suppose a solution is to have some config option to remap it to a hard-coded different key, like alt. To be honest, that might be the best solution even though it sucks. But I'd like your feedback on what to do.

gamma-delta avatar Jul 27 '22 04:07 gamma-delta

sorry i meant that people (like me) like to swap the crouch and sprint (wrong s word) so i think a better option would be to detect if holding the sprint key instead of checking ctrl specifically (which is the default value for the sprint key)

walksanatora avatar Jul 31 '22 04:07 walksanatora

I am also encountering this issue from having sneak bound to Ctrl and sprint bound to Shift. It would be nice if the mod added a keybinding for the modifier to give players more configurability.

ChloeDawn avatar Aug 05 '22 20:08 ChloeDawn

Responding to this as a hope to remind people of it since it's been here awhile! I find this quite annoying as a ctrl-sneak user.

Isn't there way to make it a remappable keybind for ctrl without having it conflict with anything? I've been making modpacks for awhile and have had many scenarios in which multiple actions were bound to one keybind and they would just all happen at once. Though, I have also had scenarios in which none of the things would happen... I had assumed there was just a way to specify the behavior of how it works.

Though, allowing the user to remap the bind themselves would be very very preferable. Every user can get used to their own bind themselves. I'd say alt is the best default if you can't make it overlap with ctrl.

juicebin avatar Dec 04 '22 22:12 juicebin

As another shift for spring ctrl for sneak, I agree that's an issue.

If making an actual keybind is an issue, then yeah a line in the client config to switch it would be good enough imo. Could probably hardcode it to 3 values so users can choose between ctrl, shift, and alt, something like that.

Lykrast avatar Apr 18 '23 06:04 Lykrast

This is a problem for me as well. Please make make the default behaviour use the sprint key instead of the control modifier. It wouldn't change anything for shift-sneak users as ctrl is sprint by default, and would allow easy customisation for anyone else.

lv00-player avatar Jun 25 '23 09:06 lv00-player

If this isn't implemented yet, we should fix it for the 1.20.1 release.

object-Object avatar Jan 11 '24 03:01 object-Object