Install the ESP32-keyboard library (see the installation tab on the GitHub ) it is not yet in the library manager.Install the ESP32 boards (using the board manager), see instructions here.Install Arduino (probably already done ) ).
People like T-vK and chegewara have made it easier than ever to make the ESP talk like a Bluetooth keyboard by creating a library for the Arduino software that makes it possible with just a few lines to send keystrokes to any device (that supports BLE) Now that the ESP32 chip arrived it is easier to create BLE experiences than ever making the ESP32 chip talk like a keyboard is a great way to have everything at one chip, which reduces space, cost and increases possibilities.