Keyboard.printf, printf
See Keyboard.write() and Serial.printf() documentation.
Keyboard.write()
Serial.printf()