Scroll Wheel Keybinds banner

Scroll Wheel Keybinds

1 devlog
3h 44m 9s

A Minecraft MOD that lets you bind stuff to the scroll wheel

Demo Repository

Loading README...

Lukas

Shipped this project!

Hours: 3.71
Cookies: 🍪 62
Multiplier: 16.67 cookies/hr

I made a mod that lets you bind the scroll wheel as any keyboard!!

Lukas

Scroll Bindings


So I had this idea to make keybinds for the scroll wheel as I have set in other games so I decided to make my own MOD for that!

Setup

I started with setting up IntelliJ IDEA which i ended up not using as i discovered its not a very great IDE and just used VSCode.

Then I made the default Fabric project and started from there. I read some docs from Fabric and Kotlin and saw a few videos and then started actually working on the MOD.

Development

I first worked on the system to detect the scroll wheel as a bindable key and it was pretty hard but with a little help from amp I got everything working well then after that it was the part where Minecraft actually makes the scroll wheel work as a keybind and this part was fun but really hard but after lots of struggles i got it working!

And at this point i could already try the MOD and it was working pretty well just like i wanted it.

Additional Features

But there were still a few things i wanted to add and that was a toggle mode in the mouse settings to toggle between keybinds mode, normal, or off:

  • keybinds mode
  • normal
  • off

and this was a bit easier than making the other part of the mod as i could copy a few things from the other settings and at this point the toggle was already working but it did not save the option that you chose but that was a easy addition to add a json config file to remember the state.

Finishing Up

After i had the mod complete i worked on the artwork for the icon and I made a scroll wheel in Figma and it got pretty good i like it!

Then I wrote the README and made a GitHub release! And also uploaded to Modrinth and its live!!


Attachment
Attachment
3

Comments

18208
18208 30 days ago

wdym intellij idea isnt very good?

Lukas
Lukas 29 days ago

Its not great for my workflow

Afonso
Afonso 29 days ago

this is so cool! congrats!