Vibration Action
Developer TODO (don't remove)
- [ ] create new branch. put issue number at start of name
- [ ] update documentation
- [ ] add button to demo vibration (show button to cancel in case the user inputs a stupid value).
- [ ] sliders for length and intensity.
- [ ] squash and merge
- [ ] delete branch
The action would vibrate the device. You would he able to customize strength of vibration, and duration (in milliseconds). It might also be nice to have a pattern picker, or a custon pattern creator using either an easy UI, or a json config file, for example
(vibrate(0(0-0));(1(100-100));(0(0-0)))
Just for a simple 100ms 100% strength buzz Of course im sure the actual syntax isnt like this, but thats my closest guess.
It would also be nice to have a toggle for "demo vibration" next to the one for forcing all keymaps to vibrate, and i think applying the same rules for the action to the force vibrate toggle would be good too. When the "demo vibration" toggle is on, it will wait two seconds after a vibration value has been edited, and then play the same values back.