Rebind Narrator

Rebind Narrator

10M Downloads

Ability to rebind ctrl part of narrator keybind

muzikbike opened this issue · 3 comments

commented

Currently, the only part of the narrator keybind that can be configured is the b at the end. This is fine for people who want the narrator out of the way, but forbids assigning it to a single key without ctrl.
2022-06-24_07 55 59

RandomPatches (still stuck in 1.16.5) allows for the key to either be bound to a single key or a ctrl combo:
2022-06-24_08 39 58

I'm not sure if making key combos bindable alongside single key presses would bloat the mod or go outwith its scope (especially if any control can be made into a combo rather than just the narrator key), but it's something I'd like to see nonetheless if it can be done, as there seems to be no sign of a new RandomPatches update.

commented

Right, yeah, I was hoping someone wouldn't notice 😅 I agree that this would be a nice feature to add

The main problem is that ctrl/shift/alt keybinds are part of Forge, not vanilla minecraft, so as a Fabric mod I can't do that. There are projects such as AMECS that attempt to bring the scheme to Fabric, but ideally I don't want to require such a large and fundamental (and kinda-incompatible-with-stuff, apparently?) dependency for this 2kb mod.

It would be nice to gracefully support AMECS, and then make a note on the curseforge page that you can add amecs for fancier keybinds. It sounds like "make the key default to (amecs CTRL) + B and also patch out the vanilla check for the ctrl key, if amecs is present" would work.

commented

Oh, well, would you look at that, right from randompatches buildscript

dependencies {
	modImplementation "de.siphalor:amecsapi-1.16:1.1.1+mc1.16-rc1"

Apparently randompatches also uses AMECS 🤷 I didn't know there was a fabric version of randompatches at all

commented

Fiiinally got around to this mod. Ok, I made a separate implementation that takes AMECS' concepts of key modifiers into account. It determines which one to use at startup, if AMECS is loaded it will use the amecs one, else it will fall back on an impl for NMUK (amecs dep that allows you to set multiple keybindings for the same thing, needed special casing on my end too) and if that's missing too it will use the regular vanilla one.

Dunno why I didn't think to do that