How to make a custom button provide haptic feedback

I've got a custom round button that is derived from Ubuntu.Components.AbstractButton. Looking at the documentation, it states that:

All components deriving from this class support haptic feedback out of the box.

However, my button does not provide haptic feedback when pressed. How exactly can it be enabled for custom buttons?

1 Answer

Abstract Buttons do indeed come with haptic feedback out of the box and does not require any special properties to enable it. It sounds like you are experiencing a bug. Perhaps if you can add the code of your custom round button, one can confirm and check if it works on our end or not.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like