If you want to type characters, hack into the keyboard and keep the electronics intact.
They are usually using a 8x8 matrix of keys. Using two 4051 analog multiplexers you can switch all the keys using 8 I/O pins on the Arduino - quite simple. I've done this a number of times.
// Per.