If i press the dot key "." i want my "Space" bar to work as "c", my "left mouse button" to to work as "x" and my "right mouse button" to to work as "z". Only when i press dot again "." the 3 keys will start to behave normally, by normally i mean space will work as space, lmb will work as lmb and rmb will work as rmb.
This is as far as i got with coding that and i know my syntax is totally wrong:
Code: Select all
varx:=true
.::
if (varx)
{
Space:=c
LButton:=x
RButton:=:z
varx:=false
}
else
{
Space:=Space
LButton:=LButton
RButton:=RButton
varx:=true
}
return
Thanks in advance for the help