Is there an option to turn off haptic feedback?

How do I turn off the vibration when pressing buttons?