Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse Button 1
08-20-2016, 03:31 PM
Post: #1
Mouse Button 1
Hey everyone!
I want to ask something. Can I set my Mouse Button 1 (a.k.a. Left Click) to anything(particularry for X)? I Really want to attack with MB1 in Godfather.

Thanks,and have a nice day!
Find all posts by this user
Quote this message in a reply
08-20-2016, 06:22 PM (This post was last modified: 08-20-2016 08:46 PM by ZeroX4.)
Post: #2
RE: Mouse Button 1
what u need is here
https://autohotkey.com (installer)
http://portableapps.com/node/39299 (portable version which i recommend)

ok now when u have it run autohotkey NOT autohotkeytoexe

green icon will show at tray area (icons next to clock by default in lower right corrner)

right click it and choose edit script

delete all u see there and paste this

lbutton::
ifwinactive PPSSPP
{
send {a down}
send {lbutton down}
keywait lbutton
send {a up}
send {lbutton up}
return
}
else
{
send {lbutton down}
keywait lbutton
send {lbutton up}
}
return



now save it or press ctrl+s
and close that text window
right click on that green autohotkey icon in lower right corner
choose reload this script

-----------------------
explanation of all lines & functions

lbutton:: = left mouse button will trigger action
ifwinactive PPSSPP = script will work only if ppsspp is active window (active window is the one to which you input s#!t)
{} = between this symbols are actions/arguments/whatever
if = well if this then do this
else = if this not then do that
send = what will be used/sent
keywait = holding down that key until next action
{up/down} = down it means u pressing it and holding down up mean u are releasing it (in other words it will make it work like normal - if you dont do up and down actions for pc it would be like even if you are holding left mouse button down then it would only click once and press "a" once and release it immediately )
return = finish action

lbutton::
ifwinactive PPSSPP
{
send {a down}
send {lbutton down}
keywait lbutton
send {a up}
send {lbutton up}
return
}
else
{
send {lbutton down}
keywait lbutton
send {lbutton up}
}
return




------------------------------

from now on each time u click with left mouse button it also presses a
test it on something and when ur done just right click autohotkey icon in lower right corner and choose suspend hotkeys
this will revert to normal left mouse button behavior
but also the a+left click will work only when ppsspp is active (so clicking or alt+TABing to any other thing/window will make mouse left button work normally)

so this line in code

send {a}

is the key you press with left mouse click so you can change it to anything
send {z}
send {x}
send {c}
send {s}

whatever u want

for example in ppsspp square is binded to "a" key
and IF you attack in game with "a" than ur done and ready to play

if not just choose corresponding key to ur attack and its ready

or u can just set it to for example

send {k}

and just add in ppsspp control mapping "k" to button which attack in game

good luck

------------------------------------------------------------
original message below u dont need to read it


there is ton of tutorials as i seen i dont know how it works and i dont have any idea how to configure it so everything now is matter of how much u want to use LMB to attack


when you for example assign to LMB Z key then keep in mind for pc you will press Z each time you left click anything after you run a script/exe (cause you can convert scripts to stand alone exe file)
than you would need to add that Z key in ppsspp as attack button so lets for example assume if you attack with square you would need add Z to square in control mapping in ppsspp
good option would be to have 2nd mouse and assign to that mouse or use that mouse as normal mouse while keyboard key is binded
or maybe there is option that will active combo key only when for example capslook is enabled or scroll look
good luck

Try AntiMicro graphical program used to map keyboard keys and mouse controls to a gamepad/controller.
http://forums.ppsspp.org/showthread.php?tid=12513
or http://www.x360ce.com
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: