AccentButtonCallback typedef

AccentButtonCallback = void Function(double intensity)

A callback function type definition for accent button actions.

This callback is triggered when an accent button is pressed, providing the intensity of the press as a double value.

The intensity parameter represents the force or pressure of the button press.

Implementation

typedef AccentButtonCallback = void Function(double intensity);