In iOS 16, Apple expanded the virtual keyboard capabilities of its devices. The developer added to the system
Previously, this function was also in demand, but itsprovided exclusively third-party keyboards, and the default one made only the sound of clicks when typing. Now you can enable haptic feedback in the settings.
To do this, go to "Settings", select "Sounds and tactile effects", then "Keyboard tactile effects".