Hex Casting

Hex Casting

6M Downloads

Accessibility request: alternative to scroll wheel for changing the selection of a spell book, abacus, etc.

Twisted-Code opened this issue ยท 6 comments

commented

as I explained on discord, scroll wheel controls can be difficult for people with disabilities such as my own. In my case, I have a spinal cord injury, and both standard gaming mice and physical keyboards are... difficult... for me to interface with. I have a trackball mouse, and use virtual alternatives for keyboard functions (for instance, Dragon NaturallySpeaking for typing, and Windows's On-Screen Keyboard, \system32\osk.execomment for controlling Steve). Neither of these options provide a physical or virtual scroll wheel, so I would have to further work around it in something like AutoHotkey (to rebind the -/= keys, for example, to the mouse wheel as a virtual hotkey) or pull in another input source (but I would still have to use AutoHotkey to forward the joystick control I have).

In any case, could you please make it possible to rebind the mouse wheel controls to something else? I have a few possible controls in mind (mentioned in the parentheses above) that I would like to use, but I presume, given I don't see it in the Keybinds menu, that the current mouse wheel control is hardcoded so I can't use either of them.

commented

come to think of it, does the keybinds menu even support mouse wheel controls? I've noticed a similar tendency with other mods that use the mouse wheel for some function or other. If you can't CHANGE the current control, a second control (leaving the existing control in place so you don't confuse people) to trigger the same function would work for me just the same.

commented

I tried working around the issue with AutoHotkey, but it seems Minecraft 1.18 doesn't even work correctly with mouse wheel re-binds for some reason (mind you I'm still investigating this, but it's not looking promising). I would REALLY, REALLY appreciate a workaround from your side of the fence (ideally targeting Minecraft 1.18/forge 40.1.84; I'm unable to update the forge version for this instance). Currently I can't use abacuses at all, since even if I could somehow emulate the scroll wheel with a voice command, I would also have to be holding shift (Dragon commands don't work when I'm holding shift, it gets treated as dictation and typed instead).

commented

Still haven't figured out a satisfactory workaround. Please look into this!

commented

This got implemented in hexgloop. may be worth it to PR into main hex at some point though.

commented

I second the idea of pulling that enhancement into the base mod. I love gloop, but it's not very modular and even if Sam made it modular, this is a small enough change with a big enough impact that it could easily be the only thing someone would want the mod for. Maybe they can only use Gloop client side, run into an issue where the pattern display mixin causes issues, but they still want the accessibility.

commented

Yeah thanks again for that by the way, Sam.