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

Variable intensity of haptic feedback #3260

Open
1 task done
zortrop opened this issue Feb 26, 2023 · 1 comment · May be fixed by #3408
Open
1 task done

Variable intensity of haptic feedback #3260

zortrop opened this issue Feb 26, 2023 · 1 comment · May be fixed by #3408
Labels
enhancement ✨ New feature or request

Comments

@zortrop
Copy link

zortrop commented Feb 26, 2023

Is there an existing issue for this feature request?

  • I have searched the existing issues

Is your feature request related to a problem?

I posted this to OpenTX some time ago, it didn’t get much attention: opentx/opentx#8573

It would be great to have the intensity of the radio’s vibration motor (haptic feedback) variable, and addressable via Lua.

Right now the haptic feedback is hard coded with a #define to be the maximum.

I tried this by changing playHaptic function to accept an “intensity” argument and it worked well. With a Lua script, it can be mapped to telemetry data for Accelerometer, or as alternative to vario tones.

Describe the solution you'd like

Change playHaptic function to accept an “intensity” argument, or add an additional function…

Describe alternatives you've considered

No response

Additional context

No response

@zortrop zortrop added the enhancement ✨ New feature or request label Feb 26, 2023
@zortrop
Copy link
Author

zortrop commented Apr 10, 2023

See #3408 for how I implemented this...

@pfeerick pfeerick linked a pull request Nov 13, 2023 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

1 participant