EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.62k stars 340 forks source link

Haptic patterns #2118

Open Eldenroot opened 2 years ago

Eldenroot commented 2 years ago

Is there an existing issue for this feature request?

Is your feature request related to a problem?

Would be nice to add a custom haptic patterns and use them as a new way for warning a user.

For example - in a special/global function menu, in telemetry, global warning etc.

Describe the solution you'd like

Add a new settings for this, maybe a possibility to a generate any files which contain a pattern for haptic vibration.

Describe alternatives you've considered

No response

Additional context

No response

tekikai commented 2 years ago

You could always write your own haptic patterns in LUA but I agree that a dedicated option via file or even interface would be great. I currently wrote my own very simple haptic feedback function and integrated it via a logic switch and special functions.

Eldenroot commented 1 year ago

It could be done this way:

. = short

JimB40 commented 1 year ago

". --" for EM ;)

Eldenroot commented 1 year ago

Yeah, there could be more ;) Lets gather the feedback!

pfeerick commented 1 year ago

No... EM would be ... --- ... 😆

Eldenroot commented 1 year ago

Maybe we do not need custom patterns... there would be better add lets say 5-8 preconfigured :)

DAMskill commented 4 months ago

You could always write your own haptic patterns in LUA but I agree that a dedicated option via file or even interface would be great. I currently wrote my own very simple haptic feedback function and integrated it via a logic switch and special functions.

How did you manage to do it in lua? I never programmed lua.

pfeerick commented 4 months ago

Would probably be a Function script that is using a couple of playHaptic() commands.