The software part is well documented, I'm not sure if it is Free or free however. you want to read about "bluetooth human interface device" or "bluetooth hid", see also usb hid
there are a lot of bt radios out there that provide the bluetooth spp profile... they are 'black boxes', a microcontroller and a radio sealed together on a micro sized pcb. you need one that supports the hid profile, and possibly others too. check with broadcomm and mitsumi to see what they offer in terms of single chip solutions.
**broken link removed**