Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action option to change the delay before the next action #476

Closed
9 tasks done
sds100 opened this issue Oct 4, 2020 · 1 comment
Closed
9 tasks done

Action option to change the delay before the next action #476

sds100 opened this issue Oct 4, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sds100
Copy link
Collaborator

sds100 commented Oct 4, 2020

  • add ability to change order of actions
  • only show the option if there are more than one action in the list
  • call the option "delay before next action"
  • respect this option when repeating and only start repeating after the first round of actions have been performed

algorithm

  • make a sparse array of Jobs because each keymap can only execute its group of actions once at a time
  • perform the actions concurrently. cancel and start a new Job when the trigger is pressed again.
  • when resetting the keymap detection delegate, cancel all jobs
  • check that every time the performAction function is called, the actions are performed as a coroutine job.
  • add the array for sequence triggers as well
@sds100 sds100 added the enhancement New feature or request label Oct 4, 2020
@sds100 sds100 self-assigned this Oct 4, 2020
@sds100 sds100 changed the title Action option to change the delay after it is performed Action option to change the delay before the next action Oct 28, 2020
sds100 added a commit that referenced this issue Oct 28, 2020
sds100 added a commit that referenced this issue Oct 28, 2020
@sds100
Copy link
Collaborator Author

sds100 commented Nov 5, 2020

implemented

@sds100 sds100 closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant