Help with double tap
Posted: Sun Oct 13, 2019 8:43 am
Hi
Love this community!
I would like some assistance with a script.
I have a xbox elite controller and use the paddles for scripts. There are a total of 4 paddles wich means 4 combo scripts atm. I would like the expand this to 8 with double tap function.
This is how it looks today.
And this is how i imagine the function but have no idea what functions/commands to use.
Love this community!
I would like some assistance with a script.
I have a xbox elite controller and use the paddles for scripts. There are a total of 4 paddles wich means 4 combo scripts atm. I would like the expand this to 8 with double tap function.
This is how it looks today.
- Code: Select all
main {
if (event_active(BUTTON_20)) combo_run(combo1); //left top
if (event_active(BUTTON_19)) combo_run(combo2); //right bottom
if (event_active(BUTTON_18)) combo_run(combo3); //right top
if (event_active(BUTTON_21)) combo_run(combo4); //left bottom
And this is how i imagine the function but have no idea what functions/commands to use.
- Code: Select all
main {
if (event_active(BUTTON_20)) combo_run(combo1); //left top single tap
if (event_active(BUTTON_20)) combo_run(combo5); //left top double tap
if (event_active(BUTTON_19)) combo_run(combo2); //right bottom single tap
if (event_active(BUTTON_20)) combo_run(combo6); //left top double tap
if (event_active(BUTTON_18)) combo_run(combo3); //right top single tap
if (event_active(BUTTON_20)) combo_run(combo7); //left top double tap
if (event_active(BUTTON_21)) combo_run(combo4); //left bottom single tap
if (event_active(BUTTON_20)) combo_run(combo8); //left top double tap