Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Need help to configure controls! ( using mouse )
04-22-2017, 10:37 PM (This post was last modified: 04-26-2017 03:35 PM by vnctdj.)
Post: #1
[Solved] Need help to configure controls! ( using mouse )
Hello, I'm new here, this emulator is incredible and I'm really thankfull to the creators. It works smoothly, really impressive.

So I've tried to configure my controls, without much succes. I would like to use qzsd ( azerty keyboard ) for the analog stick, and my mouse for the d-pad. Using my mouse extra button ( m3 ) to activate it for example ( I've heard that the sensivity would make it move all the time otherwise ) and then move to left/right, scroll up/down for up and down key.
Also I'd like to put the triangle and circle keys on my M1 and M2 ( right and left clicks ). And If there are issues with the mouse not showing up or something, maybe use the middle button to turn it off/on?

Just my thoughts inspired by how I play Monster Hunter Frontier on pc, a PC version of the Monster Hunter series that is well know on PSP. I wanted to play with a similar feel to mh3rd, which seemed quite fonctionnal to me.

I made some research about the suggest, but nothing would match my needs properly, and I was sort of confused in all that mess. So I think making a thread myself would make more sense.

I hope someone can help me, have a nice day !Big Grin
Find all posts by this user
Quote this message in a reply
04-23-2017, 10:06 PM
Post: #2
RE: Need help to configure controls! ( using mouse )
https://autohotkey.com

u wont get any close to what u want to archive without AHK
tons of tutorials and things you want already exist just google search how to switch mouse buttons with keyboard keys

but most important option for you is IFWIN

if you eager enough to have it working as you want you will do research if not then i dont see reason why i should search for scripts and explain it even more

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
04-24-2017, 12:29 AM
Post: #3
RE: Need help to configure controls! ( using mouse )
Thanks, I'll try to manage something SmileSmile
Find all posts by this user
Quote this message in a reply
04-24-2017, 11:21 PM
Post: #4
RE: Need help to configure controls! ( using mouse )
It was hard, but I think I got it!

Here are my scripts, I made two of them because one has to be toggled on/off:


CoordMode, Mouse, Screen

XButton1::
{
mousegetpos, start_x
while getkeystate("XButton1", "p")
{
mousegetpos, current_x
if (current_x > start_x + 10)
{
if (press = "")
{
press := "Right"
sendinput, {Right down}
}
else if (press = "Left")
{
press := "Right"
sendinput, {Left up}
sendinput, {Right down}
}
}
else if (current_x < start_x - 10)
{
if (press = "")
{
press := "Left"
sendinput, {Left down}
}
else if (press = "Right")
{
press := "Left"
sendinput, {Right up}
sendinput, {Left down}
}
}
else if (current_x < start_x + 10) and (current_x > start_x - 10)
{
if (press = "Right")
{
sendinput, {Right up}
}
else if (press = "Left")
{
sendinput, {Left up}
}
press := ""
}
}
}
return


WheelUp::
Send {Up}
return

WheelDown::
Send {Down}
return

end::exitapp

It allows me to press arrow left or right when I hold my 3rd mouse button and move my mouse lateraly. And it when I scroll up or down it uses the up/down arrow keys.

Rbutton::o

Lbutton::i

MButton::Suspend, Toggle

Esc::ExitApp

This one is pretty self-explainatory, my left mouse click is remapped to the "i" key, and the right click to the "o" key. In my controls settings I'll bind them to triangle and circle. I can toggle this on/off by pressing my mouse's middle button and if there is an issue, pressing "Esc" will disable the script.

I'll be testing that in-game now, will tell you guys if it goes well.
Find all posts by this user
Quote this message in a reply
04-25-2017, 12:22 AM
Post: #5
RE: Need help to configure controls! ( using mouse )
Just finished my first quest!

Everything works well except the scrolling for some reason. I now have my down/up arrow key bound on th "d" and "f" key, it's still fine.

The sensivity with the mouse is a little tricky, but it still performs properly.
Find all posts by this user
Quote this message in a reply
04-25-2017, 07:02 AM
Post: #6
RE: Need help to configure controls! ( using mouse )
im very glad you did manage good work

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
04-26-2017, 03:35 PM
Post: #7
RE: [Solved] Need help to configure controls! ( using mouse )
Thread's title updated Smile

♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing
♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing
♦ PSP-3004 | 6.60 PRO-C2
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: