How to read the key value of the keyboard

If possible, add screenshots and/or videos about the current state.
I want to ask if there is a function of reading the keyboard key value in lvgl and I want to use the keys on the keyboard to close and open the keyboard