scripting question
Posted: Fri May 17, 2019 7:06 pm
is it possible to run this code only on the controller connected to input A on the titan two?
- Code: Select all
#include <ps4.gph>
main {
if (get_val(PS4_LY) >= 10.0) {
set_val(PS4_LY, 0);
set_val(PS4_CROSS, 100);
}
if (get_val(PS4_LY) <= -10.0) {
set_val(PS4_LY, 0);
set_val(PS4_R3, 100);
}
}