multiple assignment - scripting help
Posted: Mon Apr 19, 2021 12:49 pm
hey scripters!
I just got the titan one and was setting it up for my switch.
I wanted to set up buttons to use the analog stick, so it looked like this
remap XB360_A -> SWITCH_LY;
remap XB360_B -> SWITCH_LX;
remap XB360_Y -> SWITCH_LX;
remap XB360_X -> SWITCH_LY;
and to get the other direction I got this
set_val(XB360_A, inv(get_val(XB360_A)));
set_val(XB360_B, inv(get_val(XB360_B)));
but unfortunately I can just map 1 button to 1 axis.. so its whether AB or XY.
Any ideas?
I just got the titan one and was setting it up for my switch.
I wanted to set up buttons to use the analog stick, so it looked like this
remap XB360_A -> SWITCH_LY;
remap XB360_B -> SWITCH_LX;
remap XB360_Y -> SWITCH_LX;
remap XB360_X -> SWITCH_LY;
and to get the other direction I got this
set_val(XB360_A, inv(get_val(XB360_A)));
set_val(XB360_B, inv(get_val(XB360_B)));
but unfortunately I can just map 1 button to 1 axis.. so its whether AB or XY.
Any ideas?