Problem is that XButton2 doesn't work in game, I can't assign controls in mod GUIs or vanilla controls to use XButton2. Is there a fix to this? Code below (sorry if this is a really simple fix I started using autohotkey a few days ago and don't have any other coding knowledge)
Code: Select all
#IfWinActive Minecraft* 1.16.5
XButton2 & 1::
send, /
sleep 25
send, home
send, {enter}
Return
XButton2 & 2::
send, /
sleep 25
send, back
send, {enter}
Return