Skip to content

Variable intensity of haptic feedback #3260

@zortrop

Description

@zortrop

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions