I was using this library at the time.

https://github.com/T-vK/ESP32-BLE-Keyboard

Do you know of any other that can act as Bluetooth classic keyboard?

Edit: this could be fruitful

https://community.platformio.org/t/using-esp32-as-a-bluetoot...