LS/RS sensitivity
2 posts
• Page 1 of 1
LS/RS sensitivity
My laptop was stolen on campus and along w/ it all my T2 scripts/coding. J2K helped me originally but can someone help me w/ the LS/RS sensitivity coding?
What i had was: when i press down a paddle (P1 lets say), i could change the sensitivity of the LS based on a pre-defined value. I remember it used a "clamp" feature but definitely need help.
thanks in advance
What i had was: when i press down a paddle (P1 lets say), i could change the sensitivity of the LS based on a pre-defined value. I remember it used a "clamp" feature but definitely need help.
thanks in advance
-
riribibi - Command Sergeant Major
- Posts: 134
- Joined: Fri Oct 31, 2014 12:33 pm
Re: LS/RS sensitivity
Sorry to hear that. Here you go:
- Code: Select all
#define SENS 1.5
main {
if(is_active(PADDLE_1)) {
set_val(STICK_2_X, clamp(get_actual(STICK_2_X) * SENS, -100f, 100f));
set_val(STICK_2_Y, clamp(get_actual(STICK_2_Y) * SENS, -100f, 100f));
}
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 66 guests