If anyone uses Autohotkey to help 'fix' the game controls, here is my script, feel free to use/modify it as you need for your own tastes. All you need to do is copy the following text into notepad, name it whatever you like, with the file extension .AHK, so that double clicking the file will launch Autohotkey and load up this script. Note, this script also launches Minecraft if its not running already.... you might not like this and wish to disable. The Semi-colon key (;) is used to comment out lines.
EDIT: the forum stripped out all the indents, tabs, spaces, etc, that made this script file easy to read
sorry about that
;
; Minecraft
; Author: Desi Quintans <
@>
; Website: http://www.desiquintans.com
;
; (NOTE.... this script has been heavily modified from the original for CF|UK members by Minecraftblock0)
;
; (you can disable functions by using the ; key (semicolon) in front of a function, this will
; cause the script to ignore everything the ; that is on the same line
;
;
;
;
#SingleInstance force
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
SetTitleMatchMode, 3
;
;
;
;
;
IfWinExist, Minecraft ;this command checks for a running instance of Minecraft,
WinActivate ;and brings it to the top if so, if not, it launches the
; ;shortcut just below (you must edit the path to your
; ;minecraft.exe file in order for this to work)
else
Run C:\Games\Minecraft_newlauncher\Minecraft.exe ;<------ note, edit this path!!
return
;
;
;
;
;
;
#IfWinActive, Minecraft ;this simply checks if Minecraft is the active window, if
;not, then it will halt the script temporarily
{
XButton1::LButton ; Remaps button 4 to left-click
; The following autopilot code was borrowed from jaceguay at
;http://www.autohotkey.com/forum/topic59506.html
;
;
F1::Send % "{LButton " ((Cnt := !Cnt) ? "Down}" : "Up}" )
;
;
; w::Send % "{e " ((Cnt2 := !Cnt2) ? "Down}" : "Up}" ) ;auto-walk key, change to key of
;change the W to whatever unused
;key you like, and the E key to
;the key you use to walk forward
; NOTE< THIS IS DISABLED atm, if
;you want to use it, remove the ';'
;
;
;
`::Send t/sethome ;note, this will type out /sethome in Minecraft chat,
;but will not hit 'enter' for you (in case you hit the key
;by accident)
;
;
PgDn::Send t/home{Enter} ;teleports you Home with a single button press
;note, the key 'PgDn' can be substituted with any other
;key on the keyboard or mouse if you like. Currently
;it is an unsed key in Minecraft, so I use the Page Down
;key (laptops might not even have this key)
return
;
;
PgUp::Send {LButton 16} ;presses the left mouse button 16 times rapidly, to help
;speed up crafting (put mouse over crafting results box)
;note, the key 'PgDn' can be substituted with any other
;key on the keyboard or mouse if you like, currently
;its an unsed key in Minecraft, so I use the Page Up
;key (laptops might not even have this key)
return
;
;
]::Send [private]{Enter} ;speeds up using the lockette plugin to lock a chest
;note, the key ']' can be substituted with any other
;key on the keyboard or mouse if you like, currently
;its an unsed key in Minecraft, so I use the ']' key
return
;
;
pause::Suspend ;pauses the key (system tray icon changes to an "S")
;note, the 'Pause' key can be substituted with any other
;key on the keyboard or mouse if you like, currently its
;an unsed key in Minecraft, as well as being the most
;obvious to suspend the running script (so you can text
;chat easier)
return
}