Locking analog to verticle

GPC2 script programming for Titan Two. Code examples, questions, requests.

Locking analog to verticle

Postby dante.avi » Wed Sep 09, 2020 5:20 pm

How would I make it so the inputs to my right analog stick are only registered as verticle movements? I only want my right analog stick to move up and down in a straight line.
User avatar
dante.avi
Private
Private
 
Posts: 1
Joined: Wed Sep 09, 2020 5:18 pm

Re: Locking analog to verticle

Postby Scachi » Wed Sep 09, 2020 5:37 pm

Code: Select all
 
main {
 set_val(STICK_1_X,0);
}
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany


Return to GPC2 Script Programming

Who is online

Users browsing this forum: fox5, midg3t2 and 71 guests