Hi, can I achieve the following in Rewasd?
When I do a button combination ie: hold L1 and press cross, a function gets toggle on. ie: Turbo L1
When I do the same combination, the function is toggled off.
That was the code using a previous solution I had :
Thanks
When I do a button combination ie: hold L1 and press cross, a function gets toggle on. ie: Turbo L1
When I do the same combination, the function is toggled off.
That was the code using a previous solution I had :
Code:
int autoRoll = 0; if(event_press(PS4_CROSS)) { if(get_val(PS4_L1)) { autoRoll = !autoRoll; //the value change (1 or 0) } } if(autoRoll == 1) //evaluated every 100ms or so { if(get_val(PS4_L1)) { combo_run(RapidFireL1); } } combo RapidFireL1 { set_val(PS4_L1, 100); wait(40); set_val(PS4_L1, 0); wait(40); }
Comment