Mapping keyboard Mouse issue
2 posts
• Page 1 of 1
Mapping keyboard Mouse issue
PS4 to Mouse & Keyboard setup
I got everything working fine apart from one thing and I cannot change the setup in game so it got to be on Gtuner.
I have Square mapped to key 4 and circle mapped to key 6. Both these actions in game require you to hold the button in and select an option with left analog stick. So basically what I need is when I press and hold 4 or 6 it switches mouse movement from right analog stick to left analog stick when I release key it automatically goes back to right analog stick.
I hope that makes sense, is this possible with a script?
I got everything working fine apart from one thing and I cannot change the setup in game so it got to be on Gtuner.
I have Square mapped to key 4 and circle mapped to key 6. Both these actions in game require you to hold the button in and select an option with left analog stick. So basically what I need is when I press and hold 4 or 6 it switches mouse movement from right analog stick to left analog stick when I release key it automatically goes back to right analog stick.
I hope that makes sense, is this possible with a script?
-
Rogueraven - Private
- Posts: 1
- Joined: Sat Jul 15, 2017 1:37 pm
Re: Mapping keyboard Mouse issue
Welcome to our community.
this small script should do what you need:
Rogueraven wrote:So basically what I need is when I press and hold 4 or 6 it switches mouse movement from right analog stick to left analog stick when I release key it automatically goes back to right analog stick.
this small script should do what you need:
- Code: Select all
main {
if(get_val(PS4_SQUARE) || get_val(PS4_CIRCLE)) {
swap(PS4_RX, PS4_LX);
swap(PS4_RY, PS4_LY);
}
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
2 posts
• Page 1 of 1
Return to Gtuner Plugins Support
Who is online
Users browsing this forum: No registered users and 79 guests