I have issue with mapping keyboard mouse
2 posts
• Page 1 of 1
I have issue with mapping keyboard mouse
Everything is working fine but I cannot change the setup in-game so it might be on Gtuner. I have Square mapped to key 4 and circle mapped to key 6. Both these actions in-game requires me 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 the right analog stick.
Is this possible with a script?
Thanks in advance.
Is this possible with a script?
Thanks in advance.
-
Kasey00 - Private
- Posts: 1
- Joined: Thu Jun 04, 2020 7:18 am
Re: I have issue with mapping keyboard mouse
Kasey00 wrote: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 the right analog stick.
- Code: Select all
main {
if(get_val(PS4_SQUARE) || get_val(PS4_CIRCLE)) {
set_val(PS4_LX, get_val(PS4_RX));
set_val(PS4_LY, get_val(PS4_RY));
}
}
-
DontAtMe - Captain
- Posts: 502
- Joined: Tue Oct 02, 2018 4:49 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 89 guests